Commit Graph

74 Commits

Author SHA1 Message Date
Aarif
36d06e949e Merge pull request #22903 from edx/BOM-1068
Replaced jsonfield with jsonfield2 - BOM-1068
2020-02-11 17:15:19 +05:00
Aarif
c9309a4b41 replaced jsonfield with jsonfield2 2020-02-11 16:17:51 +05:00
Ayub-khan
d3a02bc3e5 BOM-1121
-Updated middleware setting to use use middleware insted of
middleware_classes
-github install of django-method-override fork to support
new style middleware in django1.11
2020-02-11 14:35:26 +05:00
Michael Terry
6813414a0c Update requirements
Fix constraints to not have a lingering pin on edx-when. And
add constraint on version of mock that supports python 3.5.

And then a general make upgrade.
2020-02-06 13:28:30 -05:00
Chris Pappas
247cffa846 Bumping edx-enterprise version (#23003)
* Bumping edx-enterprise version

* Running make upgrade to bump edx-enterprise

* contraining a package

* fix

* adding yet another constraint
2020-02-03 12:39:21 -05:00
Calen Pennington
b0f090476c Upgrade edx-when to 0.6.0 to support converting relative to absolute dates 2020-01-30 14:39:32 -05:00
Diana Huang
4c48e0e558 Unpin edx-rest-api-client and make upgrade. 2020-01-24 13:33:18 -05:00
Manjinder Singh
d9b8fb6eb6 Constraining edx-rest-api-client (#22924)
* Constraining edx-rest-api-client

* Decreased pin on edx-rest-api-client from <3.0.0 to <2.0.0
2020-01-23 11:13:37 -05:00
Jeremy Bowman
7bbd229526 Unpin more outdated dependencies (#22898)
Unpin several more outdated dependencies whose changelogs don't contain any significant backwards incompatible changes. Also add "moto" to the list of packages to uninstall from existing environments, since it requires a jsondiff version that clashes with the one we now use (triggering a harmless but distracting warning on dependency updates).

We can potentially stop using path.py/path altogether by switching to pathlib in the Python 3 standard library, but that merits a separate PR of its own.

Also, note that I'm not actually unpinning freezegun; different PRs restricted it in both constraints.txt and test.in, I'm just removing the latter redundant constraint.
2020-01-23 06:59:32 -05:00
Zulqarnain
c6e06b5327 Django 1.1 support of bridgekeeper 2020-01-22 14:25:43 +05:00
Awais Qureshi
269b34a198 BOM-1126
Removing the moto.
2020-01-16 15:04:24 +05:00
Diana Huang
6dbc0e77d2 Merge pull request #22843 from edx/jenkins/upgrade-python-requirements-533adf6
Python Requirements Update
2020-01-15 10:40:23 -05:00
Brittney Exline
1209dc35b1 pinning freezegun because of it breaking a test 2020-01-14 17:09:17 -05:00
Diana Huang
28743215bd Pin freezegun due to breaking shib in third_party_auth. 2020-01-14 16:56:26 -05:00
Jeremy Bowman
f10a7550d7 Unpin more dependencies (#22690) 2020-01-06 15:07:01 -05:00
Jeremy Bowman
a4b2db677a Downgrade pandas and python-dateutil (#22703) 2020-01-03 12:12:11 -05:00
Manjinder Singh
6c69b6d435 Adding code to output pytest warnings. (#22570)
* Added pytest-json-report plugin
	- modifying app-opts in setup.cfg
	- adding hook to all conftest.py files in repo
	- setting report to be saved to test_root/log/warnings.json
	- Writing custom logic to save json report to avoid overwrite if pytest called twice
This was created to allow us to easily parse through test warnings in jenkins
2020-01-02 10:01:52 -05:00
Jeremy Bowman
eace6e36a7 Unpin assorted dependencies (#22656) 2019-12-30 17:09:14 -05:00
Jeremy Bowman
63574e12b8 Remove pytest version constraint (#22626)
Fix the issue that was preventing us from upgrading pytest.  pytest does some manipulation of test packages that prevents `pkg_resources` from loading resources from them, but used to contain a workaround for the problem.  That workaround was [removed](https://github.com/pytest-dev/pytest/issues/5392) in 4.6.0 as a performance enhancement when pytest switched from `pkg_resources` to `importlib-metadata` for its own entrypoint handling.  This tripped up one of our test modules which defined classes that loaded templates from inside a test package.  Moving these resources to the parent package fixes the problem.

More and more, `pkg_resources` is being abandoned in favor of `importlib-metadata` and `importlib_resources` as they have a simpler design with much better performance.  However, `importlib_resources` doesn't support loading files from any directory which isn't itself a Python package (and doesn't allow direct use of paths including directories within the package).  Jinja2 chose a [different approach](https://github.com/pallets/jinja/pull/1082) that we may want to emulate in our resource handling.

Also fixed usage of a removed `pytest.raises()` parameter and a bug in our configuration of the `common/lib` tests that became a problem after the upgrade.
2019-12-30 09:10:57 -05:00
Jeremy Bowman
0cb7539999 Python dependencies cleanup (#22612) 2019-12-27 11:00:46 -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
Ayub khan
5c4c9fd26e BOM-1085
-bumped django-model-utils version to support django 22
2019-12-16 14:03:57 +05:00
Awais Qureshi
222523ec24 BOM-1083
Upgrade django-debug-toolbar
2019-12-13 16:08:00 +05:00
Albert (AJ) St. Aubin
12a416486a Upgrade edx-enterprise 2019-12-06 13:20:14 -05:00
Robert Raposa
ddc34bd023 upgrade edx-drf-extensions to 2.4.5 (#22269)
- Upgrade edx-drf-extensions to 2.4.5
- Removed constraint to 2.4.0, because 2.4.2 introduces a workaround for
ARCH-1210 by putting the problematic code behind a django setting.
- Remove unused JWT_AUTH_REFRESH_COOKIE setting.

ARCH-418, ARCH-1269, ARCH-1044

fix broken toggle
2019-11-12 15:10:28 -05:00
Awais Qureshi
f8b1ff538e BOM-1027
guincorn just released its version on 9th-nov-2019 (20.0.0)
and it requires Python 3.x >= 3.4.
so adding constraint < 20.0.0

execute make upgrade
2019-11-12 11:09:25 +05:00
irfanuddinahmad
7bcb618163 Updated requirements for edx-enterprise 2019-10-28 18:02:30 +05:00
Feanil Patel
695ed0cb29 Pin just edx-drf-extensions.
We also pin back edx-lint to fix a regression we introduced when we
started having to roll back all the requirements changes.
2019-10-11 14:08:36 -04:00
Feanil Patel
b6638d21ca Update everything but the constrained packages. 2019-10-10 14:02:37 -04:00
Alex Dusenbery
a379dddc1e Remove faker==2.0.1 constraint; upgrade edx-bulk-grades to 0.6.2 2019-09-23 11:38:19 -04:00
Ned Batchelder
71ce73d98e Merge pull request #21207 from edx/nedbat/api-docs
REST API docs
2019-09-18 16:42:10 -04:00
Ned Batchelder
de0afbfe96 Pin faker to get a consistent version for text-unidecode 2019-09-17 17:37:12 -04:00
Feanil Patel
dc99d61b9c pip-tools 4.x seems to have made this less of a problem.
Issue 851 seems to have been resolved and issue 8.5.2 while still open is
not occuring with the latest version of pip-tools.
2019-09-17 10:27:16 -04:00
Jeremy Bowman
76035c37bc Downgrade transifex-client to upgrade other packages (#21403) 2019-08-21 16:16:15 -04:00
Chris Pappas
b22f08a414 Removing edx-enterprise from constraints and running make upgrade to bump version to 1.9.1 (#21377) 2019-08-19 17:32:46 -04:00
Waheed Ahmed
8dc9ccd2ec Newrelic released a patch, removing constraint.
PROD-533
2019-08-19 14:20:03 +05:00
Brittney Exline
c29b1dd92a Reverting to last stable version of edx-enterprise 2019-08-16 13:31:07 -04:00
Waheed Ahmed
e81500a25e Downgrade newrelice version from 5.0.0.124 to 4.20.1.121.
Getting 500 error on stage after upgrading to latest version
of newrelice.
2019-08-08 14:15:19 +05:00
Feanil Patel
74132f8ed9 Update moto to support python3.
We had to pin json diff because of how we pull prod requirements into
testing.txt
2019-08-02 13:41:55 -04:00
Feanil Patel
d9f936b85b Constrain two more requirements.
Both python 3 related but different reasons. numpy dropped python 3
support and faulthandler was pulled into python in python 3.3
2019-07-29 15:48:01 -04:00
muhammad-ammar
3b1a35ee39 upgrade edx-enterprise and edx-rbac 2019-07-24 13:35:04 +05:00
Ned Batchelder
2234aeb1ab Coverage et al that support who-tests-what 2019-07-22 16:24:55 -04:00
Ned Batchelder
1ec0486553 Pin pip-tools because of bugs 2019-07-19 13:59:43 -04:00
Dave St.Germain
e56f90a767 Make upgrade 2019-07-17 15:01:43 -04:00
Feanil Patel
287b5166b6 Limit ruamel.ordereddict to python 2.7. (#21142) 2019-07-16 14:41:12 -04:00
muhammad-ammar
cee2359141 pin edx-search==1.2.2 2019-07-16 19:06:19 +05:00
Brittney Exline
2b8cb8cf9b Fixing dependency issues so that make upgrade can run 2019-07-16 17:34:20 +05:00
Jeremy Bowman
45e390d0ea Upgrade to edx-opaque-keys 1.0.1 (#20817) 2019-06-14 12:15:44 -04:00
Brittney Exline
96cc889171 Unpin edx-enterprise and edx-drf-extensions 2019-06-07 14:35:38 -04:00
Brittney Exline
28d67bc22d Pinning edx-enterprise, edx-drf-extensions, and edx-rbac to last stable versions 2019-06-06 10:53:32 -04:00