Skip to content

Commit

Permalink
2021.01.16 Release
Browse files Browse the repository at this point in the history
## BREAKING CHANGES - Python 3.6 Support Depcrecated

- Due to an inherit [`pandas` dependency, python 3.6 support has been deprecated](https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.2.0.html#increased-minimum-version-for-python).

## Version bumps

- pandas 1.1.5 to 1.2.0
- nox 2020.8.22 to 2020.12.31

## Test Coverage Optimisations

- Ignore `codecov` analysis on motherstarter `setup.py` and `noxfile.py` files
  • Loading branch information
writememe authored Jan 16, 2021
2 parents 5b3a046 + 780e455 commit 3b6b8d4
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
pip install -r requirements.txt
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.1.0
uses: codecov/codecov-action@v1.2.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
CHANGELOG
=======

# 2021.01.16

## BREAKING CHANGES - Python 3.6 Support Depcrecated

- Due to an inherit [`pandas` dependency, python 3.6 support has been deprecated](https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.2.0.html#increased-minimum-version-for-python).

## Version bumps

- pandas 1.1.5 to 1.2.0
- nox 2020.8.22 to 2020.12.31

## Test Coverage Optimisations

- Ignore `codecov` analysis on motherstarter `setup.py` and `noxfile.py` files

# 2020.12.23

## Version bumps
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![codecov](https://codecov.io/gh/writememe/motherstarter/branch/develop/graph/badge.svg?token=YMRIJT034F)](https://codecov.io/gh/writememe/motherstarter)
![motherstarter](https://github.com/writememe/motherstarter/workflows/motherstarter/badge.svg)
[![PyPI version](https://badge.fury.io/py/motherstarter.svg)](https://badge.fury.io/py/motherstarter)
[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
Expand Down
6 changes: 6 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# Codecov.io configuration file for
# https://codecov.io/gh/writememe/motherstarter
ignore:
- "noxfile.py" # Ignore nox test config file
- "setup.py" # Ignore motherstarter setup file
2 changes: 1 addition & 1 deletion motherstarter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Version and author for project
__version__ = "2020.12.23"
__version__ = "2021.01.16"
__author__ = "Daniel Teycheney"
12 changes: 6 additions & 6 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import nox


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def lint(session):
"""
Run all linting tests.
Expand Down Expand Up @@ -39,7 +39,7 @@ def lint(session):
)


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def black(session):
"""
Nox run black
Expand All @@ -58,7 +58,7 @@ def black(session):
session.run("black", ".", "--check")


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def pylama(session):
"""
Nox run pylama
Expand All @@ -77,7 +77,7 @@ def pylama(session):
session.run("pylama", ".")


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def yamllint(session):
"""
Nox run yamllint
Expand All @@ -96,7 +96,7 @@ def yamllint(session):
session.run("yamllint", ".")


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def bandit(session):
"""
Nox run bandit
Expand Down Expand Up @@ -127,7 +127,7 @@ def bandit(session):
)


@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
@nox.session(python=["3.7", "3.8", "3.9"])
def tests(session):
"""
Nox run tests using pytest
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ click>=7.1,<=7.2
colorama==0.4.4
jinja2==2.11.2
mypy==0.790
nox==2020.8.22
nox==2020.12.31
openpyxl==3.0.5
pandas==1.1.5
pandas==1.2.0
pylama==7.7.1
pytest==6.2.1
pytest-cov==2.10.1
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
],
python_requires=">=3.6",
python_requires=">=3.7",
include_package_data=True,
install_requires=requirements,
entry_points="""
Expand Down

0 comments on commit 3b6b8d4

Please sign in to comment.