Skip to content

Commit

Permalink
build: python 3.11 and 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ichintanjoshi authored and DawoudSheraz committed Apr 15, 2024
1 parent 7666f4d commit f55bf82
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['py38', 'py311']
python-version: ['py38', 'py311', 'py312']
django-version: ['django42']
db-version: ['mysql80']
pytest-split-group: [1, 2, 3, 4, 5, 6]
Expand Down
1 change: 0 additions & 1 deletion requirements/local.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

django-debug-toolbar
django-elasticsearch-debug-toolbar
docker-compose
edx-i18n-tools
pytest-split
pywatchman # For devserver code reloading
Expand Down
50 changes: 9 additions & 41 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# djangorestframework
# kombu
# pendulum
bcrypt==4.1.2
# via paramiko
beautifulsoup4==4.12.3
# via
# -r requirements/base.in
Expand All @@ -77,9 +75,9 @@ boltons==21.0.0
# face
# glom
# semgrep
boto3==1.34.79
boto3==1.34.80
# via django-ses
botocore==1.34.79
botocore==1.34.80
# via
# boto3
# s3transfer
Expand Down Expand Up @@ -155,7 +153,6 @@ coverage[toml]==7.4.4
# pytest-cov
cryptography==42.0.5
# via
# paramiko
# pyjwt
# pyopenssl
# simple-salesforce
Expand All @@ -176,8 +173,6 @@ dill==0.3.8
# via pylint
distlib==0.3.8
# via virtualenv
distro==1.9.0
# via docker-compose
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
Expand Down Expand Up @@ -275,7 +270,7 @@ django-filter==24.2
# via
# -r requirements/base.in
# taxonomy-connector
django-fsm==2.8.1
django-fsm==3.0.0
# via -r requirements/base.in
django-guardian==2.4.0
# via -r requirements/base.in
Expand Down Expand Up @@ -345,14 +340,6 @@ djangorestframework-csv==3.0.2
# via -r requirements/base.in
djangorestframework-xml==2.0.0
# via -r requirements/base.in
docker[ssh]==7.0.0
# via docker-compose
docker-compose==1.29.2
# via -r requirements/local.in
dockerpty==0.4.1
# via docker-compose
docopt==0.6.2
# via docker-compose
docutils==0.19
# via
# pydata-sphinx-theme
Expand Down Expand Up @@ -393,7 +380,7 @@ edx-django-utils==5.12.0
# taxonomy-connector
edx-drf-extensions==10.3.0
# via -r requirements/base.in
edx-event-bus-kafka==5.6.0
edx-event-bus-kafka==5.7.0
# via -r requirements/base.in
edx-event-bus-redis==0.5.0
# via -r requirements/base.in
Expand Down Expand Up @@ -440,7 +427,7 @@ face==22.0.0
# via glom
factory-boy==3.3.0
# via -r requirements/test.in
faker==24.7.1
faker==24.8.0
# via factory-boy
fastavro==1.9.4
# via openedx-events
Expand Down Expand Up @@ -527,9 +514,7 @@ jmespath==1.0.1
jsonfield==3.1.0
# via -r requirements/base.in
jsonschema==3.2.0
# via
# docker-compose
# semgrep
# via semgrep
kombu==5.3.6
# via celery
libsass==0.23.0
Expand Down Expand Up @@ -581,7 +566,6 @@ outcome==1.3.0.post0
packaging==21.3
# via
# django-nine
# docker
# drf-yasg
# pydata-sphinx-theme
# pyproject-api
Expand All @@ -590,9 +574,7 @@ packaging==21.3
# snowflake-connector-python
# sphinx
# tox
paramiko==3.4.0
# via docker
path==16.13.0
path==16.14.0
# via edx-i18n-tools
pbr==6.0.0
# via stevedore
Expand Down Expand Up @@ -679,9 +661,7 @@ pymemcache==4.0.0
pymongo==3.13.0
# via edx-opaque-keys
pynacl==1.5.0
# via
# edx-django-utils
# paramiko
# via edx-django-utils
pyopenssl==24.1.0
# via snowflake-connector-python
pyparsing==3.1.2
Expand Down Expand Up @@ -725,8 +705,6 @@ python-dateutil==2.9.0.post0
# freezegun
# pendulum
# time-machine
python-dotenv==0.21.1
# via docker-compose
python-lsp-jsonrpc==1.0.0
# via semgrep
python-memcached==1.62
Expand All @@ -753,10 +731,9 @@ pytz==2024.1
# zeep
pywatchman==2.0.0
# via -r requirements/local.in
pyyaml==5.4.1
pyyaml==6.0.1
# via
# code-annotations
# docker-compose
# drf-yasg
# edx-django-release-util
# edx-i18n-tools
Expand All @@ -772,8 +749,6 @@ requests==2.31.0
# -r requirements/base.in
# algoliasearch
# contentful
# docker
# docker-compose
# edx-analytics-data-api-client
# edx-drf-extensions
# edx-rest-api-client
Expand Down Expand Up @@ -831,7 +806,6 @@ six==1.16.0
# via
# django-elasticsearch-dsl
# django-elasticsearch-dsl-drf
# dockerpty
# edx-auth-backends
# edx-ccx-keys
# edx-django-release-util
Expand All @@ -841,7 +815,6 @@ six==1.16.0
# jsonschema
# python-dateutil
# python-monkey-business
# websocket-client
slumber==0.7.1
# via edx-rest-api-client
sniffio==1.3.1
Expand Down Expand Up @@ -901,8 +874,6 @@ testfixtures==8.1.0
# via -r requirements/test.in
text-unidecode==1.3
# via python-slugify
texttable==1.7.0
# via docker-compose
time-machine==2.14.1
# via pendulum
tinycss2==1.2.1
Expand Down Expand Up @@ -960,7 +931,6 @@ uritemplate==4.1.1
urllib3[socks]==1.26.18
# via
# botocore
# docker
# elasticsearch
# requests
# responses
Expand All @@ -984,8 +954,6 @@ webencodings==0.5.1
# via
# cssselect2
# tinycss2
websocket-client==0.59.0
# via docker-compose
wsproto==1.2.0
# via trio-websocket
xss-utils==0.5.0
Expand Down
8 changes: 4 additions & 4 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ beautifulsoup4==4.12.3
# taxonomy-connector
billiard==4.2.0
# via celery
boto3==1.34.79
boto3==1.34.80
# via django-ses
botocore==1.34.79
botocore==1.34.80
# via
# boto3
# s3transfer
Expand Down Expand Up @@ -208,7 +208,7 @@ django-filter==24.2
# via
# -r requirements/base.in
# taxonomy-connector
django-fsm==2.8.1
django-fsm==3.0.0
# via -r requirements/base.in
django-guardian==2.4.0
# via -r requirements/base.in
Expand Down Expand Up @@ -316,7 +316,7 @@ edx-django-utils==5.12.0
# taxonomy-connector
edx-drf-extensions==10.3.0
# via -r requirements/base.in
edx-event-bus-kafka==5.6.0
edx-event-bus-kafka==5.7.0
# via -r requirements/base.in
edx-event-bus-redis==0.5.0
# via -r requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38, 311}-django{42}
envlist = py{38, 311, 312}-django{42}
skipsdist=true

[pytest]
Expand Down

0 comments on commit f55bf82

Please sign in to comment.