Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.11 support. #673

Merged
merged 4 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,30 @@ jobs:
command: |
python setup.py test

build-test-python311:
docker:
- image: python:3.11
working_directory: ~/repo
steps:
- checkout
- run:
name: make sure install works
command: |
pip install .
- run:
name: view installed packages
command: |
pip freeze
- run:
name: unit test
command: |
python setup.py test

workflows:
version: 2
build:
jobs:
- build-python38
- build-python39
- build-test-python310
- build-test-python311
6 changes: 3 additions & 3 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
# you have to quote any version number ending in a 0 or gh truncates it. ie 3.10 turned into 3.1
python-version: [ 3.8, '3.10' ]
python-version: [ 3.8, '3.10', 3.11 ]
os: [ ubuntu-latest ] #in the future we should add windows here
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -32,10 +32,10 @@ jobs:
needs: tests-ci
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.10'
python-version: 3.11
- name: Install pypa/build
run: >-
python -m
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ urllib3>1.24,<2
websocket-client>=0.56.0,<2
websockets>=9.0,<11
msgpack==1.0.3
aiohttp==3.8.2
aiohttp==3.8.3
PyYAML==6.0.1
deprecation==2.1.0