Skip to content

Commit

Permalink
Merge pull request #187 from writememe/develop
Browse files Browse the repository at this point in the history
2022.04.02 Release
  • Loading branch information
writememe authored Apr 2, 2022
2 parents e326ad8 + ee07c8d commit fbe363b
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
uses: actions/setup-python@v3.1.0
with:
python-version: 3.8
- name: Generate coverage report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: set up python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3.1.0
with:
python-version: 3.9
- name: setup publish env
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
CHANGELOG
=======

# 2022.04.02

## BREAKING CHANGES - Python 3.7 Support Deprecated

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

## Version bumps

- bandit 1.7.0 to 1.7.4
- black 21.9b0 to 22.3.0
- click 7.1,<8.1 to 7.1,<8.2
- jinja 3.0.1 to 3.1.1
- mypy 0.910 to 0.942
- nox 2021.10.1 to 2022.1.7
- pandas 1.3.3 to 1.4.1
- pylama 7.7.1 to 8.3.8
- pytest 6.2.5 to 7.1.1


## Github Actions setup python upgrade

- Upgraded setup python from v2 to v3.1.0

# 2021.10.17

## Type hints
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.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/)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
Expand Down
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__ = "2021.10.17"
__version__ = "2022.04.02"
__author__ = "Daniel Teycheney"
14 changes: 7 additions & 7 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.7", "3.8", "3.9"])
@nox.session(python=["3.8", "3.9"])
def lint(session):
"""
Run all linting tests.
Expand Down Expand Up @@ -40,7 +40,7 @@ def lint(session):
session.run("python", "-m", "mypy", "--strict", "motherstarter/")


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


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


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


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


@nox.session(python=["3.7", "3.8", "3.9"])
@nox.session(python=["3.8", "3.9"])
def mypy(session):
"""
Nox run mypy
Expand All @@ -146,7 +146,7 @@ def mypy(session):
session.run("python", "-m", "mypy", "--strict", "motherstarter/")


@nox.session(python=["3.7", "3.8", "3.9"])
@nox.session(python=["3.8", "3.9"])
def tests(session):
"""
Nox run tests using pytest
Expand Down
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Requirements file, statically pinned for now
bandit==1.7.0
black==21.9b0
click>=7.1,<8.1
bandit==1.7.4
black==22.3.0
click>=7.1,<8.2
colorama==0.4.4
jinja2==3.0.1
mypy==0.910
nox==2021.10.1
jinja2==3.1.1
mypy==0.942
nox==2022.1.7
openpyxl==3.0.9
pandas==1.3.3
pylama==7.7.1
pytest==6.2.5
pandas==1.4.1
pylama==8.3.8
pytest==7.1.1
pytest-cov==3.0.0
xlrd==2.0.1
yamllint==1.26.3
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"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.7",
python_requires=">=3.8",
include_package_data=True,
install_requires=requirements,
entry_points="""
Expand Down

0 comments on commit fbe363b

Please sign in to comment.