Commit Graph

979 Commits

Author SHA1 Message Date
Braden MacDonald
3b5edaa1ad chore: fix a few JS lint issues that eslint is warning about (#36177) 2025-03-13 10:08:02 -07:00
Feanil Patel
e36db6e251 feat!: Drop usage of the picturefill polyfill.
This package is no longer supported (https://www.npmjs.com/package/picturefill)
and it was a polyfill for the Picture element which is now widely
supported (https://caniuse.com/?search=Picture) and we only used it in
one spot to make things work correctly in IE.  I think it's safe to drop
as we and the world has stopped supporting IE a while ago.

BREAKING CHANGE: Program Card images on the legacy learner dashboard may
no longer load properly on IE.
2025-03-10 11:51:33 -04:00
edX requirements bot
e21d4b40db chore: Upgrade Python requirements 2025-03-04 11:16:09 -05:00
edX requirements bot
d853350eb3 chore: Upgrade Python requirements 2025-03-04 10:48:32 -05:00
Irtaza Akram
a8a8ae3286 fix: replace pkg_resources with importlib.resources (#36213) 2025-02-13 17:43:07 +05:00
Jesper Hodge
1f43d17b21 Revert "Replace pkg_resources with importlib.resources" (#36208) 2025-02-05 08:51:50 -05:00
Usama Sadiq
2d7a3d3fbd fix: remove pylint constraint (#36169) 2025-01-27 21:25:42 +05:00
edX requirements bot
cb55799bab chore: Upgrade Python requirements (#36166) 2025-01-24 20:45:35 +05:00
Feanil Patel
2a07080a08 build: Drop an unused Dockerfile (#36161)
* build: Drop an unused Dockerfile

We never cleaned up the docker file we were using for custom github
runners when we switched to standard runners.  This cleans that up and
removes another Docker mention that is out of date.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2025-01-23 13:31:28 -05:00
Feanil Patel
da0d365ee3 Merge pull request #36044 from openedx/pkg_resources-depr
Replace pkg_resources with importlib.resources
2025-01-23 11:05:45 -05:00
edX requirements bot
c1398b2bca chore: Upgrade Python requirements 2025-01-22 10:52:01 -05:00
Feanil Patel
bdef5ad6aa test: Drop some stub config.
I believe this was only used with BokChoy and just got missed in the
various cleanup.  Removing it now since we're not using it.
2025-01-13 14:41:30 -05:00
edX requirements bot
f452798565 chore: Upgrade Python requirements (#36076)
* chore: Upgrade Python requirements

* chore: Upgrade Python requirements (#36079)

* feat: Upgrade Python dependency urllib3 (#36081)

upgrade: upgrade urllib3 version

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>
2025-01-08 16:45:31 +05:00
Irtaza Akram
acdbff8b4c fix: remove pkg_resources 2025-01-08 16:45:19 +05:00
Kyle D. McCormick
2d5543a9ae feat!: Remove Paver
BREAKING CHANGE: Removes all remaining Paver commands including
`pavelib/prereqs.py:*` and `pavelib/assets.py:*`.

BREAKING CHANGE: Removes `./manage.py [lms|cms] compile_sass`, which
was just a wrapper around Paver commands.

BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt
instead.

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
salmannawaz
38dc4eab5d chore: Ensure the return code is handled correctly to account for any unexpected behavior. (#36068)
* chore: Ensure the return code is handled correctly to account for any unexpected behavior.
2025-01-02 23:48:21 +05:00
Kyle McCormick
3e9158e9a8 build(eslint): Ignore Symlinks and Reduce Violation Limit (#36010)
Background: We have a large number of standing eslint violations in our
legacy frontends. Rather than fixing or amnesty-ing all of them, we've
opted to use a simple integer limit of violations. Exceeding this
limit causes the quality check to fail.

Before we moved eslint off of Paver [1], the limit was unreasonably
high (probably due to deprecations that removed violation-rich frontend
code). This was good, except for the fact that we essentially weren't
catching when new violations creeped into the JS code.

So, in [1], we lowered the limit down to the lowest possible value,
which we thought was 1285. However, we've found that this made the check
flaky-- turned out, we have been unintentionally double-counting various
violations due to the symlinks in edx-platform. Some of those symlinks'
existence is dependent on whether and how `npm ci` and `npm run build`
have been run. As a result, 1285 would pass in some contexts, and fail
in other contexts.

The fix is to simply add all the relevant edx-platform symlinks to
.eslintignore. This allows us to lower the violations limit to 734.

[1] https://github.com/openedx/edx-platform/pull/35159
2024-12-11 17:06:53 +00:00
salmannawaz
1573c7b07f build: replace paver quality tests and js commands (#35159) 2024-12-11 19:15:17 +05:00
edX requirements bot
dda76a97af chore: Upgrade Python requirements 2024-12-05 10:48:15 -05:00
Irtaza Akram
ec2a698604 cleanup references of python 2 & <3.11 (#35799)
* chore: cleanup of old python references
2024-11-15 16:58:20 +05:00
Kyle McCormick
2769a00e39 build: Remove unneccessary built-in XBlock Sass built steps (#35833)
Since all built-in block Sass is gone, we remove two final pieces of code:

* the steps in `npm run compile-sass` which compiled `xmodule/assets`, and
* the now-unused `add_sass_to_fragment` function.

This should speed up the edx-platform assets build a little bit.
This commit also includes some minor dev doc updates.

Part of: https://github.com/openedx/edx-platform/issues/35300
2024-11-14 14:05:30 +00:00
Feanil Patel
5cb29848c3 chore: Update lxml
Run `make upgrade-package package='lxml[html_clean]'` to update lxml and
then `make compile-requirements`
2024-11-05 10:44:02 -05:00
edX requirements bot
e1ecf7296c chore: Upgrade Python requirements (#35735) 2024-10-29 12:17:40 +05:00
David Ormsbee
e286d78a29 chore: requirements updates (edx-search 4.1.0 and others) 2024-10-23 12:47:10 -04:00
Usama Sadiq
fcf78db09e fix: pin urllib3 in user retirement scripts (#35699)
* fix: pin urllib3 in user_retirement scripts
2024-10-22 19:16:40 +05:00
edX requirements bot
6d53952a1e chore: Upgrade Python requirements (#35688) 2024-10-22 18:14:37 +05:00
Muhammad Farhan
f078b1444f fix: remove urllib3<2.0.0 constraint and update dependencies (#35533) 2024-10-21 15:35:06 +05:00
edX requirements bot
178ffbbf7c chore: Upgrade Python requirements (#35651) 2024-10-16 22:14:29 +05:00
Diana Huang
e99769b0dd Revert "feat: Unpin xmlsec and lxml."
This reverts commit 6c045c7b39.
2024-10-11 10:58:42 -04:00
Diana Huang
6c045c7b39 feat: Unpin xmlsec and lxml.
We are now on Python 3.11 and running tests
on the latest version of Ubuntu, which seems to mean
we don't need these pins anymore. In fact, it seems
to break while on these pins.
2024-10-10 15:38:15 -04:00
github-actions[bot]
6c3d8fa520 feat: Upgrade Python dependency edx-django-utils (#35575)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-10-01 15:35:50 -04:00
edX requirements bot
f5e3635504 chore: Upgrade Python requirements 2024-09-26 10:13:02 -04:00
edX requirements bot
860ca3c204 chore: Upgrade Python requirements 2024-08-19 22:23:27 -04:00
Justin Hynes
e4855536fd Revert: revert generic retirement update (#35317)
* Revert "fix: change settings config to empty list not dict"

This reverts commit b65550c796.

* Revert "fix: dependencies again"

This reverts commit c06416bed7.

* Revert "feat: updated user retirement docs"

This reverts commit c9641b35d4.

* Revert "fix: install dependencies"

This reverts commit a5442b2409.

* Revert "Revert "fix: dependencies""

This reverts commit 4cde950007.

* Revert "fix: dependencies"

This reverts commit 8a1c30ebc5.

* Revert "fix: Add CI update for tests"

This reverts commit 64098b6dab.

* Revert "fix: tests"

This reverts commit 5e636dea16.

* Revert "fix: generalize internal services"

This reverts commit e8f9db428d.

* Revert "fix: quality"

This reverts commit 77ca0f754a.

* Revert "feat: Commerce Coordinator step in retirement pipeline"

This reverts commit c24c87499f.
2024-08-15 12:28:52 -04:00
Jade Olivier
c06416bed7 fix: dependencies again 2024-08-14 11:24:59 +02:00
Jade Olivier
c9641b35d4 feat: updated user retirement docs 2024-08-14 10:21:24 +02:00
Jade Olivier
a5442b2409 fix: install dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
4cde950007 Revert "fix: dependencies"
This reverts commit 2659ae9fff3ec9a85298cae623097177bd869659.
2024-08-14 10:21:24 +02:00
Jade Olivier
8a1c30ebc5 fix: dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
5e636dea16 fix: tests 2024-08-14 10:21:24 +02:00
Jade Olivier
e8f9db428d fix: generalize internal services 2024-08-14 10:21:24 +02:00
Jade Olivier
77ca0f754a fix: quality 2024-08-14 10:21:23 +02:00
Jade Olivier
c24c87499f feat: Commerce Coordinator step in retirement pipeline 2024-08-14 10:21:23 +02:00
edX requirements bot
834dc31073 chore: Upgrade Python requirements (#35241) 2024-08-06 19:18:33 +00:00
github-actions[bot]
3c64b747e5 feat: Upgrade Python dependency edx-django-utils (#35235)
Update to latest version with updates to function trace functionality.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-08-06 10:25:00 -04:00
Deborah Kaplan
a7f6cf160c feat: removing the from the retirement pipeline (#35215)
although the demographics IDA has not been entirely deprecated as yet,
it is about to be, so removing from the retirement pipeline.
2024-08-01 13:23:50 -04:00
Deborah Kaplan
089b34a6bf feat: removing the demographics application stage 2 (#35186)
* removing the application folder
* removing references in all other files

FIXES: APER-3560
2024-07-26 11:13:35 -04:00
Muhammad Umar Khan
e9e4a3d041 feat!: upgrade pymongo (#35179) 2024-07-26 15:34:17 +05:00
Muhammad Umar Khan
5198496703 Revert "feat!: upgrade pymongo (#34675)" (#35178)
This reverts commit cbd4904e1b.
2024-07-25 18:42:03 +05:00
Muhammad Umar Khan
cbd4904e1b feat!: upgrade pymongo (#34675) 2024-07-25 16:03:06 +05:00