Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ['3.12']
toxenv: [quality, docs, pii-annotations, django42, django52]
toxenv: [quality, docs, pii-annotations, django52]

steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.12' && matrix.toxenv=='django42'
if: matrix.python-version == '3.12' && matrix.toxenv=='django52'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Change Log
.. There should always be an "Unreleased" section for changes pending release.

Unreleased
----------
Nothing

[2.3.21]
---------------------
* build: upgrade requirements

[2.3.20] - 2026-01-29
---------------------
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: clean compile_translations coverage diff_cover docs dummy_translations \
extract_translations fake_translations help pii_check pull_translations push_translations \
quality requirements selfcheck test test-all upgrade validate
quality requirements selfcheck test test-all upgrade validate venv

.DEFAULT_GOAL := help

Expand All @@ -11,6 +11,9 @@ help: ## display this help message
@echo "Please use \`make <target>' where <target> is one of"
@awk -F ':.*?## ' '/^[a-zA-Z]/ && NF==2 {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort

venv: ## create a virtualenv if it doesn't exist, then activate it
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a convenience for use within containers to manage deps independently of the app the container primarily runs.

test -d venv || python3 -m venv venv

clean: ## remove generated byte code, coverage reports, and build artifacts
find . -name '__pycache__' -exec rm -rf {} +
find . -name '*.pyc' -exec rm -f {} +
Expand Down
14 changes: 7 additions & 7 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
cachetools==6.2.2
cachetools==7.0.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.4.0
# via virtualenv
filelock==3.20.0
filelock==3.20.3
# via
# tox
# virtualenv
packaging==25.0
packaging==26.0
# via
# pyproject-api
# tox
platformdirs==4.5.0
platformdirs==4.5.1
# via
# tox
# virtualenv
pluggy==1.6.0
# via tox
pyproject-api==1.10.0
# via tox
tox==4.32.0
tox==4.34.1
# via -r requirements/ci.in
virtualenv==20.35.4
virtualenv==20.36.1
# via tox
16 changes: 7 additions & 9 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@
# pin when possible. Writing an issue against the offending project and
# linking to it here is good.

# Stay on an LTS release
django<4.3
# Common constraints for edx repos
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt

path==13.1.0

# latest version causing issues in discovery.
algoliasearch-django<4.0.0
algoliasearch<2.0.0

# pip 25.3 is incompatible with pip-tools hence causing failures during the build process
# pip 25.3 is incompatible with pip-tools hence causing failures during the build process
# Make upgrade command and all requirements upgrade jobs are broken due to this.
# See issue https://github.com/openedx/public-engineering/issues/440 for details regarding the ongoing fix.
# The constraint can be removed once a release (pip-tools > 7.5.1) is available with support for pip 25.3
# Issue to track this dependency and unpin later on: https://github.com/openedx/taxonomy-connector/issues/266
pip<25.3

# 2026-02-02: newer versions of algoliasearch not backwards compatible
algoliasearch-django<4.0.0
algoliasearch<2.0.0
Loading
Loading