diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba461ff..0f6074f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.11", "3.12"] + python-version: ['3.11', '3.12'] toxenv: [quality, docs, django42] steps: @@ -36,7 +36,7 @@ jobs: run: tox - name: Run Coverage - if: matrix.python-version == '3.11' && matrix.toxenv=='django42' + if: matrix.python-version == '3.12' && matrix.toxenv=='django42' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index b1232fa..eba2eb2 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b22e0a9..2e9ea10 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,12 @@ Change Log Unreleased ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[2.0.0] - 2024-10-18 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Drop support for python 3.8 +* Adds support for python 3.11 & 3.12 + [1.8.1] - 2024-07-11 ~~~~~~~~~~~~~~~~~~~~ diff --git a/code_annotations/__init__.py b/code_annotations/__init__.py index 10dbd11..9c6406a 100644 --- a/code_annotations/__init__.py +++ b/code_annotations/__init__.py @@ -2,4 +2,4 @@ Extensible tools for parsing annotations in codebases. """ -__version__ = '1.8.2' +__version__ = '2.0.0' diff --git a/docs/conf.py b/docs/conf.py index 9ef47e6..453db8b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -497,8 +497,8 @@ def get_version(*file_paths): # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'python': ('https://docs.python.org/3.6', None), - 'django': ('https://docs.djangoproject.com/en/1.11/', 'https://docs.djangoproject.com/en/1.11/_objects/'), + 'python': ('https://docs.python.org/3.12', None), + 'django': ('https://docs.djangoproject.com/en/4.2/', 'https://docs.djangoproject.com/en/4.2/_objects/'), 'model_utils': ('https://django-model-utils.readthedocs.io/en/latest/', None), 'edx_toggles': ('https://edx.readthedocs.io/projects/edx-toggles/en/latest/', None), } diff --git a/setup.py b/setup.py index 297eeb8..1ae750c 100644 --- a/setup.py +++ b/setup.py @@ -90,10 +90,11 @@ def is_requirement(line): }, include_package_data=True, install_requires=load_requirements('requirements/base.in'), - extras_require={"django": ["Django>=2.2,<2.3"]}, + extras_require={"django": ["Django>=4.2"]}, license="Apache Software License 2.0", zip_safe=False, keywords='edx pii code annotations', + python_requires=">=3.11", classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', @@ -103,7 +104,6 @@ def is_requirement(line): 'Natural Language :: English', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ],