Tags: openedx/codejail
Tags
test: load aa-profiles with compatible ABIs for the host (#207) When not specified AppArmor fallbacks to a default policy specified in the `/etc/apparmor/parser.conf` file. Ubuntu 24.04 does not pin an ABI with network features and such rules are not enforced. From Ubuntu 22.04 onwards, the ABI 3.0 is available so we use that one. For Ubuntu 20.04 we rely on the fallback ABI (2.13).
build: add missing files to PyPI distribution (v3.3.0) (#140) The existing PyPI distribution (edx-codejail 3.2.0) was missing several files that made it unsuitable for installation by edx-platform: * It was missing root scripts: proxy_main.py and memory_stress.py. * It was missing the apparmor-profiles and sudoers-files directories. * It wasn't missing any Python modules under codejail, but *if* any sub-packages had been added to codejail, they would have been omitted from the distribution. This could have bitten someone in the future. To fix, we modify setup.py and add a MANIFEST.in, in line with the pattern established by the cookiecutter repo: https://github.com/openedx/edx-cookiecutters/blob/master/python-template/%7B%7Bcookiecutter.placeholder_repo_name%7D%7D/setup.py This wasn't affecting edx-platform because edx-platform currently does a GitHub-based editable installation (`-e git+https://...`) for codejail. However, we'd like to move away from those editable installations as a they are slow and cannot be kept up-to-date with `make upgrade`. Bump from 3.2.0 to 3.3.0.
PreviousNext