From 3c92366d51de24e7d0b54f7606277c06b3ff1876 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 2 Dec 2022 18:40:29 +0200 Subject: pre-commit autoupdate --- .pre-commit-config.yaml | 4 ++-- LICENSE | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 049ecc2..338bbff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.4.0 hooks: - id: check-added-large-files - id: check-ast @@ -15,7 +15,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.23.3 + rev: v3.2.3 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/LICENSE b/LICENSE index 51e78b9..5f4f225 100644 --- a/LICENSE +++ b/LICENSE @@ -25,4 +25,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -- cgit v1.2.1 From 1e48317df1468c2d3550d4251cb5649a407c52cc Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 2 Dec 2022 18:40:41 +0200 Subject: Add support for Python 3.10 and 3.11 --- .github/workflows/main.yml | 2 +- setup.py | 2 ++ tox.ini | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6ee180..d8b6da8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index 36e8efb..676a960 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,8 @@ CLASSIFIERS = ['Development Status :: 5 - Production/Stable', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules', diff --git a/tox.ini b/tox.ini index 8528187..beaf555 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{3.6,3.7,3.8,3.9} +envlist = py{3.6,3.7,3.8,3.9,3.10,3.11} [testenv] basepython = @@ -7,6 +7,8 @@ basepython = py3.7: python3.7 py3.8: python3.8 py3.9: python3.9 + py3.10: python3.10 + py3.11: python3.11 commands = {envpython} --version pytest -- cgit v1.2.1 From 0d4118d94964a87701b5a266f0ed816cf7fe0377 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 2 Dec 2022 18:42:35 +0200 Subject: Test Python 3.12-dev --- .github/workflows/main.yml | 6 +++--- tox.ini | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8b6da8..96f1bd5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Upgrade Pip diff --git a/tox.ini b/tox.ini index beaf555..c2264be 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{3.6,3.7,3.8,3.9,3.10,3.11} +envlist = py{3.6,3.7,3.8,3.9,3.10,3.11,3.12} [testenv] basepython = @@ -9,6 +9,7 @@ basepython = py3.9: python3.9 py3.10: python3.10 py3.11: python3.11 + py3.12: python3.12 commands = {envpython} --version pytest -- cgit v1.2.1 From 759f549f22027bd2df49b960adb058f018eacf9e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 2 Dec 2022 18:43:50 +0200 Subject: Drop support for EOL Python 3.6 --- .github/workflows/main.yml | 2 +- .pre-commit-config.yaml | 2 +- setup.py | 3 +-- tox.ini | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96f1bd5..83b584e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"] steps: - uses: actions/checkout@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 338bbff..38c4a68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,4 +18,4 @@ repos: rev: v3.2.3 hooks: - id: pyupgrade - args: [--py36-plus] + args: [--py37-plus] diff --git a/setup.py b/setup.py index 676a960..4baa904 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ CLASSIFIERS = ['Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -48,7 +47,7 @@ setup( packages=PACKAGES, test_suite=TEST_SUITE, install_requires=REQUIRES, - python_requires='>=3.6', + python_requires='>=3.7', # metadata for upload to PyPI author=AUTHOR, author_email=AUTHOR_EMAIL, diff --git a/tox.ini b/tox.ini index c2264be..1f15d47 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] -envlist = py{3.6,3.7,3.8,3.9,3.10,3.11,3.12} +envlist = py{3.7,3.8,3.9,3.10,3.11,3.12} [testenv] basepython = - py3.6: python3.6 py3.7: python3.7 py3.8: python3.8 py3.9: python3.9 -- cgit v1.2.1