Skip to content

Commit 8d0b813

Browse files
committed
v1.3.0 - pin deps
1 parent d80e1c8 commit 8d0b813

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
# v1.3.0 (2021-05-31)
4+
5+
* Pins dependencies and moves them to a constant
6+
* Adds missing lines to code coverage report
7+
38
## v1.2.0 (2021-01-30)
49

510
* Fixed the Coveralls command in GitHub Actions, builds now pass with their new platform requirement flag

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ test:
3232

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

3737
.PHONY: help install clean lint test coverage

setup.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

6-
# REQUIREMENTS = [
7-
# 'requests >= 1.0.0',
8-
# ]
6+
REQUIREMENTS = [
7+
# 'requests >= 1.0.0',
8+
]
9+
10+
DEV_REQUIREMENTS = [
11+
'coveralls == 3.*',
12+
'flake8',
13+
'mock == 4.*',
14+
'pytest == 6.*',
15+
'pytest-cov == 2.*',
16+
]
917

1018
setuptools.setup(
1119
name='PROJECT_NAME',
@@ -22,15 +30,9 @@
2230
"License :: OSI Approved :: MIT License",
2331
"Operating System :: OS Independent",
2432
],
25-
# install_requires=REQUIREMENTS,
33+
install_requires=REQUIREMENTS,
2634
extras_require={
27-
'dev': [
28-
'pytest >= 6.0.0',
29-
'pytest-cov >= 2.10.0',
30-
'coveralls >= 2.1.2',
31-
'flake8 >= 3.8.0',
32-
'mock >= 4.0.0',
33-
]
35+
'dev': DEV_REQUIREMENTS
3436
},
3537
entry_points={
3638
'console_scripts': [

0 commit comments

Comments
 (0)