Skip to content

Commit

Permalink
feat: Add support for Python 3.12 (#1052)
Browse files Browse the repository at this point in the history
Fixes #1044
  • Loading branch information
kesara authored Nov 5, 2023
1 parent 18c45a9 commit f3152b0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout repository
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout repository
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:

# strategy:
# matrix:
# python-version: ['3.8', '3.9', '3.10']
# python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

# steps:
# - name: Checkout repository
Expand Down
5 changes: 4 additions & 1 deletion docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ RUN apt-get update --fix-missing && \
libxslt-dev \
python3.11 \
python3.11-dev \
python3.11-distutils && \
python3.11-distutils \
python3.12 \
python3.12-dev \
python3.12-distutils && \
rm -rf /var/lib/apt/lists/* /var/log/dpkg.log && \
apt-get autoremove -y && \
apt-get clean -y
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ classifiers =
Topic :: Text Processing
Topic :: Text Processing :: Markup :: XML
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12

[options]
packages = xml2rfc, xml2rfc/writers, xml2rfc/util, xml2rfc/uniscripts, xml2rfc/data, xml2rfc/templates
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
PLATFORM =
Expand Down

0 comments on commit f3152b0

Please sign in to comment.