diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9ba4ee0..6d4c18b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 @@ -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 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8fa3984..264d8c5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a61edc..573c170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index e651668..61ca8b6 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/motherstarter/__init__.py b/motherstarter/__init__.py index b3dba8b..14d1a6d 100644 --- a/motherstarter/__init__.py +++ b/motherstarter/__init__.py @@ -1,3 +1,3 @@ # Version and author for project -__version__ = "2021.10.17" +__version__ = "2022.04.02" __author__ = "Daniel Teycheney" diff --git a/noxfile.py b/noxfile.py index fdd2622..a8d03ae 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements.txt b/requirements.txt index 4f1c1b1..b8d2e9e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.py b/setup.py index 147f8e4..ff0e949 100644 --- a/setup.py +++ b/setup.py @@ -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="""