85 lines
2.6 KiB
Diff
85 lines
2.6 KiB
Diff
diff -uNr lexicon-3.17.0/pyproject.toml lexicon-3.17.0.mod/pyproject.toml
|
|
--- lexicon-3.17.0/pyproject.toml 2023-11-06 16:21:46.000000000 -0600
|
|
+++ lexicon-3.17.0.mod/pyproject.toml 2024-02-01 04:28:53.861285119 -0600
|
|
@@ -61,32 +61,6 @@
|
|
# Extra "full" list must contain all other extras
|
|
full = ["boto3", "localzone", "softlayer", "zeep", "oci"]
|
|
|
|
-[tool.poetry.group.dev.dependencies]
|
|
-esbonio = "*"
|
|
-packaging = "*"
|
|
-pytest = "*"
|
|
-pytest-cov = "*"
|
|
-pytest-xdist = "*"
|
|
-vcrpy = "*"
|
|
-# We add flake8 conditionally to recent Python version to get modern versions
|
|
-# of flake8 cleaned of several issues. It just means that linting cannot be done
|
|
-# on the initial release of Python 3.8 (version 3.8.0). This is a decent constraint.
|
|
-flake8 = { version = "*", python = ">=3.8.1" }
|
|
-isort = "*"
|
|
-tox = ">=4"
|
|
-black = "*"
|
|
-mypy = "*"
|
|
-toml = "*"
|
|
-types-PyYAML = "*"
|
|
-types-pytz = "*"
|
|
-types-requests = "*"
|
|
-types-toml = "*"
|
|
-
|
|
-[tool.poetry.group.docs.dependencies]
|
|
-sphinx = "*"
|
|
-sphinx_rtd_theme = "*"
|
|
-toml = "*"
|
|
-
|
|
[tool.poetry.scripts]
|
|
lexicon = "lexicon._private.cli:main"
|
|
|
|
diff -uNr lexicon-3.17.0/setup.cfg lexicon-3.17.0.mod/setup.cfg
|
|
--- lexicon-3.17.0/setup.cfg 2023-11-06 16:21:46.000000000 -0600
|
|
+++ lexicon-3.17.0.mod/setup.cfg 2024-02-01 04:05:39.191101574 -0600
|
|
@@ -5,45 +5,3 @@
|
|
[tox:tox]
|
|
envlist = cover,lint,mypy
|
|
isolated_build = true
|
|
-
|
|
-# Standard env will run all test available for all providers.
|
|
-[testenv]
|
|
-allowlist_externals = poetry
|
|
-extras =
|
|
- full
|
|
-setenv =
|
|
- PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:--numprocesses auto}
|
|
- PYTHONHASHSEED = 0
|
|
-commands_pre =
|
|
- poetry install --extras full --no-root --sync
|
|
-commands =
|
|
- poetry run pytest tests/ \
|
|
- --junitxml=junit/test-results.xml --dist=loadfile
|
|
-
|
|
-# Cover env will run all test available for all providers with coverage enabled.
|
|
-[testenv:cover]
|
|
-commands =
|
|
- poetry run pytest tests/ \
|
|
- --junitxml=junit/test-results.xml --dist=loadfile \
|
|
- --cov=lexicon --cov-report=term-missing --cov-report=xml
|
|
-
|
|
-# Light env will run all tests except for providers with optional dependencies.
|
|
-[testenv:light]
|
|
-extras =
|
|
-commands_pre =
|
|
- poetry install --no-root --sync
|
|
-commands =
|
|
- poetry run pytest tests/ \
|
|
- --junitxml=junit/test-results.xml --dist=loadfile \
|
|
- --xfail-providers-with-missing-deps
|
|
-
|
|
-# Lint env will check for code quality and errors, and fails if it does not match the minimal requirements.
|
|
-[testenv:lint]
|
|
-commands =
|
|
- poetry run flake8 src tests
|
|
-
|
|
-
|
|
-# Mypy env will check for types in the Lexicon codebase.
|
|
-[testenv:mypy]
|
|
-commands =
|
|
- poetry run mypy src tests
|