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
25 changes: 15 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8']
toxenv: ["py38", "quality"]

python-version: ['3.11', '3.12']
toxenv: ['default', 'quality']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -32,13 +31,19 @@ jobs:
run: pip install -r requirements/ci.txt

- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox
run: |
if [ "${{ matrix.toxenv }}" = "default" ]; then
PYVER=${{ matrix.python-version }}
TOXENV=py${PYVER//./}
else
TOXENV=${{ matrix.toxenv }}
fi
echo "Resolved TOXENV=$TOXENV"
TOXENV=$TOXENV tox

- name: Run coverage
if: matrix.python-version == '3.8' && matrix.toxenv == 'py38'
uses: codecov/codecov-action@v4
if: matrix.python-version == '3.12' && matrix.toxenv == 'default'
uses: codecov/codecov-action@v5
with:
flags: unittests
fail_ci_if_error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Unreleased

*

[2.0.0] - 2025-05-17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changed
_______

* Dropped support for Python 3.8 and added support for Python 3.12.

[1.0.0] - 2022-05-17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -24,4 +32,3 @@ _____

* First release on PyPI.
* codejail includes moved from edx-platform to individual pypi package.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ One Time Setup
cd codejail-includes

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 codejail-includes
mkvirtualenv -p python3.11 codejail-includes


Every time you develop something in this repo
Expand Down
1 change: 0 additions & 1 deletion loncapa/loncapa_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import math
import random
from six.moves import range


def lc_random(lower, upper, stepsize):
Expand Down
2 changes: 0 additions & 2 deletions requirements/base.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Core requirements for using this application
-c constraints.txt

six
4 changes: 1 addition & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#
# 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
#
six==1.16.0
# via -r requirements/base.in
40 changes: 22 additions & 18 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
#
# 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
#
distlib==0.3.7
cachetools==5.5.2
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.9
# via virtualenv
filelock==3.12.4
filelock==3.18.0
# via
# tox
# virtualenv
packaging==23.2
# via tox
platformdirs==3.11.0
# via virtualenv
pluggy==1.3.0
# via tox
py==1.11.0
# via tox
six==1.16.0
packaging==25.0
# via
# pyproject-api
# tox
platformdirs==4.3.7
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
tomli==2.0.1
pyproject-api==1.9.0
# via tox
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/ci.in
virtualenv==20.24.6
tox==4.25.0
# via -r requirements/ci.in
virtualenv==20.31.1
# via tox
Loading