Skip to content

Commit

Permalink
Simplify requirements.txt by assuming Python 3 (#543)
Browse files Browse the repository at this point in the history
* Remove universal=1 line
* Update setup.py
* Update requirements.txt
  • Loading branch information
dbieber authored Sep 20, 2024
1 parent 2d95033 commit f012df2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
9 changes: 3 additions & 6 deletions .github/scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
setuptools <65.7.0 ; python_version == '2.7'
setuptools <=75.1.0 ; python_version >= '3.8'
pip <23.0 ; python_version == '2.7'
pip ; python_version >= '3.5'
setuptools <=75.1.0
pip
pylint <2.15.10
pytest <=8.1.1
pytest-pylint <=1.1.2
pytest-runner <7.0.0
termcolor <2.5.0
hypothesis <6.101.0
python-Levenshtein <0.20.9 ; python_version == '2.7'
levenshtein <=0.25.1 ; python_version >= '3.5'
levenshtein <=0.25.1
mock <6.0.0
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[wheel]
universal = 1

[aliases]
test = pytest

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@
DEPENDENCIES = [
'six',
'termcolor',
'enum34; python_version < "3.4"'
]

TEST_DEPENDENCIES = [
'hypothesis',
'mock',
'python-Levenshtein',
'levenshtein',
]

VERSION = '0.7.0'
Expand Down

0 comments on commit f012df2

Please sign in to comment.