Skip to content

Commit

Permalink
chore: Update python to 3.12 wherever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed Feb 13, 2024
1 parent bc8a267 commit 9ecaddf
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
default_bump: false
default_prerelease_bump: false
dry_run: true
- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.12"
- name: Create bumpversion
if: steps.tag_version.outputs.new_version
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install python reqs
run: pip install -r requirements/dev.txt
- name: Install aspects
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install python reqs
run: pip install -r requirements/dev.txt
- name: Install aspects
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Generate env
run: |
pip install -r requirements/dev.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-translations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install aspects
run: pip install .
- name: Install requirements
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
- name: Install pip
run: pip install -r requirements/pip.txt
- name: Build package
Expand All @@ -60,7 +60,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install aspects
run: pip install .
- name: Save config
Expand All @@ -85,7 +85,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install aspects
run: pip install .
- name: Save config
Expand All @@ -110,7 +110,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install aspects
run: pip install .
- name: Save config
Expand All @@ -121,7 +121,7 @@ jobs:
run: |
tutor images build openedx --cache-to-registry
tutor images push openedx
build-openedx-dev:
runs-on: ubuntu-latest
needs: release
Expand All @@ -136,7 +136,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
- name: Install aspects
run: pip install .
- name: Save config
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install development dependencies
run: make dev-requirements
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ def load_about():
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)
2 changes: 1 addition & 1 deletion tutoraspects/templates/aspects/build/aspects/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.12

WORKDIR /app

Expand Down

0 comments on commit 9ecaddf

Please sign in to comment.