Skip to content

Commit 5896047

Browse files
authored
Merge pull request #118 from edly-io/maq/116
116: Add Support for Python 3.11
2 parents 5b94f5a + 651b005 commit 5896047

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: ["3.11", "3.12"]
17+
python-version: ['3.11', '3.12']
1818
toxenv: [quality, docs, django42]
1919

2020
steps:
@@ -36,7 +36,7 @@ jobs:
3636
run: tox
3737

3838
- name: Run Coverage
39-
if: matrix.python-version == '3.11' && matrix.toxenv=='django42'
39+
if: matrix.python-version == '3.12' && matrix.toxenv=='django42'
4040
uses: codecov/codecov-action@v5
4141
with:
4242
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: setup python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: 3.12
1919

2020
- name: Install pip
2121
run: pip install -r requirements/pip.txt

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Change Log
1414
Unreleased
1515
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1616

17+
[2.0.0] - 2024-10-18
18+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19+
20+
* Drop support for python 3.8
21+
* Adds support for python 3.11 & 3.12
22+
1723
[1.8.1] - 2024-07-11
1824
~~~~~~~~~~~~~~~~~~~~
1925

code_annotations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Extensible tools for parsing annotations in codebases.
33
"""
44

5-
__version__ = '1.8.2'
5+
__version__ = '2.0.0'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ def get_version(*file_paths):
497497

498498
# Example configuration for intersphinx: refer to the Python standard library.
499499
intersphinx_mapping = {
500-
'python': ('https://docs.python.org/3.6', None),
501-
'django': ('https://docs.djangoproject.com/en/1.11/', 'https://docs.djangoproject.com/en/1.11/_objects/'),
500+
'python': ('https://docs.python.org/3.12', None),
501+
'django': ('https://docs.djangoproject.com/en/4.2/', 'https://docs.djangoproject.com/en/4.2/_objects/'),
502502
'model_utils': ('https://django-model-utils.readthedocs.io/en/latest/', None),
503503
'edx_toggles': ('https://edx.readthedocs.io/projects/edx-toggles/en/latest/', None),
504504
}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ def is_requirement(line):
9090
},
9191
include_package_data=True,
9292
install_requires=load_requirements('requirements/base.in'),
93-
extras_require={"django": ["Django>=2.2,<2.3"]},
93+
extras_require={"django": ["Django>=4.2"]},
9494
license="Apache Software License 2.0",
9595
zip_safe=False,
9696
keywords='edx pii code annotations',
97+
python_requires=">=3.11",
9798
classifiers=[
9899
'Development Status :: 3 - Alpha',
99100
'Framework :: Django',
@@ -103,7 +104,6 @@ def is_requirement(line):
103104
'Natural Language :: English',
104105
'Programming Language :: Python',
105106
'Programming Language :: Python :: 3',
106-
'Programming Language :: Python :: 3.8',
107107
'Programming Language :: Python :: 3.11',
108108
'Programming Language :: Python :: 3.12',
109109
],

0 commit comments

Comments
 (0)