Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
fix: pin urllib3==1.26.15
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Sep 5, 2023
1 parent 0a292d9 commit 3c85567
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 16 deletions.
8 changes: 5 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
lazy==1.5
# via -r requirements/base.in
selenium==3.141.0
# via -r requirements/base.in
urllib3==2.0.4
# via selenium
urllib3==1.26.15
# via
# -c requirements/constraints.txt
# selenium
4 changes: 2 additions & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
coverage==7.3.0
# via -r requirements/ci.in
Expand All @@ -26,7 +26,7 @@ tomli==2.0.1
# via tox
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -c requirements/common_constraints.txt
# -r requirements/ci.in
# tox-battery
# tox-travis
Expand Down
27 changes: 27 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
# Similar to other constraint files this file doesn't install any packages.
# It specifies version constraints that will be applied if a package is needed.
# When pinning something here, please provide an explanation of why it is a good
# idea to pin this package across all edx repos, Ideally, link to other information
# that will help people in the future to remove the pin when possible.
# Writing an issue against the offending project and linking to it here is good.
#
# Note: Changes to this file will automatically be used by other repos, referencing
# this file from Github directly. It does not require packaging in edx-lint.


# using LTS django version
Django<4.0

# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html
elasticsearch<7.14.0

# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected
django-simple-history==3.0.0

# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos.
# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810
tox<4.0.0
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@

# This file contains all common constraints for edx-repos
-c common_constraints.txt

# urllib3>1.26.15 breaks bok-choy tests
urllib3==1.26.15
7 changes: 4 additions & 3 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
astroid==2.15.6
# via
Expand Down Expand Up @@ -208,7 +208,7 @@ tomlkit==0.12.1
# pylint
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -c requirements/common_constraints.txt
# -r requirements/ci.txt
# tox-battery
# tox-travis
Expand All @@ -223,8 +223,9 @@ typing-extensions==4.7.1
# astroid
# filelock
# pylint
urllib3==2.0.4
urllib3==1.26.15
# via
# -c requirements/constraints.txt
# -r requirements/needle.txt
# selenium
virtualenv==20.24.4
Expand Down
5 changes: 3 additions & 2 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
accessible-pygments==0.0.4
# via pydata-sphinx-theme
Expand Down Expand Up @@ -84,8 +84,9 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx
typing-extensions==4.7.1
# via pydata-sphinx-theme
urllib3==2.0.4
urllib3==1.26.15
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# requests
# selenium
Expand Down
5 changes: 3 additions & 2 deletions requirements/needle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
astroid==2.15.6
# via
Expand Down Expand Up @@ -161,8 +161,9 @@ typing-extensions==4.7.1
# -r requirements/test.txt
# astroid
# pylint
urllib3==2.0.4
urllib3==1.26.15
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# selenium
wrapt==1.15.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
build==1.0.0
# via pip-tools
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
wheel==0.41.2
# via -r requirements/pip.in
Expand Down
5 changes: 3 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
# make upgrades
#
astroid==2.15.6
# via
Expand Down Expand Up @@ -100,8 +100,9 @@ typing-extensions==4.7.1
# via
# astroid
# pylint
urllib3==2.0.4
urllib3==1.26.15
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# selenium
wrapt==1.15.0
Expand Down

0 comments on commit 3c85567

Please sign in to comment.