Skip to content

Commit

Permalink
Merge pull request #7152 from openedx/feanil/update_translations_to_3.11
Browse files Browse the repository at this point in the history
Update repo to use Python 3.11
  • Loading branch information
Feanil Patel authored Sep 6, 2024
2 parents 6eb4299 + 52b3f78 commit 9c4a200
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 117 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/extract-translation-source-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
uses: actions/setup-python@v4
id: setup_python
with:
python-version: '3.8'
python-version: '3.11'
cache: pip
# The `edx-platf*rm` wildcard will be expanded to `edx-platform` if its requirement file exists,
# otherwise it will be omitted
Expand Down Expand Up @@ -422,7 +422,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

# Installs Python requirements from translations.txt
- name: install requirements
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fix-transifex-resource-names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

# Run the script
- name: Fix transifex automatic resource names
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: steps.filter.outputs.non_pofiles == 'true'
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

# Run the script
- name: run python tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-project-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

# Run the script
- name: Sync reviews for release project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-translation-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/setup-python@v4
id: setup_python
with:
python-version: '3.8'
python-version: '3.11'
cache: pip
cache-dependency-path: |
requirements/translations.txt
Expand Down
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 with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
wheel==0.41.2
wheel==0.44.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==23.2.1
pip==24.2
# via -r requirements/pip.in
setuptools==68.2.2
setuptools==74.1.2
# via -r requirements/pip.in
19 changes: 6 additions & 13 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
#
# 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
#
build==1.0.3
build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.8.0
packaging==24.1
# via build
packaging==23.2
# via build
pip-tools==7.3.0
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
pyproject-hooks==1.1.0
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.41.2
wheel==0.44.0
# via pip-tools
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
91 changes: 32 additions & 59 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,73 +1,68 @@
#
# 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
#
asgiref==3.7.2
asgiref==3.8.1
# via
# -r requirements/translations.txt
# django
asttokens==2.4.0
asttokens==2.4.1
# via
# -r requirements/translations.txt
# transifex-python
certifi==2023.7.22
certifi==2024.8.30
# via
# -r requirements/translations.txt
# requests
charset-normalizer==3.3.0
charset-normalizer==3.3.2
# via
# -r requirements/translations.txt
# requests
click==8.1.7
# via
# -r requirements/translations.txt
# transifex-python
coverage[toml]==7.3.2
coverage[toml]==7.6.1
# via pytest-cov
django==3.2.22
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/translations.txt
# edx-i18n-tools
edx-i18n-tools==1.3.0
edx-i18n-tools==1.6.3
# via -r requirements/translations.txt
exceptiongroup==1.1.3
# via pytest
future==0.18.3
future==1.0.0
# via
# -r requirements/translations.txt
# pyseeyou
gitdb==4.0.10
# via
# -r requirements/translations.txt
# gitpython
gitpython==3.1.37
# via
# -r requirements/translations.txt
# transifex-client
idna==3.4
idna==3.8
# via
# -r requirements/translations.txt
# requests
iniconfig==2.0.0
# via pytest
lxml==4.9.3
lxml[html-clean]==5.3.0
# via
# -r requirements/translations.txt
# edx-i18n-tools
packaging==23.2
# lxml-html-clean
lxml-html-clean==0.2.2
# via
# -r requirements/translations.txt
# lxml
packaging==24.1
# via pytest
parsimonious==0.10.0
# via
# -r requirements/translations.txt
# pyseeyou
path==16.7.1
path==16.16.0
# via
# -r requirements/translations.txt
# edx-i18n-tools
pluggy==1.3.0
pluggy==1.5.0
# via pytest
polib==1.2.0
# via
Expand All @@ -77,74 +72,52 @@ pyseeyou==1.0.2
# via
# -r requirements/translations.txt
# transifex-python
pytest==7.4.2
pytest==8.3.2
# via
# -r requirements/test.in
# pytest-cov
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/test.in
python-slugify==4.0.1
# via
# -r requirements/translations.txt
# transifex-client
pytz==2023.3.post1
# via
# -r requirements/translations.txt
# django
# transifex-python
pyyaml==6.0.1
python-slugify==8.0.4
# via -r requirements/translations.txt
pyyaml==6.0.2
# via
# -r requirements/translations.txt
# edx-i18n-tools
# responses
regex==2023.10.3
regex==2024.7.24
# via
# -r requirements/translations.txt
# parsimonious
requests==2.31.0
requests==2.32.3
# via
# -r requirements/translations.txt
# responses
# transifex-client
# transifex-python
responses==0.23.3
responses==0.25.3
# via -r requirements/test.in
six==1.16.0
# via
# -r requirements/translations.txt
# asttokens
# transifex-client
smmap==5.0.1
# via
# -r requirements/translations.txt
# gitdb
sqlparse==0.4.4
sqlparse==0.5.1
# via
# -r requirements/translations.txt
# django
text-unidecode==1.3
# via
# -r requirements/translations.txt
# python-slugify
tomli==2.0.1
# via
# coverage
# pytest
toolz==0.12.0
toolz==0.12.1
# via
# -r requirements/translations.txt
# pyseeyou
transifex-client==0.14.4
transifex-client==0.12.5
# via -r requirements/translations.txt
transifex-python==3.4.0
transifex-python==3.5.0
# via -r requirements/translations.txt
types-pyyaml==6.0.12.12
# via responses
typing-extensions==4.8.0
# via
# -r requirements/translations.txt
# asgiref
urllib3==1.26.17
urllib3==2.2.2
# via
# -r requirements/translations.txt
# requests
Expand Down
1 change: 1 addition & 0 deletions requirements/translations.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pyyaml
requests
transifex-client
transifex-python
python-slugify
Loading

0 comments on commit 9c4a200

Please sign in to comment.