Skip to content

Commit

Permalink
v1.3.0 - pin deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Jun 1, 2021
1 parent d80e1c8 commit 8d0b813
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

# v1.3.0 (2021-05-31)

* Pins dependencies and moves them to a constant
* Adds missing lines to code coverage report

## v1.2.0 (2021-01-30)

* Fixed the Coveralls command in GitHub Actions, builds now pass with their new platform requirement flag
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ test:

## coverage - Test the project and generate an HTML coverage report
coverage:
venv/bin/pytest --cov=python_project --cov-branch --cov-report=html
venv/bin/pytest --cov=python_project --cov-branch --cov-report=html --cov-report=term-missing

.PHONY: help install clean lint test coverage
24 changes: 13 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@
with open("README.md", "r") as fh:
long_description = fh.read()

# REQUIREMENTS = [
# 'requests >= 1.0.0',
# ]
REQUIREMENTS = [
# 'requests >= 1.0.0',
]

DEV_REQUIREMENTS = [
'coveralls == 3.*',
'flake8',
'mock == 4.*',
'pytest == 6.*',
'pytest-cov == 2.*',
]

setuptools.setup(
name='PROJECT_NAME',
Expand All @@ -22,15 +30,9 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
# install_requires=REQUIREMENTS,
install_requires=REQUIREMENTS,
extras_require={
'dev': [
'pytest >= 6.0.0',
'pytest-cov >= 2.10.0',
'coveralls >= 2.1.2',
'flake8 >= 3.8.0',
'mock >= 4.0.0',
]
'dev': DEV_REQUIREMENTS
},
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 8d0b813

Please sign in to comment.