Skip to content

Commit 99a9de7

Browse files
committed
Merge remote-tracking branch 'upstream/master' into pretend-version2
2 parents 10c4116 + 6cc54bc commit 99a9de7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+217
-79
lines changed

.github/workflows/install-git-url.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ jobs:
2727
- ubuntu-latest
2828
- windows-latest
2929
python-version:
30-
- '3.7'
3130
- '3.8'
3231
- '3.9'
3332
- '3.10'
3433
- '3.11'
3534
- '3.12'
36-
- 'pypy-3.7'
3735
- 'pypy-3.8'
3836
- 'pypy-3.9'
3937
- 'pypy-3.10'

.github/workflows/install-zip-url.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ jobs:
2727
- ubuntu-latest
2828
- windows-latest
2929
python-version:
30-
- '3.7'
3130
- '3.8'
3231
- '3.9'
3332
- '3.10'
3433
- '3.11'
3534
- '3.12'
36-
- 'pypy-3.7'
3735
- 'pypy-3.8'
3836
- 'pypy-3.9'
3937
- 'pypy-3.10'

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,23 @@ jobs:
2323
- ubuntu-latest
2424
- windows-latest
2525
python-version:
26-
- '3.7'
2726
- '3.8'
2827
- '3.9'
2928
- '3.10'
3029
- '3.11'
3130
- '3.12'
32-
- 'pypy-3.7'
3331
- 'pypy-3.8'
3432
- 'pypy-3.9'
3533
- 'pypy-3.10'
3634
toxenv: [py]
3735
include:
38-
- python-version: '3.7'
36+
- python-version: '3.8'
3937
toxenv: lint
4038
os: ubuntu-latest
41-
- python-version: '3.7'
39+
- python-version: '3.8'
4240
toxenv: typing
4341
os: ubuntu-latest
44-
- python-version: '3.7'
42+
- python-version: '3.8'
4543
toxenv: py-oldsetup
4644
os: ubuntu-latest
4745
steps:
@@ -52,7 +50,7 @@ jobs:
5250
# Mercurial seems to be broken on PyPy, so we need to install it before
5351
# overriding the default Python.
5452
if: startsWith(matrix.os, 'macos-')
55-
run: python3 -m pip install mercurial
53+
run: brew install mercurial
5654

5755
- name: Set up Python
5856
uses: actions/setup-python@v5

.github/workflows/tools/minimum-vcs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7-buster
1+
FROM python:3.8-buster
22
RUN set -ex; \
33
cd tmp; \
44
wget http://snapshot.debian.org/archive/debian/20121102T092448Z/pool/main/g/git/git-man_1.8.0-1_all.deb; \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7-slim
1+
FROM python:3.8-slim
22
RUN set -ex; \
33
pip install --upgrade pip wheel; \
44
pip install --upgrade --upgrade-strategy=eager tox

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0
3+
rev: v4.6.0
44
hooks:
55
- id: check-added-large-files
66
- id: check-json
@@ -12,19 +12,19 @@ repos:
1212
exclude: '\.eml$'
1313

1414
- repo: https://github.com/psf/black
15-
rev: 23.1.0
15+
rev: 24.4.2
1616
hooks:
1717
- id: black
1818
exclude: ^test/data
1919

2020
- repo: https://github.com/PyCQA/isort
21-
rev: 5.12.0
21+
rev: 5.13.2
2222
hooks:
2323
- id: isort
2424
exclude: ^test/data
2525

2626
- repo: https://github.com/PyCQA/flake8
27-
rev: 6.0.0
27+
rev: 7.0.0
2828
hooks:
2929
- id: flake8
3030
additional_dependencies:

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
v3.1.2 (2024-07-20)
2+
-------------------
3+
- Drop support for Python 3.7
4+
- **Bugfix**: When using `versioningit` with Hatch, don't run the `onbuild`
5+
step for editable builds
6+
7+
v3.1.1 (2024-04-29)
8+
-------------------
9+
- Correctly mark a certain test as requiring Mercurial
10+
11+
v3.1.0 (2024-03-16)
12+
-------------------
13+
- When `git describe` fails to retrieve a tag, the resulting log/error message
14+
now includes all options passed to the command (based on contribution by
15+
[@jenshnielsen](https://github.com/jenshnielsen))
16+
- When `hg log` fails to retrieve a tag, the resulting log/error message now
17+
includes the tag pattern passed to `latesttag()`, if any
18+
119
v3.0.0 (2023-12-13)
220
-------------------
321
- Migrated from setuptools to hatch

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021-2023 John Thorvald Wodder II and contributors
3+
Copyright (c) 2021-2024 John Thorvald Wodder II and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
.. image:: https://www.repostatus.org/badges/latest/active.svg
1+
|repostatus| |ci-status| |coverage| |pyversions| |conda| |license|
2+
3+
.. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg
24
:target: https://www.repostatus.org/#active
35
:alt: Project Status: Active — The project has reached a stable, usable
46
state and is being actively developed.
57

6-
.. image:: https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
8+
.. |ci-status| image:: https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
79
:target: https://github.com/jwodder/versioningit/actions/workflows/test.yml
810
:alt: CI Status
911

10-
.. image:: https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
12+
.. |coverage| image:: https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
1113
:target: https://codecov.io/gh/jwodder/versioningit
1214

13-
.. image:: https://img.shields.io/pypi/pyversions/versioningit.svg
15+
.. |pyversions| image:: https://img.shields.io/pypi/pyversions/versioningit.svg
1416
:target: https://pypi.org/project/versioningit/
1517

16-
.. image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
18+
.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
1719
:target: https://anaconda.org/conda-forge/versioningit
1820
:alt: Conda Version
1921

20-
.. image:: https://img.shields.io/github/license/jwodder/versioningit.svg
22+
.. |license| image:: https://img.shields.io/github/license/jwodder/versioningit.svg
2123
:target: https://opensource.org/licenses/MIT
2224
:alt: MIT License
2325

@@ -71,7 +73,7 @@ extraction & calculation.
7173

7274
Installation & Setup
7375
====================
74-
``versioningit`` requires Python 3.7 or higher. Just use `pip
76+
``versioningit`` requires Python 3.8 or higher. Just use `pip
7577
<https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install
7678
``versioningit`` and its dependencies::
7779

docs/changelog.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
Changelog
44
=========
55

6+
v3.1.2 (2024-07-20)
7+
-------------------
8+
- Drop support for Python 3.7
9+
- **Bugfix**: When using `versioningit` with Hatch, don't run the `onbuild`
10+
step for editable builds
11+
12+
13+
v3.1.1 (2024-04-29)
14+
-------------------
15+
- Correctly mark a certain test as requiring Mercurial
16+
17+
18+
v3.1.0 (2024-03-16)
19+
-------------------
20+
- When :command:`git describe` fails to retrieve a tag, the resulting log/error
21+
message now includes all options passed to the command (based on contribution
22+
by `@jenshnielsen <https://github.com/jenshnielsen>`_)
23+
- When :command:`hg log` fails to retrieve a tag, the resulting log/error
24+
message now includes the tag pattern passed to ``latesttag()``, if any
25+
26+
627
v3.0.0 (2023-12-13)
728
-------------------
829
- Migrated from setuptools to hatch

0 commit comments

Comments
 (0)