mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2025-10-29 07:10:09 +00:00
Compare commits
6 Commits
0.10.0
...
bd102605b6
| Author | SHA1 | Date | |
|---|---|---|---|
| bd102605b6 | |||
|
469cb251cf
|
|||
| 41ac5423f9 | |||
|
3388553ee0
|
|||
|
52f34cb317
|
|||
|
4c609770f1
|
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.2.0;
|
POETRY_VERSION=1.3.2;
|
||||||
|
|
||||||
mkdir --parents "$CI_CACHE";
|
mkdir --parents "$CI_CACHE";
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
toxenv: py39
|
toxenv: py39
|
||||||
- version: "3.10"
|
- version: "3.10"
|
||||||
toxenv: py310
|
toxenv: py310
|
||||||
|
- version: "3.11"
|
||||||
|
toxenv: py311
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -33,7 +33,7 @@ test: ## Run the project testsuite(s)
|
|||||||
poetry run tox --recreate
|
poetry run tox --recreate
|
||||||
|
|
||||||
dev: ## Create the local dev environment
|
dev: ## Create the local dev environment
|
||||||
poetry install -E poetry --sync
|
poetry install --extras poetry --sync
|
||||||
poetry run pre-commit install
|
poetry run pre-commit install
|
||||||
|
|
||||||
publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
|
publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
|
||||||
|
|||||||
3703
poetry.lock
generated
3703
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -27,6 +27,7 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -38,7 +39,7 @@ poetry = ["poetry", "cleo"]
|
|||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.7"
|
python = "^3.7"
|
||||||
cleo = {version = "^1.0.0a5", optional = true, allow-prereleases = true}
|
cleo = {version = ">=1.0,<3.0", optional = true}
|
||||||
poetry = {version = "^1.2.0", optional = true}
|
poetry = {version = "^1.2.0", optional = true}
|
||||||
poetry-core = "^1.1.0"
|
poetry-core = "^1.1.0"
|
||||||
tox = "^3.8.0"
|
tox = "^3.8.0"
|
||||||
|
|||||||
5
tox.ini
5
tox.ini
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py37, py38, py39, py310, static, static-tests, security
|
envlist = py37, py38, py39, py310, py311, static, static-tests, security
|
||||||
isolated_build = true
|
isolated_build = true
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
@@ -83,7 +83,8 @@ commands =
|
|||||||
--format requirements.txt \
|
--format requirements.txt \
|
||||||
--output {envtmpdir}/requirements.txt \
|
--output {envtmpdir}/requirements.txt \
|
||||||
--without-hashes \
|
--without-hashes \
|
||||||
--dev
|
--with dev \
|
||||||
|
--extras poetry
|
||||||
safety check \
|
safety check \
|
||||||
--file {envtmpdir}/requirements.txt \
|
--file {envtmpdir}/requirements.txt \
|
||||||
--json
|
--json
|
||||||
|
|||||||
Reference in New Issue
Block a user