Releases: openedx/codejail
Django 3.2 Upgrade
What's Changed
- Python Code Cleanup & Jenkins Upgrade by @UsamaSadiq in #111
- Standardize version number placement by @aht007 in #118
- Django3.2 upgrade by @UsamaSadiq in #120
New Contributors
- @UsamaSadiq made their first contribution in #111
- @aht007 made their first contribution in #118
Full Changelog: 3.1.5...3.2.0
Renamed the package to edx-codejail
Renamed the package to edx-codejail as codejail wasn't allowed on PyPI
Release to PyPI
Added a GitHub action to push release to PyPI
Fix logging of resource limits, overrides context
Fix 'Preparing to execute jailed code' log message (#106) The logging statement added in 3.1.1, and modified in 3.1.2, was typoed. Bump version to 3.1.3
Log overrides context in addition to resource limits
Log limit_overrides_context with resource limits Bump version to 3.1.2
Log resource limits before running jailed code
This release adds a single logging statement for every call to jail_code, including the call's slug and effective resource limits.
Developers: This release also includes a variety of code cleanup. It adds the ability to check code quality/style via make quality or tox -e quality.
Allow context-specific resource limits to be provided
Adds a limit_overrides_context argument to jail_code and safe_exec.
When provided, if settings.CODE_JAIL['limit_overrides'][limit_overrides_context] exists, then prefer those values to the ones in settings.CODE_JAIL['limits'].
This allows limits to be altered for specific contexts (for example, in the context of a certain course run, the permitted execution time could be increased).
Add back support for virtualenv<20.0.0
We removed support for detecting older virtualenvs but then realized that edx-platform deploys on a version of ubuntu that still user the older version of the virtualenv library.
Remove python 2.7 support and add python 3.8
Merge pull request #90 from eduNEXT/lmm/py38_tests [BD-6] Upgrade packages
More Python 3 Related Fixes
Merge pull request #85 from edx/feanil/fix_python3_bugs Feanil/fix python3 bugs