Skip to content

Commit

Permalink
Add Python 3.11 to tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed Oct 25, 2022
1 parent 20420c2 commit 6f3039d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ workflows:
- test:
matrix:
parameters:
python_version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
python_version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
- test_pypy:
matrix:
parameters:
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
. venv/bin/activate
rst-lint --encoding=utf-8 README.rst
docker:
- image: circleci/python:3.10
- image: circleci/python:3.11
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.10'
python-version: '3.11'

- run: |
pip install packaging
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.10'
python-version: '3.11'

- name: Build sdist
run: python setup.py sdist
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ciso8601
``ciso8601`` converts `ISO 8601`_ or `RFC 3339`_ date time strings into Python datetime objects.

Since it's written as a C module, it is much faster than other Python libraries.
Tested with cPython 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.
Tested with cPython 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.

**Note:** ciso8601 doesn't support the entirety of the ISO 8601 spec, `only a popular subset`_.

Expand Down
7 changes: 4 additions & 3 deletions benchmarking/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ RUN apt install -y python python-dev && \
apt install -y python3.7 python3.7-dev python3.7-venv && \
apt install -y python3.8 python3.8-dev python3.8-venv && \
apt install -y python3.9 python3.9-dev python3.9-venv && \
apt install -y python3.10 python3.10-dev python3.10-venv
apt install -y python3.10 python3.10-dev python3.10-venv && \
apt install -y python3.11 python3.11-dev python3.11-venv

# Install the other dependencies
RUN apt-get install -y git curl gcc build-essential

# Make Python 3.10 the default `python`
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 10
# Make Python 3.11 the default `python`
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 10

# Get pip
RUN python -m ensurepip --upgrade
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)

0 comments on commit 6f3039d

Please sign in to comment.