Skip to content

Commit c5590e7

Browse files
pauchambCameron Chambersjdratlif
authored
add urllib3<2 version restriction (#2)
* add urllib3 version restrictions --------- Co-authored-by: Cameron Chambers <[email protected]> Co-authored-by: John Ratliff <[email protected]>
1 parent ae3bdd0 commit c5590e7

File tree

3 files changed

+60
-49
lines changed

3 files changed

+60
-49
lines changed

ChangeLog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Revision History
44

5+
### 1.0.2 - 2023-05-22
6+
7+
* add urllib3<2 version restriction
8+
59
### 1.0.1 - 2023-04-01
610

711
* format code with black
@@ -36,4 +40,4 @@
3640

3741
### 0.0.1 - 2017-08-16
3842

39-
* initial release
43+
* initial release

poetry.lock

Lines changed: 45 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "globalnoc-wsc"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "GlobalNOC Web Service Client with SAML2 and basic auth support"
55
authors = ["GlobalNOC SysEng <[email protected]>"]
66
license = "Apache-2.0"
@@ -12,6 +12,15 @@ python = "^3.8.11"
1212
requests = "^2.28.2"
1313
lxml = "^4.9.2"
1414

15+
# EL7 does not have OpenSSL 1.1.1, which is required for urllib3 v2
16+
# python >= 3.10 requires OpenSSL 1.1.1
17+
# Use urllib3 v2 on newer python where we can guarantee OpenSSL 1.1.1+
18+
# and urlliv3 v1 older python versions
19+
urllib3 = [
20+
{version = "<2.0.0", python = "<3.10"},
21+
{version = "^2.0.2", python = ">=3.10"}
22+
]
23+
1524
[tool.poetry.group.dev.dependencies]
1625
black = "^23.3.0"
1726
flake8 = "^6.0.0"

0 commit comments

Comments
 (0)