Skip to content

Commit

Permalink
fix: copy implicit dependencies from paver.in to kernel.in
Browse files Browse the repository at this point in the history
These packages were installed transitively through paver.in, but they
are used as direct dependencies in edx-platform application code:

* psutil
* pymemcache
* wrapt

Since we are demoting paver.in to be a dev-only dependency (with plans
to remove paver.in entirely), we need to make those three packages
explicit dependencies in kernel.in

Part of: openedx#34467
  • Loading branch information
kdmccormick committed Dec 12, 2024
1 parent 2e0755a commit b62342d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions requirements/edx/kernel.in
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,15 @@ openedx-django-wiki
path
piexif # Exif image metadata manipulation, used in the profile_images app
Pillow # Image manipulation library; used for course assets, profile images, invoice PDFs, etc.
psutil # Library for retrieving information on running processes and system utilization
pycountry
pycryptodomex
pyjwkest
# TODO Replace PyJWT usage with pyjwkest
# PyJWT 1.6.3 contains PyJWTError, which is required by Apple auth in social-auth-core
PyJWT>=1.6.3
pylti1p3 # Required by content_libraries core library to support LTI 1.3 launches
pymemcache # Python interface to the memcached memory cache daemon
pymongo # MongoDB driver
pynliner # Inlines CSS styles into HTML for email notifications
python-dateutil
Expand All @@ -157,5 +159,6 @@ unicodecsv # Easier support for CSV files with unicode
user-util # Functionality for retiring users (GDPR compliance)
webob
web-fragments # Provides the ability to render fragments of web pages
wrapt # Better functools.wrapped. TODO: functools has since improved, maybe we can switch?
XBlock[django] # Courseware component architecture
xss-utils # https://github.com/openedx/edx-platform/pull/20633 Fix XSS via Translations
1 change: 1 addition & 0 deletions requirements/edx/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ freezegun # Allows tests to mock the output of assorted datetime
httpretty # Library for mocking HTTP requests, used in many tests
import-linter # Tool for making assertions about which modules can import which others
isort # For checking and fixing the order of imports
mock # Deprecated alias to standard library `unittest.mock`
pycodestyle # Checker for compliance with the Python style guide (PEP 8)
polib # Library for manipulating gettext translation files, used to test paver i18n commands
pyquery # jQuery-like API for retrieving fragments of HTML and XML files in tests
Expand Down

0 comments on commit b62342d

Please sign in to comment.