diff --git a/.cookiecutter/cookiecutter.json b/.cookiecutter/cookiecutter.json index af23243..01b6d7a 100644 --- a/.cookiecutter/cookiecutter.json +++ b/.cookiecutter/cookiecutter.json @@ -11,7 +11,7 @@ "package_name": "h_assets", "slug": "h-assets", "short_description": "Pyramid views for serving collections of compiled static assets (eg. bundles of JavaScript and CSS).", - "python_versions": "3.12.4, 3.11.9, 3.10.14, 3.9.19, 3.8.19", + "python_versions": "3.12.7, 3.11.10, 3.10.15, 3.9.20", "github_owner": "hypothesis", "copyright_holder": "Hypothesis", "visibility": "public", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3eda4af..af1b7e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.12', '3.11', '3.10', '3.9', '3.8'] + python-version: ['3.12', '3.11', '3.10', '3.9'] name: Unit tests with Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.12', '3.11', '3.10', '3.9', '3.8'] + python-version: ['3.12', '3.11', '3.10', '3.9'] name: Functional tests with Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v3 diff --git a/.python-version b/.python-version index 29afc11..23cac87 100644 --- a/.python-version +++ b/.python-version @@ -1,5 +1,4 @@ -3.12.4 -3.11.9 -3.10.14 -3.9.19 -3.8.19 +3.12.7 +3.11.10 +3.10.15 +3.9.20 diff --git a/Makefile b/Makefile index a07cd73..2fd5046 100644 --- a/Makefile +++ b/Makefile @@ -53,15 +53,10 @@ $(call help,make test-py39,"run the unit tests in Python 3.9") test-py39: python @pyenv exec tox -qe py39-tests -.PHONY: test-py38 -$(call help,make test-py38,"run the unit tests in Python 3.8") -test-py38: python - @pyenv exec tox -qe py38-tests - .PHONY: coverage $(call help,make coverage,"run the tests and print the coverage report") coverage: python - @pyenv exec tox --parallel -qe 'tests,py{311,310,39,38}-tests,coverage' + @pyenv exec tox --parallel -qe 'tests,py{311,310,39}-tests,coverage' .PHONY: functests $(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") functests-py39: python @pyenv exec tox -qe py39-functests -.PHONY: functests-py38 -$(call help,make functests-py38,"run the functional tests in Python 3.8") -functests-py38: python - @pyenv exec tox -qe py38-functests - .PHONY: sure $(call help,make sure,"make sure that the formatting$(comma) linting and tests all pass") sure: python sure: - @pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39,38}-tests,coverage,functests,py{311,310,39,38}-functests' + @pyenv exec tox --parallel -qe 'checkformatting,lint,typecheck,tests,py{311,310,39}-tests,coverage,functests,py{311,310,39}-functests' .PHONY: template $(call help,make template,"update from the latest cookiecutter template") diff --git a/README.md b/README.md index ab733ce..b67522b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ - + diff --git a/bin/make_python b/bin/make_python index a2266ab..9721005 100755 --- a/bin/make_python +++ b/bin/make_python @@ -8,7 +8,7 @@ if [ -n "${CI+x}" ]; then exit; fi pyenv_root=$(pyenv root) -for python_version in 3.12.4 3.11.9 3.10.14 3.9.19 3.8.19; do +for python_version in 3.12.7 3.11.10 3.10.15 3.9.20; do bin_dir=$pyenv_root/versions/$python_version/bin if [ ! -f "$bin_dir"/tox ]; then pyenv install --skip-existing "$python_version" diff --git a/pyproject.toml b/pyproject.toml index cfa546e..7aa43ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Intended Audience :: Developers", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "pyramid", ] diff --git a/tox.ini b/tox.ini index 6452a91..884fc92 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ deps = lint,template: cookiecutter typecheck: mypy depends = - coverage: tests,py{311,310,39,38}-tests + coverage: tests,py{311,310,39}-tests commands = dev: {posargs:ipython --classic --no-banner --no-confirm-exit} format: black src tests bin