Skip to content

Commit

Permalink
Merge pull request #23 from openedx/jenkins/add-python312-support-95d…
Browse files Browse the repository at this point in the history
…6614

feat: add python 3.11 support
  • Loading branch information
Feanil Patel authored Apr 9, 2024
2 parents 95d6614 + b4c7372 commit b2dfaea
Show file tree
Hide file tree
Showing 12 changed files with 185 additions and 142 deletions.
27 changes: 13 additions & 14 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,18 +15,17 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version:
- 3.8
- ubuntu-20.04
python-version: ['3.8', '3.11']
steps:
- uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install -r requirements/ci.txt
- name: Install dependencies
run: pip install -r requirements/ci.txt

- name: Run Tests
run: tox
- name: Run Tests
run: tox
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

1.1.0 (2024-04-05)
------------------

* Adding python3.11 support.


0.3.1 (2020-09-16)
------------------

Expand Down
6 changes: 3 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
click==8.1.3
click==8.1.7
# via -r requirements/base.in
40 changes: 23 additions & 17 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,50 +1,56 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
distlib==0.3.4
cachetools==5.3.3
# via
# -r requirements/tox.txt
# virtualenv
filelock==3.7.1
# tox
chardet==5.2.0
# via
# -r requirements/tox.txt
# tox
# virtualenv
packaging==21.3
colorama==0.4.6
# via
# -r requirements/tox.txt
# tox
platformdirs==2.5.2
distlib==0.3.8
# via
# -r requirements/tox.txt
# virtualenv
filelock==3.13.3
# via
# -r requirements/tox.txt
# tox
# virtualenv
pluggy==1.0.0
packaging==24.0
# via
# -r requirements/tox.txt
# pyproject-api
# tox
py==1.11.0
platformdirs==4.2.0
# via
# -r requirements/tox.txt
# tox
pyparsing==3.0.9
# virtualenv
pluggy==1.4.0
# via
# -r requirements/tox.txt
# packaging
six==1.16.0
# tox
pyproject-api==1.6.1
# via
# -r requirements/tox.txt
# tox
# virtualenv
toml==0.10.2
tomli==2.0.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
tox==3.25.0
tox==4.14.2
# via -r requirements/tox.txt
virtualenv==20.14.1
virtualenv==20.25.1
# via
# -r requirements/tox.txt
# tox
50 changes: 25 additions & 25 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
alabaster==0.7.12
alabaster==0.7.13
# via sphinx
babel==2.10.1
babel==2.14.0
# via sphinx
certifi==2022.5.18.1
certifi==2024.2.2
# via requests
charset-normalizer==2.0.12
charset-normalizer==3.3.2
# via requests
click==8.1.3
click==8.1.7
# via -r requirements/base.in
docutils==0.18.1
docutils==0.20.1
# via sphinx
idna==3.3
idna==3.6
# via requests
imagesize==1.3.0
imagesize==1.4.1
# via sphinx
importlib-metadata==4.11.4
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# sphinx
jinja2==3.1.3
# via sphinx
jinja2==3.1.2
# via sphinx
markupsafe==2.1.1
markupsafe==2.1.5
# via jinja2
packaging==21.3
packaging==24.0
# via sphinx
pygments==2.12.0
pygments==2.17.2
# via sphinx
pyparsing==3.0.9
# via packaging
pytz==2022.1
pytz==2024.1
# via babel
requests==2.27.1
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==5.0.1
sphinx==7.1.2
# via -r requirements/doc.in
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-applehelp==1.0.4
# via sphinx
sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-htmlhelp==2.0.1
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==1.26.9
urllib3==2.2.1
# via requests
zipp==3.8.0
zipp==3.18.1
# via importlib-metadata
8 changes: 4 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# This file is autogenerated by pip-compile
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# make upgrade
#
wheel==0.37.1
wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==22.1.2
pip==24.0
# via -r requirements/pip.in
setuptools==62.3.3
setuptools==69.2.0
# via -r requirements/pip.in
27 changes: 21 additions & 6 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
#
# This file is autogenerated by pip-compile
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# make upgrade
#
click==8.1.3
build==1.2.1
# via pip-tools
pep517==0.12.0
click==8.1.7
# via pip-tools
pip-tools==6.6.2
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# build
packaging==24.0
# via build
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
# via pep517
wheel==0.37.1
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.43.0
# via pip-tools
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading

0 comments on commit b2dfaea

Please sign in to comment.