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

chore: Upgrade Python requirements #428

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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-24.04]
python-version: [3.8, 3.11, 3.12]
toxenv: [django42, quality, translations]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
push:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
if: github.repository_owner == 'openedx'
with:
branch: ${{ github.event.inputs.branch || 'master' }}
# TODO: Remove this when dropping Python 3.8 support.
python_version: 3.8
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
Expand Down
28 changes: 15 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ backports-zoneinfo==0.2.1 ; python_version < "3.9"
# django
bleach[css]==6.1.0
# via -r requirements/base.in
boto3==1.34.131
boto3==1.35.14
# via fs-s3fs
botocore==1.34.131
botocore==1.35.14
# via
# boto3
# s3transfer
django==4.2.13
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# django-appconf
Expand All @@ -43,52 +43,54 @@ jmespath==1.0.1
# botocore
lazy==1.6
# via xblock
lxml==5.2.2
lxml==5.3.0
# via xblock
mako==1.3.5
# via xblock
markupsafe==2.1.5
# via
# mako
# xblock
openedx-django-pyfs==3.6.0
openedx-django-pyfs==3.7.0
# via xblock
python-dateutil==2.9.0.post0
# via
# botocore
# xblock
pytz==2024.1
# via xblock
pyyaml==6.0.1
pyyaml==6.0.2
# via xblock
s3transfer==0.10.1
s3transfer==0.10.2
# via boto3
simplejson==3.19.2
simplejson==3.19.3
# via xblock
six==1.16.0
# via
# bleach
# fs
# fs-s3fs
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.1
# via django
tinycss2==1.2.1
# via bleach
typing-extensions==4.12.2
# via asgiref
urllib3==1.26.19
urllib3==1.26.20
# via botocore
web-fragments==2.2.0
# via xblock
webencodings==0.5.1
# via
# bleach
# tinycss2
webob==1.8.7
webob==1.8.8
# via xblock
xblock[django]==4.0.1
# via -r requirements/base.in
xblock[django]==4.0.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.in

# The following packages are considered to be unsafe in a requirements file:
# setuptools
10 changes: 5 additions & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
#
# make upgrade
#
cachetools==5.3.3
cachetools==5.5.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.15.4
filelock==3.16.0
# via
# tox
# virtualenv
packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.2
# via
# tox
# virtualenv
Expand All @@ -32,7 +32,7 @@ tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.15.1
tox==4.18.1
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.26.4
# via tox
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# For python greater than or equal to 3.9 backports.zoneinfo causing failures
backports.zoneinfo; python_version<"3.9"

# XBlock==5.0.0 drops Python 3.8 support.
XBlock[django]<5.0.0; python_version<"3.9"
Loading
Loading