From 17fea32438c6dd843206c1feb6693a5cb361430c Mon Sep 17 00:00:00 2001 From: Sebastian Bank Date: Sat, 22 Jul 2023 11:11:06 +0200 Subject: [PATCH] drop Python 3.7 support --- .github/workflows/build.yaml | 5 +---- CHANGES.rst | 2 +- README.rst | 2 +- docs/manual.rst | 2 +- setup.cfg | 2 +- setup.py | 4 ++-- tox.ini | 2 +- 7 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ef3ced..63ca648 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,7 +27,7 @@ jobs: - python-version: "3.8" args: "" os: ubuntu-latest - - python-version: "3.7" + - python-version: pypy-3.10 args: "" os: ubuntu-latest - python-version: pypy-3.9 @@ -36,9 +36,6 @@ jobs: - python-version: pypy-3.8 args: "" os: ubuntu-latest - - python-version: pypy-3.7 - args: "" - os: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v3 diff --git a/CHANGES.rst b/CHANGES.rst index 8ef117a..4eeb0c3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -7,7 +7,7 @@ Version 0.10 (in development) Drop Python 2 support. -Drop Python 3.5 and 3.6 support and tag Python 3.9, 3.10, and 3.11 support. +Drop Python 3.5, 3.6, and 3.7 support and tag Python 3.9, 3.10, and 3.11 support. Add ``shape`` property to ``Context```and ``Definition`` returning a named tuple of ``(len(objects), len(properties))`` (PR Tomáš Mikula). diff --git a/README.rst b/README.rst index b74009c..2a72f0d 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ Links Installation ------------ -This package runs under Python 3.7+, use pip_ to install: +This package runs under Python 3.8+, use pip_ to install: .. code:: bash diff --git a/docs/manual.rst b/docs/manual.rst index bc67687..296ced1 100644 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -7,7 +7,7 @@ User Guide Installation ------------ -:mod:`concepts` is a pure-python package that runs under Python 3.7+. +:mod:`concepts` is a pure-python package that runs under Python 3.8+. It is `available from PyPI`_. To install it with pip_, run the following command: diff --git a/setup.cfg b/setup.cfg index 694fc2b..b5b25a9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -license_file = LICENSE.txt +license_files = LICENSE.txt [sdist] formats = zip diff --git a/setup.py b/setup.py index b66bd42..a974636 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ }, packages=find_packages(), platforms='any', - python_requires='>=3.7', + python_requires='>=3.8', install_requires=[ 'bitsets~=0.7', 'graphviz~=0.7', @@ -30,6 +30,7 @@ 'docs': ['sphinx>=5', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], }, long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'), + long_description_content_type='text/x-rst', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -37,7 +38,6 @@ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tox.ini b/tox.ini index ac75ec5..2848871 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{310,39,38,37} +envlist = py{311,310,39,38} skip_missing_interpreters = true [testenv]