Skip to content

Commit 9804691

Browse files
authored
Upgrade python patch versions and drop 3.8 (#47)
1 parent eb677fe commit 9804691

File tree

9 files changed

+14
-24
lines changed

9 files changed

+14
-24
lines changed

.cookiecutter/cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"package_name": "pip_sync_faster",
1111
"slug": "pip-sync-faster",
1212
"short_description": "A wrapper that makes pip-sync faster.",
13-
"python_versions": "3.12.4, 3.11.9, 3.10.14, 3.9.19, 3.8.19",
13+
"python_versions": "3.12.7, 3.11.10, 3.10.15, 3.9.20",
1414
"github_owner": "hypothesis",
1515
"copyright_holder": "Hypothesis",
1616
"public": "yes",

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
strategy:
5151
matrix:
52-
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
52+
python-version: ['3.12', '3.11', '3.10', '3.9']
5353
name: Unit tests with Python ${{ matrix.python-version }}
5454
steps:
5555
- uses: actions/checkout@v3
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
strategy:
8989
matrix:
90-
python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']
90+
python-version: ['3.12', '3.11', '3.10', '3.9']
9191
name: Functional tests with Python ${{ matrix.python-version }}
9292
steps:
9393
- uses: actions/checkout@v3

.python-version

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
3.12.4
2-
3.11.9
3-
3.10.14
4-
3.9.19
5-
3.8.19
1+
3.12.7
2+
3.11.10
3+
3.10.15
4+
3.9.20

Makefile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,10 @@ $(call help,make test-py39,"run the unit tests in Python 3.9")
5353
test-py39: python
5454
@pyenv exec tox -qe py39-tests
5555

56-
.PHONY: test-py38
57-
$(call help,make test-py38,"run the unit tests in Python 3.8")
58-
test-py38: python
59-
@pyenv exec tox -qe py38-tests
60-
6156
.PHONY: coverage
6257
$(call help,make coverage,"run the tests and print the coverage report")
6358
coverage: python
64-
@pyenv exec tox --parallel -qe 'tests,py{311,310,39,38}-tests,coverage'
59+
@pyenv exec tox --parallel -qe 'tests,py{311,310,39}-tests,coverage'
6560

6661
.PHONY: functests
6762
$(call help,make functests,"run the functional tests in Python 3.12")
@@ -83,16 +78,11 @@ $(call help,make functests-py39,"run the functional tests in Python 3.9")
8378
functests-py39: python
8479
@pyenv exec tox -qe py39-functests
8580

86-
.PHONY: functests-py38
87-
$(call help,make functests-py38,"run the functional tests in Python 3.8")
88-
functests-py38: python
89-
@pyenv exec tox -qe py38-functests
90-
9181
.PHONY: sure
9282
$(call help,make sure,"make sure that the formatting$(comma) linting and tests all pass")
9383
sure: python
9484
sure:
95-
@pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39,38}-tests,coverage,functests,py{311,310,39,38}-functests'
85+
@pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39}-tests,coverage,functests,py{311,310,39}-functests'
9686

9787
.PHONY: template
9888
$(call help,make template,"update from the latest cookiecutter template")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a href="https://github.com/hypothesis/pip-sync-faster/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/hypothesis/pip-sync-faster/ci.yml?branch=main"></a>
22
<a href="https://pypi.org/project/pip-sync-faster"><img src="https://img.shields.io/pypi/v/pip-sync-faster"></a>
3-
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9 | 3.8-success"></a>
3+
<a><img src="https://img.shields.io/badge/python-3.12 | 3.11 | 3.10 | 3.9-success"></a>
44
<a href="https://github.com/hypothesis/pip-sync-faster/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-BSD--2--Clause-success"></a>
55
<a href="https://github.com/hypothesis/cookiecutters/tree/main/pypackage"><img src="https://img.shields.io/badge/cookiecutter-pypackage-success"></a>
66
<a href="https://black.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/code%20style-black-000000"></a>

bin/make_python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -n "${CI+x}" ]; then exit; fi
88

99
pyenv_root=$(pyenv root)
1010

11-
for python_version in 3.12.4 3.11.9 3.10.14 3.9.19 3.8.19; do
11+
for python_version in 3.12.7 3.11.10 3.10.15 3.9.20; do
1212
bin_dir=$pyenv_root/versions/$python_version/bin
1313
if [ ! -f "$bin_dir"/tox ]; then
1414
pyenv install --skip-existing "$python_version"

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ filterwarnings = [
1414
"ignore:^pkg_resources is deprecated as an API:DeprecationWarning:pyramid",
1515
"ignore:^Deprecated call to .pkg_resources\\.declare_namespace\\('.*'\\).\\.:DeprecationWarning:pkg_resources",
1616
"ignore:^'cgi' is deprecated and slated for removal in Python 3\\.13$:DeprecationWarning:webob",
17+
"ignore:^datetime\\.datetime\\.utcnow\\(\\) is deprecated and scheduled for removal in a future version\\.:DeprecationWarning",
1718
]
1819

1920
[tool.pydocstyle]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers =
1616
package_dir =
1717
= src
1818
packages = find:
19-
python_requires = >=3.8
19+
python_requires = >=3.9
2020
install_requires =
2121
pip-tools
2222
importlib_metadata;python_version<"3.8."

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ deps =
4545
lint,template: cookiecutter
4646
typecheck: mypy
4747
depends =
48-
coverage: tests,py{311,310,39,38}-tests
48+
coverage: tests,py{311,310,39}-tests
4949
commands =
5050
dev: {posargs:ipython --classic --no-banner --no-confirm-exit}
5151
format: black src tests bin

0 commit comments

Comments
 (0)