Remove support for python 3.6

Update transient dependencies
Update actions workflow to install poetry 1.2
Update makefile to use poetry 1.2 command structure
Add safety exclusions to account for outdated meta tools
Bump feature version to 1.2
This commit is contained in:
Ethan Paul 2022-11-15 09:51:40 -05:00
parent d5d400e0a6
commit 60bdfbfb17
7 changed files with 769 additions and 418 deletions

View File

@ -8,7 +8,7 @@
set -e;
CI_CACHE=$HOME/.cache;
POETRY_VERSION=1.1.14;
POETRY_VERSION=1.2.2;
mkdir --parents "$CI_CACHE";

View File

@ -12,8 +12,6 @@ jobs:
strategy:
matrix:
python:
- version: "3.6"
toxenv: py36
- version: "3.7"
toxenv: py37
- version: "3.8"

View File

@ -33,11 +33,11 @@ source: ## Build Python source distribution package
build: clean wheel source; ## Build all distribution packages
test: clean-tox ## Run the project testsuite(s)
poetry run tox
poetry run tox --parallel
publish: clean test build ## Build and upload to pypi (requires $PYPI_API_KEY be set)
@poetry publish --username __token__ --password $(PYPI_API_KEY)
dev: ## Create local dev environment
poetry install --remove-untracked
poetry install --sync
poetry run pre-commit install

View File

@ -28,7 +28,7 @@ import peewee
__title__ = "peewee-plus"
__version__ = "1.1.1"
__version__ = "1.2.0"
__license__ = "MIT"
__summary__ = "Various extensions, helpers, and utilities for Peewee"
__url__ = "https://github.com/enpaul/peewee-plus/"

1156
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "peewee-plus"
version = "1.1.1"
version = "1.2.0"
description = "Various extensions, helpers, and utilities for Peewee"
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
repository = "https://github.com/enpaul/peewee-plus/"
@ -17,7 +17,6 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT 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",
@ -28,29 +27,29 @@ classifiers = [
]
[tool.poetry.dependencies]
python = "^3.6.1"
python = "^3.7.1"
peewee = "^3.14.8"
[tool.poetry.dev-dependencies]
bandit = "^1.7.1"
black = {version = "^22.8.0", python = "^3.7"}
blacken-docs = {version = "^1.12.0", python = "^3.7"}
ipython = {version = "^7.29.0", python = "^3.7"}
black = "^22.8.0"
blacken-docs = "^1.12.0"
ipython = "^7.29.0"
mdformat = "^0.6.4"
mdformat-gfm = "^0.2"
mypy = "^0.910"
pre-commit = "^2.15.0"
pre-commit-hooks = "^4.0.1"
pylint = {version = "^2.13.0", python = "^3.7"}
pylint = "^2.13.0"
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
reorder-python-imports = "^2.6.0"
safety = "^1.10.3"
safety = "^2.2.0"
toml = "^0.10.2"
tox = "^3.24.4"
tox-poetry-installer = {extras = ["poetry"], version = "^0.8.2"}
tox-poetry-installer = {extras = ["poetry"], version = "^0.10.0"}
types-toml = "^0.10.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"

View File

@ -1,6 +1,6 @@
[tox]
envlist =
py{36,37,38,39,310}
py{37,38,39,310}
static
static-tests
security