Skip to content

Commit

Permalink
chore: Upgrade Python requirements (#331)
Browse files Browse the repository at this point in the history
* chore: Upgrade Python requirements

* fix: drop support for python 3.8

---------

Co-authored-by: Irtaza Akram <[email protected]>
  • Loading branch information
edx-requirements-bot and irtazaakram authored Aug 12, 2024
1 parent 5600124 commit 81abfce
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 194 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8', '3.11', '3.12']
python-version: ['3.11', '3.12']
toxenv: [quality, docs, without-django, django42]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.11
follow_imports = normal
ignore_missing_imports = True
allow_untyped_globals = False
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
Expand Down
12 changes: 4 additions & 8 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
cachetools==5.3.3
cachetools==5.4.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
coverage==7.6.0
coverage==7.6.1
# via -r requirements/ci.in
distlib==0.3.8
# via virtualenv
Expand All @@ -30,11 +30,7 @@ pluggy==1.5.0
# via tox
pyproject-api==1.7.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.16.0
tox==4.17.1
# via -r requirements/ci.in
virtualenv==20.26.3
# via tox
89 changes: 27 additions & 62 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
accessible-pygments==0.0.4
accessible-pygments==0.0.5
# via
# -r requirements/doc.txt
# pydata-sphinx-theme
alabaster==0.7.13
alabaster==1.0.0
# via
# -r requirements/doc.txt
# sphinx
astroid==3.2.3
astroid==3.2.4
# via
# -r requirements/doc.txt
# pylint
# pylint-celery
attrs==23.2.0
attrs==24.2.0
# via
# -r requirements/doc.txt
# hypothesis
babel==2.15.0
babel==2.16.0
# via
# -r requirements/doc.txt
# pydata-sphinx-theme
Expand All @@ -34,7 +34,7 @@ build==1.2.1
# via
# -r requirements/pip-tools.txt
# pip-tools
cachetools==5.3.3
cachetools==5.4.0
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -70,7 +70,7 @@ colorama==0.4.6
# via
# -r requirements/ci.txt
# tox
coverage[toml]==7.6.0
coverage[toml]==7.6.1
# via
# -r requirements/ci.txt
# -r requirements/doc.txt
Expand All @@ -89,19 +89,14 @@ dnspython==2.6.1
# via
# -r requirements/doc.txt
# pymongo
docutils==0.19
docutils==0.21.2
# via
# -r requirements/doc.txt
# pydata-sphinx-theme
# readme-renderer
# sphinx
edx-lint==5.3.6
edx-lint==5.3.7
# via -r requirements/doc.txt
exceptiongroup==1.2.1
# via
# -r requirements/doc.txt
# hypothesis
# pytest
execnet==2.1.1
# via
# -r requirements/doc.txt
Expand All @@ -111,7 +106,7 @@ filelock==3.15.4
# -r requirements/ci.txt
# tox
# virtualenv
hypothesis==6.106.0
hypothesis==6.111.0
# via -r requirements/doc.txt
idna==3.7
# via
Expand All @@ -121,12 +116,6 @@ imagesize==1.4.1
# via
# -r requirements/doc.txt
# sphinx
importlib-metadata==8.0.0
# via
# -r requirements/doc.txt
# -r requirements/pip-tools.txt
# build
# sphinx
iniconfig==2.0.0
# via
# -r requirements/doc.txt
Expand All @@ -150,7 +139,7 @@ mccabe==0.7.0
# pylint
mock==5.1.0
# via -r requirements/doc.txt
mypy==1.10.1
mypy==1.11.1
# via -r requirements/doc.txt
mypy-extensions==1.0.0
# via
Expand Down Expand Up @@ -190,9 +179,9 @@ pluggy==1.5.0
# -r requirements/doc.txt
# pytest
# tox
pycodestyle==2.12.0
pycodestyle==2.12.1
# via -r requirements/doc.txt
pydata-sphinx-theme==0.14.4
pydata-sphinx-theme==0.15.4
# via
# -r requirements/doc.txt
# sphinx-book-theme
Expand All @@ -203,7 +192,7 @@ pygments==2.18.0
# pydata-sphinx-theme
# readme-renderer
# sphinx
pylint==3.2.5
pylint==3.2.6
# via
# -r requirements/doc.txt
# edx-lint
Expand Down Expand Up @@ -234,7 +223,7 @@ pyproject-hooks==1.1.0
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==8.2.2
pytest==8.3.2
# via
# -r requirements/doc.txt
# pytest-cov
Expand All @@ -247,15 +236,11 @@ python-slugify==8.0.4
# via
# -r requirements/doc.txt
# code-annotations
pytz==2024.1
# via
# -r requirements/doc.txt
# babel
pyyaml==6.0.1
pyyaml==6.0.2
# via
# -r requirements/doc.txt
# code-annotations
readme-renderer==43.0
readme-renderer==44.0
# via -r requirements/doc.txt
requests==2.32.3
# via
Expand All @@ -277,34 +262,34 @@ soupsieve==2.5
# via
# -r requirements/doc.txt
# beautifulsoup4
sphinx==6.2.1
sphinx==8.0.2
# via
# -r requirements/doc.txt
# pydata-sphinx-theme
# sphinx-book-theme
sphinx-book-theme==1.0.1
sphinx-book-theme==1.1.3
# via -r requirements/doc.txt
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-applehelp==2.0.0
# via
# -r requirements/doc.txt
# sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==2.0.0
# via
# -r requirements/doc.txt
# sphinx
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-htmlhelp==2.1.0
# via
# -r requirements/doc.txt
# sphinx
sphinxcontrib-jsmath==1.0.1
# via
# -r requirements/doc.txt
# sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==2.0.0
# via
# -r requirements/doc.txt
# sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==2.0.0
# via
# -r requirements/doc.txt
# sphinx
Expand All @@ -316,32 +301,17 @@ text-unidecode==1.3
# via
# -r requirements/doc.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/ci.txt
# -r requirements/doc.txt
# -r requirements/pip-tools.txt
# build
# coverage
# mypy
# pip-tools
# pylint
# pyproject-api
# pytest
# tox
tomlkit==0.13.0
# via
# -r requirements/doc.txt
# pylint
tox==4.16.0
tox==4.17.1
# via -r requirements/ci.txt
typing-extensions==4.12.2
# via
# -r requirements/doc.txt
# astroid
# mypy
# pydata-sphinx-theme
# pylint
urllib3==2.2.2
# via
# -r requirements/doc.txt
Expand All @@ -350,15 +320,10 @@ virtualenv==20.26.3
# via
# -r requirements/ci.txt
# tox
wheel==0.43.0
wheel==0.44.0
# via
# -r requirements/pip-tools.txt
# pip-tools
zipp==3.19.2
# via
# -r requirements/doc.txt
# -r requirements/pip-tools.txt
# importlib-metadata

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

0 comments on commit 81abfce

Please sign in to comment.