Skip to content

Commit

Permalink
Correct the Pipfile content and update packages
Browse files Browse the repository at this point in the history
- We added only the necessary packages in the Pipfile
(there were more packages added there by mistake).

We had to pin the flake8 package because of the
following error when installing the packages:
ERROR: Cannot install -r /home/user/dev/grades-report/dev-requirements.txt (line 6),
-r /home/user/dev/grades-report/requirements.txt (line 2) and importlib-metadata==4.12.0
because these package versions have conflicting dependencies.

This seems to be related to pypa/pipenv#4476.

- Added an option in the Makefile to create the
latest requirements files with the latest available
package versions.
  • Loading branch information
KAUTH committed Jul 23, 2022
1 parent 414ee6d commit 70fc3d6
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 397 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ publish:
pip install 'twine>=1.5.0'
python setup.py sdist bdist_wheel
twine upload dist/*
rm -fr build dist .egg requests.egg-info
rm -fr build dist .egg requests.egg-info

update-reqs-files:
pipenv lock
pipenv requirements > requirements.txt
pipenv requirements --dev-only > dev-requirements.txt
26 changes: 1 addition & 25 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,13 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
flake8 = "*"
flake8 = "==3.9.2"
coverage = "*"
pytest = "*"
tox = "*"

[packages]
click = "*"
appdirs = "==1.4.3"
atomicwrites = "==1.3.0"
attrs = "==19.3.0"
colorama = "==0.4.3"
coverage = "==5.1"
distlib = "==0.3.0"
entrypoints = "==0.3"
filelock = "==3.0.12"
flake8 = "==3.7.9"
importlib-metadata = "==1.6.0"
mccabe = "==0.6.1"
more-itertools = "==8.2.0"
pluggy = "==0.13.1"
py = "==1.8.1"
pycodestyle = "==2.5.0"
pyflakes = "==2.1.1"
pyparsing = "==2.4.7"
pytest = "==5.4.1"
six = "==1.14.0"
toml = "==0.10.0"
tox = "==3.14.6"
virtualenv = "==20.0.18"
wcwidth = "==0.1.9"
zipp = "==3.1.0"

[requires]
python_version = "3.7"
Loading

0 comments on commit 70fc3d6

Please sign in to comment.