Skip to content

Commit bb2dafd

Browse files
committed
Tighten install_requirements for deps
I skipped voluptuous as it is on 0.x.y and it isn't clear how a breaking change would be versioned.
1 parent c9ec2c9 commit bb2dafd

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

HISTORY.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ History
88

99
* Added ``py.typed`` file per PEP 561. Reported by Árni Már Jónsson. GitHub
1010
#62.
11+
* Tightened ``install_requirements`` for dependencies to prevent a new
12+
major version from being installed.
1113

1214
2.0.2 (2020-07-27)
1315
++++++++++++++++++

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
_readme = f.read()
1818

1919
requirements = [
20-
"aiohttp>=3.6.2",
21-
"email_validator",
20+
"aiohttp>=3.6.2,<4.0.0",
21+
"email_validator>=1.1.1,<2.0.0",
2222
"geoip2>=4.0.0,<5.0.0",
23-
"requests>=2.24.0",
24-
"urllib3>=1.25.2",
23+
"requests>=2.24.0,<3.0.0",
24+
"urllib3>=1.25.2,<2.0.0",
2525
"voluptuous",
2626
]
2727

0 commit comments

Comments
 (0)