diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 6f89e4d..470175f 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -15,11 +15,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12", "3.11", "3.10", "3.9"] + python-version: ["3.12", "3.11", "3.10"] django-version: ["5.0", "4.2"] - exclude: - - django-version: "5.0" - python-version: "3.9" steps: - name: Checkout run: | diff --git a/Pipfile.lock b/Pipfile.lock index 396ceca..a5e223f 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -56,6 +56,14 @@ ], "markers": "python_version >= '3.8'", "version": "==0.5.1" + }, + "typing-extensions": { + "hashes": [ + "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", + "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8" + ], + "markers": "python_version < '3.11'", + "version": "==4.12.2" } }, "develop": { @@ -83,6 +91,14 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.8.1" }, + "async-timeout": { + "hashes": [ + "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f", + "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028" + ], + "markers": "python_version >= '3.7'", + "version": "==4.0.3" + }, "attrs": { "hashes": [ "sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346", @@ -107,6 +123,14 @@ "markers": "python_version >= '3.8'", "version": "==2.3.1" }, + "backports.tarfile": { + "hashes": [ + "sha256:77e284d754527b01fb1e6fa8a1afe577858ebe4e9dad8919e34c862cb399bc34", + "sha256:d75e02c268746e1b8144c278978b6e98e85de6ad16f8e4b0844a154557eca991" + ], + "markers": "python_version < '3.12'", + "version": "==1.2.0" + }, "beautifulsoup4": { "hashes": [ "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051", @@ -151,18 +175,18 @@ }, "boto3": { "hashes": [ - "sha256:b660c649a27a6b47a34f6f858f5bd7c3b0a798a16dec8dda7cbebeee80fd1f60", - "sha256:ddecb27f5699ca9f97711c52b6c0652c2e63bf6c2bfbc13b819b4f523b4d30ff" + "sha256:14724b905fd13f26d9d8f7cdcea0fa65a9acad79f60f41f7662667f4e233d97c", + "sha256:4f15d1ccb481d66f6925b8c91c970ce41b956b6ecf7c479f23e2159531b37eec" ], - "version": "==1.35.49" + "version": "==1.35.50" }, "botocore": { "hashes": [ - "sha256:07d0c1325fdbfa49a4a054413dbdeab0a6030449b2aa66099241af2dac48afd8", - "sha256:aed4d3643afd702920792b68fbe712a8c3847993820d1048cd238a6469354da1" + "sha256:136ecef8d5a1088f1ba485c0bbfca40abd42b9f9fe9e11d8cde4e53b4c05b188", + "sha256:965d3b99179ac04aa98e4c4baf4a970ebce77a5e02bb2a0a21cb6304e2bc0955" ], "markers": "python_version >= '3.8'", - "version": "==1.35.49" + "version": "==1.35.50" }, "build": { "hashes": [ @@ -393,11 +417,11 @@ }, "cli-base-utilities": { "hashes": [ - "sha256:a0142b46ced685fda8e7393c90d2cb1a709ea7ae37469249e3f519bd8c7844e2", - "sha256:abb265fee788af0e347395bd9c863370df04ddc6b8aff97e77841c994f5daee6" + "sha256:5c54cdd5e5122abf6a86aa6926b4b2dbc6632c113885692c8d95f531bb2b181b", + "sha256:95b1119d9f4bb335974faf655e853f58bdd04af0bac99d22005b6fb79b9e4b14" ], - "markers": "python_version >= '3.11'", - "version": "==0.13.1" + "markers": "python_version >= '3.9' and python_version < '4'", + "version": "==0.10.3" }, "click": { "hashes": [ @@ -580,14 +604,6 @@ ], "version": "==3.1.0" }, - "docstring-parser": { - "hashes": [ - "sha256:538beabd0af1e2db0146b6bd3caa526c35a34d61af9fd2887f3a8a27a739aa6e", - "sha256:bf0a1387354d3691d102edef7ec124f219ef639982d096e26e3b60aeffa90637" - ], - "markers": "python_version >= '3.6' and python_version < '4.0'", - "version": "==0.16" - }, "docutils": { "hashes": [ "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f", @@ -942,10 +958,10 @@ }, "manageprojects": { "hashes": [ - "sha256:4c5649deb9791f3016c1848b34080e1564ea3bec2a8e25a09f9f0af9012086df", - "sha256:5f9b7d692df1540b8787ae31acc9613270be01c7d4416aad77e5dee4ca97e363" + "sha256:355d970261f14b53b574d102e7e82462fe6769baa06c479f00f07a0bcfcb8e4d", + "sha256:4662ff7f0e64ea9b420b67c270594c88542858a1434ebe8b5f93b7bf2ae2e706" ], - "version": "==0.19.2" + "version": "==0.17.1" }, "markdown-it-py": { "hashes": [ @@ -1331,14 +1347,6 @@ "markers": "python_version >= '3.9'", "version": "==44.0" }, - "refurb": { - "hashes": [ - "sha256:8a8f1e7c131ef7dc460cbecbeaf536f5eb0ecb657c099d7823941f0e65b1cfe1", - "sha256:fa9e950dc6edd7473642569c118f8714eefd1e6f21a15ee4210a1be853aaaf80" - ], - "markers": "python_version >= '3.10'", - "version": "==2.0.0" - }, "requests": { "hashes": [ "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", @@ -1404,18 +1412,10 @@ }, "setuptools": { "hashes": [ - "sha256:753bb6ebf1f465a1912e19ed1d41f403a79173a9acf66a42e7e6aec45c3c16ec", - "sha256:a7fcb66f68b4d9e8e66b42f9876150a3371558f98fa32222ffaa5bced76406f8" - ], - "version": "==75.2.0" - }, - "shtab": { - "hashes": [ - "sha256:32d3d2ff9022d4c77a62492b6ec875527883891e33c6b479ba4d41a51e259983", - "sha256:4e4bcb02eeb82ec45920a5d0add92eac9c9b63b2804c9196c1f1fdc2d039243c" + "sha256:f2504966861356aa38616760c0f66568e535562374995367b4e69c7143cf6bcd", + "sha256:fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686" ], - "markers": "python_version >= '3.7'", - "version": "==1.7.1" + "version": "==75.3.0" }, "six": { "hashes": [ @@ -1471,6 +1471,14 @@ "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'", "version": "==0.10.2" }, + "tomli": { + "hashes": [ + "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38", + "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed" + ], + "markers": "python_version < '3.11'", + "version": "==2.0.2" + }, "tomlkit": { "hashes": [ "sha256:7a974427f6e119197f670fbbbeae7bef749a6c14e793db934baefc1b5f03efde", @@ -1513,17 +1521,9 @@ "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8" ], - "markers": "python_version >= '3.8'", + "markers": "python_version < '3.11'", "version": "==4.12.2" }, - "tyro": { - "hashes": [ - "sha256:1904bffb0e4d5e16c5eb50c518c89a368a44d56405f79b316c58e1206c102e87", - "sha256:2516e34d21763575159459c3b15fe4a13472a2166dff32169c9d7aab70853058" - ], - "markers": "python_version >= '3.7'", - "version": "==0.8.14" - }, "urllib3": { "hashes": [ "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac", @@ -1534,11 +1534,11 @@ }, "virtualenv": { "hashes": [ - "sha256:2ca56a68ed615b8fe4326d11a0dca5dfbe8fd68510fb6c6349163bed3c15f2b2", - "sha256:44a72c29cceb0ee08f300b314848c86e57bf8d1f13107a5e671fb9274138d655" + "sha256:142c6be10212543b32c6c45d3d3893dff89112cc588b7d0879ae5a1ec03a47ba", + "sha256:f11f1b8a29525562925f745563bfd48b189450f61fb34c4f9cc79dd5aa32a1f4" ], "markers": "python_version >= '3.8'", - "version": "==20.27.0" + "version": "==20.27.1" }, "zipp": { "hashes": [ diff --git a/bx_django_utils_tests/tests/test_readme.py b/bx_django_utils_tests/tests/test_readme.py index 8af493d..d4fb64a 100644 --- a/bx_django_utils_tests/tests/test_readme.py +++ b/bx_django_utils_tests/tests/test_readme.py @@ -1,4 +1,3 @@ -import sys from pathlib import Path from unittest import TestCase @@ -9,7 +8,6 @@ class Readme(TestCase): def test_auto_doc_in_readme(self): - assert sys.version_info >= (3, 9), 'requires Python v3.9 or newer' root_path = Path(bx_django_utils.__file__).parent.parent readme_path = root_path / 'README.md' diff --git a/pyproject.toml b/pyproject.toml index 70f1aa2..2864158 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,9 +11,9 @@ authors = [ classifiers = [ 'Development Status :: 5 - Production/Stable', 'Topic :: Software Development :: Libraries :: Python Modules', - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", 'Framework :: Django', 'Intended Audience :: Developers', @@ -129,7 +129,6 @@ legacy_tox_ini = """ [tox] isolated_build = True envlist = - py39-django42 py{310,311,312}-django{42,50} skip_missing_interpreters = True