Commit Graph

48 Commits

Author SHA1 Message Date
Arunmozhi
c54d8a81bf refactor: deprecate node_path attribute of ModuleSystem (#30447)
The node_path attribute & constructor argument of the ModuleSystem is
deprecated without any replacement service or fallback as there doesn't
seem to be any core blocks using it.

It also removes the references to node_path from the LMS settings, the
LoncapaModuleSystem and the XBlock runtime shim.

Co-authored-by: Agrendalath <piotr@surowiec.it>
2022-06-08 18:06:59 +02:00
Awais Qureshi
b97af6ac6e build: Removing un-used django versions from tox and other places. (#30270) 2022-04-19 16:41:29 +05:00
Muhammad Soban Javed
e2dc24af3a fix: update quality checks for django 3.2 (#28958) 2021-10-06 23:44:48 +05:00
Awais Qureshi
6326bdb65b fix: fixing file path in tox requirements. 2021-09-22 18:42:35 +05:00
Awais Qureshi
71567719f2 fix: Don't use django-cookies-samesite on Django > 3.1
BOM-2752
2021-09-20 18:54:52 +05:00
Jawayria
90d5eb122a chore: Executed tox-modernizer codemod 2021-08-03 18:31:55 +05:00
usamasadiq
842c8cfa80 Update tox to remove python35 2021-02-01 16:25:19 +05:00
morenol
dfa1bf158b Add python 3.8 and django30 to tox.ini and remove django111, django20 and django21 (#23889)
Add python 3.8 and django30 to tox.ini and remove django111, django20, and django21 tox environments
2020-05-12 15:21:32 -04:00
Jeremy Bowman
1c91e8a15a Upgrade to Django 2.2 2020-04-10 15:25:49 -04:00
Nimisha Asthagiri
662a1a466a Django2: Add to tox.ini's envlist 2020-03-31 14:16:46 -04:00
Usama Sadiq
3c563e072d BOM-1404 Updated tox settings (#23439)
Issue: https://openedx.atlassian.net/browse/BOM-1404

* Fixed Django 2.x installation process in tox
* Updated xdist worker Django installation code
* Use correct tox environment variable name

Co-authored-by: Jeremy Bowman <jbowman@edx.org>
2020-03-24 15:06:47 -04:00
usamasadiq
1e33a4f3ba BOM-1143
Django-auth-toolkit update

Pinned the latest commit from github to get Django2.2 support in testing.
Pinned the zipp<2.0.0 to get Python<3.5 support too.
2020-01-24 11:52:23 +05:00
Jeremy Bowman
b2046f6674 Switch make upgrade to Python 3.5 (#22609)
* Switch make upgrade to Python 3.5

* bok-choy fixes, constrain django-debug-toolbar

* Remove flaky bok-choy test
2019-12-26 15:13:02 -05:00
Calen Pennington
11e163d420 Read the current edx-platform git revision from a file on disk 2019-12-17 07:44:28 -05:00
Feanil Patel
77c5ba62a2 Sort tox passenvs. 2019-11-26 15:31:48 -05:00
Feanil Patel
0b40c9045e Add environment variables that coverage needs.
These are used in the coveragerc to referr to equivalent paths for when
combining coverage files.
2019-11-26 15:30:33 -05:00
Feanil Patel
d1728b3d6a Fixes for bokchoy running in python3. 2019-09-12 10:18:46 -04:00
Feanil Patel
113e0cdc06 Pass the python version to tox. 2019-09-04 15:11:10 -04:00
Michael Youngstrom
4d1a320fa0 Add Vars to tox that are needed to get tests to start running. 2019-07-19 09:48:10 -04:00
Michael Youngstrom
139cdb8ba2 Switch testing from ecs to ec2 (#20846) 2019-06-27 22:04:02 -04:00
Jeremy Bowman
5424155cd0 TE-2861 Use correct version of Django in tests (#20271) 2019-04-19 10:44:41 -04:00
Jeremy Bowman
243f30ec83 TE-2886 Upgrade math/science packages in LMS and Studio 2019-03-22 10:02:36 -04:00
Jeremy Bowman
c7fe747c7f More fixes for Python 3 via tox 2019-02-01 15:01:15 -05:00
Michael Youngstrom
592ab1eb86 Fix quality and python private jobs 2019-01-08 10:36:36 -05:00
Michael Youngstrom
b4fcbbd363 Switch Jenkinsfile over to xdist 2018-08-10 11:19:24 -04:00
Jeremy Bowman
defc987a88 TE-2663 Run bok-choy tests in headless Firefox 2018-08-02 11:44:38 -04:00
Michael Youngstrom
ce2ad15c71 Handle multiple containers per task definition 2018-07-20 16:02:14 -04:00
Michael Youngstrom
28d0c4cb18 Add prepare_xdist_nodes script and git ignore xdist txt files 2018-07-18 11:40:42 -04:00
Michael Youngstrom
17238132b7 Remove NPM install for unittest runs 2018-06-29 12:47:55 -04:00
Jeremy Bowman
08a38fb858 TE-2543 Add tox env for Python 3.5 2018-06-04 13:27:14 -04:00
Jeremy Bowman
9477ad23d1 TE-2528 Upgrade testing dependencies 2018-04-25 16:37:29 -04:00
Jeremy Bowman
9ca9aa44c6 PLAT-2060 Use pip-tools to manage requirements files (take 2)
This reverts commit a7fa0c211d.
2018-04-12 17:22:48 -04:00
Feanil Patel
a7fa0c211d Revert "PLAT-2060 Use pip-tools to manage requirements files" 2018-04-10 12:54:41 -04:00
Jeremy Bowman
432347b881 PLAT-2060 Use pip-tools to manage requirements files 2018-04-09 17:07:02 -04:00
Jeremy Bowman
58c765bc31 PLAT-1834 Support running a11y tests in tox 2018-01-25 18:13:14 -05:00
Jeremy Bowman
8513945229 PLAT-1831 Install prereqs for tox-based bok-choy and lettuce runs 2018-01-18 13:44:34 -05:00
Jeremy Bowman
7d436a18ee PLAT-1858 Better capture of deprecation warnings 2018-01-12 18:04:32 -05:00
John Eskew
fc2d0fc61a Remove edx-private requirements from tox env. 2018-01-05 14:23:22 -05:00
John Eskew
7ec06503b9 Install recent version of sqlite/pysqlite to fix crashes in tests. 2017-12-22 13:08:33 -05:00
Stuart Young
471f914f00 install paver after other requirements 2017-12-22 09:55:59 -05:00
Jeremy Bowman
917f877299 PLAT-1840 Fix common/lib tests under Django 1.9 2017-12-13 15:57:00 -05:00
Jeremy Bowman
05e7a4d671 PLAT-1830 Allow running any test suite in tox 2017-12-11 15:43:01 -05:00
John Eskew
50ebfaf734 Add -Wd when running pytest to turn on deprecation warnings in Django 1.11 2017-12-05 16:25:56 -05:00
Troy Sankey
7895c28542 Add flags to tox.ini so paver tests can run 2017-12-01 15:05:20 -05:00
Jeremy Bowman
d6dc209569 Fixes for common/lib tests in Django 1.9+ 2017-11-15 11:00:39 -05:00
John Eskew
8bd17fc6a9 Add edx-private and sandbox req files to tox env. 2017-10-13 17:19:21 -04:00
John Eskew
0ee412831f Include paver in tox env - a few tests use it. 2017-09-29 10:39:51 -04:00
John Eskew
be14aef51c Add tox.ini to enable tox testing. 2017-09-25 10:33:15 -04:00