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

Commit

Permalink
feat: add python312 support
Browse files Browse the repository at this point in the history
fix: update celery package constraint
  • Loading branch information
edx-requirements-bot authored and UsamaSadiq committed Mar 7, 2024
1 parent f7e9106 commit 3e8d220
Show file tree
Hide file tree
Showing 12 changed files with 322 additions and 89 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-20.04
python-version:
- 3.8
toxenv: [ django42 ]
os: [ubuntu-20.04]
python-version: ['3.8', '3.12']
toxenv: [django42]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand All @@ -45,7 +43,7 @@ jobs:
make static
make validate_translations
- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
if: matrix.python-version == '3.12' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v1
with:
flags: unittests
Expand Down
2 changes: 2 additions & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ python-slugify
pytz
redis
social-auth-app-django
backports.zoneinfo; python_version<'3.9'
setuptools
52 changes: 40 additions & 12 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
amqp==2.6.1
amqp==5.2.0
# via kombu
analytics-python==1.4.post1
# via -r requirements/base.in
Expand All @@ -17,11 +17,15 @@ async-timeout==4.0.3
# via redis
backoff==1.10.0
# via analytics-python
backports-zoneinfo==0.2.1
# via django
billiard==3.6.4.0
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# celery
# django
# kombu
billiard==4.2.0
# via celery
celery==4.4.7
celery==5.3.6
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand All @@ -35,7 +39,18 @@ cffi==1.16.0
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via edx-django-utils
# via
# celery
# click-didyoumean
# click-plugins
# click-repl
# edx-django-utils
click-didyoumean==0.3.0
# via celery
click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
cryptography==42.0.5
# via
# pyjwt
Expand All @@ -47,7 +62,6 @@ defusedxml==0.8.0rc2
django==4.2.11
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/base.in
# django-cors-headers
# django-crum
Expand Down Expand Up @@ -116,7 +130,7 @@ edx-auth-backends==4.2.0
# via -r requirements/base.in
edx-django-release-util==1.3.0
# via -r requirements/base.in
edx-django-utils==5.10.1
edx-django-utils==5.11.0
# via
# edx-drf-extensions
# edx-rest-api-client
Expand All @@ -130,7 +144,7 @@ idna==3.6
# via requests
inflection==0.5.1
# via drf-yasg
kombu==4.6.11
kombu==5.3.5
# via celery
monotonic==1.6
# via analytics-python
Expand All @@ -146,6 +160,8 @@ packaging==23.2
# via drf-yasg
pbr==6.0.0
# via stevedore
prompt-toolkit==3.0.43
# via click-repl
psutil==5.9.8
# via edx-django-utils
pycparser==2.21
Expand All @@ -162,7 +178,9 @@ pymongo==3.13.0
pynacl==1.5.0
# via edx-django-utils
python-dateutil==2.9.0.post0
# via analytics-python
# via
# analytics-python
# celery
python-slugify==4.0.1
# via
# -c requirements/constraints.txt
Expand All @@ -172,7 +190,6 @@ python3-openid==3.2.0
pytz==2024.1
# via
# -r requirements/base.in
# celery
# djangorestframework
# drf-yasg
pyyaml==6.0.1
Expand Down Expand Up @@ -221,13 +238,24 @@ typing-extensions==4.10.0
# via
# asgiref
# edx-opaque-keys
# kombu
tzdata==2024.1
# via
# backports-zoneinfo
# celery
uritemplate==4.1.1
# via drf-yasg
urllib3==1.26.18
# via
# -c requirements/constraints.txt
# requests
vine==1.3.0
vine==5.1.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.13
# via prompt-toolkit

# The following packages are considered to be unsafe in a requirements file:
# setuptools
20 changes: 20 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
Expand Down
7 changes: 2 additions & 5 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
# Common constraints for edx repos
-c common_constraints.txt

# This constraint can be removed once global constraint is updated.
Django<4.3

# Version 3.2.0 contains bad arabic translations that will cause validation tests to fail
django-extensions<3.2.0

# django-storages version 1.10.1 is major upgrade.
django-storages==1.10.1

# From base.in
celery<5.0 # version 5.0 drops support for python 3.5
# version being used in edx-platform right now
celery>=5.2.2,<6.0.0


code-annotations>=0.3.1 # Pinned to avoid pyyaml security alerts. (https://github.com/openedx/registrar/pull/42)
Expand Down
Loading

0 comments on commit 3e8d220

Please sign in to comment.