Skip to content

Commit

Permalink
Dropped support for old pythons
Browse files Browse the repository at this point in the history
  • Loading branch information
dusktreader committed Oct 17, 2024
1 parent be1f9ed commit 32d6129
Show file tree
Hide file tree
Showing 5 changed files with 421 additions and 647 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push_qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

# Unreleased

# v1.3.1 - 2024-10-17
# v1.4.0 - 2024-10-17

- Dropped support for python 3.6 and 3.7
- Added support for python 3.11 and 3.12
- Loosened dependencies
- Added more metadata to pyproject.toml

# v1.3.0 - 2022-03-29
Expand Down
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,29 @@ SHELL:=/bin/bash
PACKAGE_NAME:=snick
ROOT_DIR:=$(shell dirname $(shell pwd))

.PHONY: install
install:
poetry install

.PHONY: test
test: install
poetry run pytest

.PHONY: mypy
mypy: install
poetry run mypy ${PACKAGE_NAME} --pretty

.PHONY: lint
lint: install
poetry run black --check ${PACKAGE_NAME} tests
poetry run isort --check ${PACKAGE_NAME} tests
poetry run pflake8 ${PACKAGE_NAME} tests
poetry run ruff check ${PACKAGE_NAME} tests

qa: test mypy lint
echo "All tests pass! Ready for deployment"
.PHONY: qa
qa: test lint mypy
echo "All quality checks pass!"

.PHONY: format
format: install
poetry run black ${PACKAGE_NAME} tests
poetry run isort ${PACKAGE_NAME} tests
poetry run ruff format ${PACKAGE_NAME} tests

publish: install
git tag v$(shell poetry version --short)
Expand Down
Loading

0 comments on commit 32d6129

Please sign in to comment.