mirror of
https://github.com/enpaul/peewee-plus.git
synced 2024-11-14 10:36:51 +00:00
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:
parent
d5d400e0a6
commit
60bdfbfb17
2
.github/scripts/setup-env.sh
vendored
2
.github/scripts/setup-env.sh
vendored
@ -8,7 +8,7 @@
|
|||||||
set -e;
|
set -e;
|
||||||
|
|
||||||
CI_CACHE=$HOME/.cache;
|
CI_CACHE=$HOME/.cache;
|
||||||
POETRY_VERSION=1.1.14;
|
POETRY_VERSION=1.2.2;
|
||||||
|
|
||||||
mkdir --parents "$CI_CACHE";
|
mkdir --parents "$CI_CACHE";
|
||||||
|
|
||||||
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -12,8 +12,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python:
|
python:
|
||||||
- version: "3.6"
|
|
||||||
toxenv: py36
|
|
||||||
- version: "3.7"
|
- version: "3.7"
|
||||||
toxenv: py37
|
toxenv: py37
|
||||||
- version: "3.8"
|
- version: "3.8"
|
||||||
|
4
Makefile
4
Makefile
@ -33,11 +33,11 @@ source: ## Build Python source distribution package
|
|||||||
build: clean wheel source; ## Build all distribution packages
|
build: clean wheel source; ## Build all distribution packages
|
||||||
|
|
||||||
test: clean-tox ## Run the project testsuite(s)
|
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)
|
publish: clean test build ## Build and upload to pypi (requires $PYPI_API_KEY be set)
|
||||||
@poetry publish --username __token__ --password $(PYPI_API_KEY)
|
@poetry publish --username __token__ --password $(PYPI_API_KEY)
|
||||||
|
|
||||||
dev: ## Create local dev environment
|
dev: ## Create local dev environment
|
||||||
poetry install --remove-untracked
|
poetry install --sync
|
||||||
poetry run pre-commit install
|
poetry run pre-commit install
|
||||||
|
@ -28,7 +28,7 @@ import peewee
|
|||||||
|
|
||||||
|
|
||||||
__title__ = "peewee-plus"
|
__title__ = "peewee-plus"
|
||||||
__version__ = "1.1.1"
|
__version__ = "1.2.0"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
__summary__ = "Various extensions, helpers, and utilities for Peewee"
|
__summary__ = "Various extensions, helpers, and utilities for Peewee"
|
||||||
__url__ = "https://github.com/enpaul/peewee-plus/"
|
__url__ = "https://github.com/enpaul/peewee-plus/"
|
||||||
|
1156
poetry.lock
generated
1156
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "peewee-plus"
|
name = "peewee-plus"
|
||||||
version = "1.1.1"
|
version = "1.2.0"
|
||||||
description = "Various extensions, helpers, and utilities for Peewee"
|
description = "Various extensions, helpers, and utilities for Peewee"
|
||||||
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
|
authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"]
|
||||||
repository = "https://github.com/enpaul/peewee-plus/"
|
repository = "https://github.com/enpaul/peewee-plus/"
|
||||||
@ -17,7 +17,6 @@ classifiers = [
|
|||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
@ -28,29 +27,29 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.6.1"
|
python = "^3.7.1"
|
||||||
peewee = "^3.14.8"
|
peewee = "^3.14.8"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
bandit = "^1.7.1"
|
bandit = "^1.7.1"
|
||||||
black = {version = "^22.8.0", python = "^3.7"}
|
black = "^22.8.0"
|
||||||
blacken-docs = {version = "^1.12.0", python = "^3.7"}
|
blacken-docs = "^1.12.0"
|
||||||
ipython = {version = "^7.29.0", python = "^3.7"}
|
ipython = "^7.29.0"
|
||||||
mdformat = "^0.6.4"
|
mdformat = "^0.6.4"
|
||||||
mdformat-gfm = "^0.2"
|
mdformat-gfm = "^0.2"
|
||||||
mypy = "^0.910"
|
mypy = "^0.910"
|
||||||
pre-commit = "^2.15.0"
|
pre-commit = "^2.15.0"
|
||||||
pre-commit-hooks = "^4.0.1"
|
pre-commit-hooks = "^4.0.1"
|
||||||
pylint = {version = "^2.13.0", python = "^3.7"}
|
pylint = "^2.13.0"
|
||||||
pytest = "^6.2.5"
|
pytest = "^6.2.5"
|
||||||
pytest-cov = "^3.0.0"
|
pytest-cov = "^3.0.0"
|
||||||
reorder-python-imports = "^2.6.0"
|
reorder-python-imports = "^2.6.0"
|
||||||
safety = "^1.10.3"
|
safety = "^2.2.0"
|
||||||
toml = "^0.10.2"
|
toml = "^0.10.2"
|
||||||
tox = "^3.24.4"
|
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"
|
types-toml = "^0.10.1"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.1.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
Loading…
Reference in New Issue
Block a user