Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Bump installed Python and fix stage name (#5029)

Dhruv Bhanushali4aaa74783396
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index febd1f4b8..63af91487 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -32,10 +32,11 @@ runs:
if: inputs.setup_python == 'true'
uses: actions/setup-python@v5
with:
- # Ensure that it matches `python_version` field in the following files:
- # - `automations/python/Pipfile`
- # - `dead_links/Pipfile`
- python-version: "3.11"
+ # Ensure that it matches the `requires-python` field in various
+ # `pyproject.toml` files.
+ python-version: |
+ 3.11
+ 3.12
- name: Setup global Python deps
if: inputs.setup_python == 'true'
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dee1cf5ea..d3c37864b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -137,7 +137,7 @@ repos:
language: system
pass_filenames: false
stages:
- - push
+ - pre-push
- id: render-release-drafter
name: render-release-drafter