Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

feat: add python 3.12 support #406

Closed
Closed
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
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
Expand All @@ -15,10 +15,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version:
- 3.8
toxenv: [ py38 ]
- ubuntu-20.04
python-version: ['3.8', '3.11']
toxenv: [py38]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toxenv needs to be updated so tests run on Python 3.11 as well. Right now, tests are running only on Python 3.8 in both shards.

steps:
- uses: actions/checkout@v1
- name: setup python
Expand All @@ -31,7 +30,7 @@ jobs:

- name: Install dependencies
run: |
pip install pip==19.0.3
pip install pip==24.0
pip install -r requirements/ci.txt

- name: Run Tests
Expand Down
30 changes: 12 additions & 18 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,47 @@
#
# make upgrade
#
certifi==2023.7.22
certifi==2024.2.2
# via requests
cffi==1.16.0
# via
# cryptography
# pynacl
charset-normalizer==3.3.1
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via -r requirements/base.in
cryptography==41.0.4
cryptography==42.0.5
# via pyjwt
deprecated==1.2.14
# via pygithub
gitdb==4.0.11
# via gitpython
gitpython==3.1.40
gitpython==3.1.43
# via -r requirements/base.in
idna==3.4
idna==3.7
# via requests
packaging==23.2
packaging==24.0
# via -r requirements/base.in
pycparser==2.21
pycparser==2.22
# via cffi
pygithub==2.1.1
pygithub==2.3.0
# via -r requirements/base.in
pyjwt[crypto]==2.8.0
# via
# pygithub
# pyjwt
pynacl==1.5.0
# via pygithub
python-dateutil==2.8.2
pynacl==1.5.0
# via pygithub
requests==2.31.0
# via
# -r requirements/base.in
# pygithub
six==1.16.0
# via python-dateutil
smmap==5.0.1
# via gitdb
typing-extensions==4.8.0
typing-extensions==4.11.0
# via pygithub
urllib3==2.0.7
urllib3==2.2.1
# via
# pygithub
# requests
wrapt==1.15.0
wrapt==1.16.0
# via deprecated
38 changes: 23 additions & 15 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,35 @@
#
# make upgrade
#
distlib==0.3.7
cachetools==5.3.3
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.12.4
filelock==3.13.4
# via
# tox
# virtualenv
packaging==23.2
# via tox
platformdirs==3.11.0
# via virtualenv
pluggy==1.3.0
# via tox
py==1.11.0
packaging==24.0
# via
# pyproject-api
# tox
platformdirs==4.2.0
# via
# tox
# virtualenv
pluggy==1.4.0
# via tox
six==1.16.0
pyproject-api==1.6.1
# via tox
tomli==2.0.1
# via tox
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/ci.in
virtualenv==20.24.5
# pyproject-api
# tox
tox==4.14.2
# via -r requirements/ci.in
virtualenv==20.25.1
# via tox
Loading
Loading