pre-commit lint steps failing
MKLeb opened this issue · 2 comments
The lint steps are failing seemingly on multiple extensions...
Seems to be a product of noxfile.py:_install_requirements
where install_extras
is nontrivial.
elif install_extras:
pkg = f".[{','.join(install_extras)}]"
session.install(pkg, silent=PIP_INSTALL_SILENT)
It installs the extras along with the actual package, and that was causing the problems. Was able to eliminate some of the problems using
elif install_extras:
requirements_files = [
f"-r {str(pathlib.Path('requirements', req))}" for req in install_extras
]
for req_file in requirements_files:
session.install("--progress-bar=off", req_file, silent=PIP_INSTALL_SILENT)
Not a complete fix, but a start.
It's failing with the basic my_extension
example of README.md
$ create-salt-extension my_extension -l states -l module
Author: John Example Doe
Author email: jd@example.com
Summary: An example Salt Extension Module
Url: https://example.com/my-saltext
License (apache, other): apache
Bare bones project is created.
If the my_extension extension should only target salt 3003 or newer, edit 'setup.cfg', read the comment around 'options.entry-points', and then run the following command:
rm src/saltext/my_extension/loader.py
You should now run the following commands:
python3 -m venv .env --prompt 'my_extension'
source .env/bin/activate
git init .
python -m pip install -e .[dev,tests,docs]
pre-commit install
git add .
git commit -a
The above command will fail because it's pinning the project dependencies.
Now run the following commands:
git add .
git commit -a -m 'Initial extension layout'
To run the included test suite, run the following command:
nox -e tests-3 -- tests/
Please update these tests :)
Start Hacking!
$ python3 -m venv .env --prompt 'my_extension'
$ source .env/bin/activate
$ git init .
Dépôt Git vide initialisé dans /tmp/my_extension/.git/
$ python -m pip install -e .[dev,tests,docs]
Obtaining file:///tmp/my_extension
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting salt>=3003
Using cached salt-3004.2-py3-none-any.whl
Collecting nox==2021.6.12
Using cached nox-2021.6.12-py3-none-any.whl (48 kB)
Collecting SaltPyLint
Using cached SaltPyLint-2020.9.28-py2.py3-none-any.whl (38 kB)
Collecting pre-commit==2.13.0
Using cached pre_commit-2.13.0-py2.py3-none-any.whl (190 kB)
Collecting pylint
Using cached pylint-2.14.5-py3-none-any.whl (488 kB)
Collecting furo
Using cached furo-2022.6.21-py3-none-any.whl (323 kB)
Collecting sphinxcontrib-spelling
Using cached sphinxcontrib_spelling-7.6.0-py3-none-any.whl (16 kB)
Collecting sphinx-copybutton
Using cached sphinx_copybutton-0.5.0-py3-none-any.whl (12 kB)
Collecting sphinx
Using cached Sphinx-5.1.1-py3-none-any.whl (3.2 MB)
Collecting sphinx-prompt
Using cached sphinx_prompt-1.5.0-py3-none-any.whl (4.5 kB)
Collecting pytest==6.2.4
Using cached pytest-6.2.4-py3-none-any.whl (280 kB)
Collecting pytest-salt-factories==0.906.0
Using cached pytest_salt_factories-0.906.0-py3-none-any.whl (95 kB)
Collecting colorlog<7.0.0,>=2.6.1
Using cached colorlog-6.6.0-py2.py3-none-any.whl (11 kB)
Collecting argcomplete<2.0,>=1.9.4
Using cached argcomplete-1.12.3-py2.py3-none-any.whl (38 kB)
Collecting py<2.0.0,>=1.4.0
Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting packaging>=20.9
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting virtualenv>=14.0.0
Using cached virtualenv-20.16.3-py2.py3-none-any.whl (8.8 MB)
Collecting nodeenv>=0.11.1
Using cached nodeenv-1.7.0-py2.py3-none-any.whl (21 kB)
Collecting pyyaml>=5.1
Using cached PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting identify>=1.0.0
Using cached identify-2.5.3-py2.py3-none-any.whl (98 kB)
Collecting cfgv>=2.0.0
Using cached cfgv-3.3.1-py2.py3-none-any.whl (7.3 kB)
Collecting attrs>=19.2.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting pluggy<1.0.0a1,>=0.12
Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting iniconfig
Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting pytest-tempdir>=2019.9.16
Using cached pytest_tempdir-2019.10.12-py2.py3-none-any.whl (10 kB)
Collecting pytest-helpers-namespace>=2021.4.29
Using cached pytest_helpers_namespace-2021.12.29-py3-none-any.whl (10 kB)
Collecting psutil
Using cached psutil-5.9.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB)
Collecting pyzmq
Using cached pyzmq-23.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting msgpack
Using cached msgpack-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (316 kB)
Collecting requests>=1.0.0
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting contextvars
Using cached contextvars-2.4-py3-none-any.whl
Collecting pycryptodomex>=3.9.8
Using cached pycryptodomex-3.15.0-cp35-abi3-manylinux2010_x86_64.whl (2.3 MB)
Collecting pyzmq
Using cached pyzmq-21.0.2.tar.gz (1.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting distro>=1.0.1
Using cached distro-1.7.0-py3-none-any.whl (20 kB)
Collecting MarkupSafe
Using cached MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pyzmq
Using cached pyzmq-20.0.0-cp310-cp310-linux_x86_64.whl
Collecting pygments
Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting sphinx-basic-ng
Using cached sphinx_basic_ng-0.0.1a12-py3-none-any.whl (22 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Collecting docutils<0.20,>=0.14
Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting snowballstemmer>=1.1
Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-jsmath
Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-applehelp
Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-qthelp
Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting babel>=1.3
Using cached Babel-2.10.3-py3-none-any.whl (9.5 MB)
Collecting sphinxcontrib-devhelp
Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting alabaster<0.8,>=0.7
Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting imagesize
Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting dill>=0.2
Using cached dill-0.3.5.1-py2.py3-none-any.whl (95 kB)
Collecting tomli>=1.1.0
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting isort<6,>=4.2.5
Using cached isort-5.10.1-py3-none-any.whl (103 kB)
Collecting mccabe<0.8,>=0.6
Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
aCollecting astroid<=2.12.0-dev0,>=2.11.6
Using cached astroid-2.11.7-py3-none-any.whl (251 kB)
Collecting platformdirs>=2.2.0
Using cached platformdirs-2.5.2-py3-none-any.whl (14 kB)
Collecting tomlkit>=0.10.1
Using cached tomlkit-0.11.4-py3-none-any.whl (35 kB)
Collecting pycodestyle>=2.4.0
Using cached pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
Collecting modernize==0.5
Using cached modernize-0.5-py3-none-any.whl
Collecting PyEnchant>=3.1.1
Using cached pyenchant-3.2.2-py3-none-any.whl (55 kB)
Collecting wrapt<2,>=1.11
Using cached wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB)
Requirement already satisfied: setuptools>=20.0 in ./.env/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0) (59.6.0)
Collecting lazy-object-proxy>=1.4.0
Using cached lazy_object_proxy-1.7.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62 kB)
Collecting pytz>=2015.7
Using cached pytz-2022.2.1-py2.py3-none-any.whl (500 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.6.15-py3-none-any.whl (160 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.11-py2.py3-none-any.whl (139 kB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.0-py3-none-any.whl (39 kB)
Collecting distlib<1,>=0.3.5
Using cached distlib-0.3.5-py2.py3-none-any.whl (466 kB)
Collecting filelock<4,>=3.4.1
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting soupsieve>1.2
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Collecting immutables>=0.9
Using cached immutables-0.18-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (120 kB)
Building wheels for collected packages: saltext.my-extension
Building editable for saltext.my-extension (pyproject.toml) ... done
Created wheel for saltext.my-extension: filename=saltext.my_extension-0.1.dev0-0.editable-py2.py3-none-any.whl size=6808 sha256=85a2b965e22f3c0b989b17e450ba287792516cfcc2b5e6f6c11bb716179396d8
Stored in directory: /tmp/pip-ephem-wheel-cache-qewo4u9a/wheels/46/ac/8b/85e67b6d147b547b6011f774d5fada5598b7dc5398f3321505
Successfully built saltext.my-extension
Installing collected packages: snowballstemmer, pytz, msgpack, modernize, iniconfig, distlib, argcomplete, alabaster, wrapt, urllib3, tomlkit, tomli, toml, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, soupsieve, pyzmq, pyyaml, pyparsing, pygments, PyEnchant, pycryptodomex, pycodestyle, py, psutil, pluggy, platformdirs, nodeenv, mccabe, MarkupSafe, lazy-object-proxy, isort, immutables, imagesize, idna, identify, filelock, docutils, distro, dill, colorlog, charset-normalizer, cfgv, certifi, babel, attrs, virtualenv, requests, packaging, Jinja2, contextvars, beautifulsoup4, astroid, sphinx, salt, pytest, pylint, pre-commit, nox, sphinxcontrib-spelling, sphinx-prompt, sphinx-copybutton, sphinx-basic-ng, SaltPyLint, saltext.my-extension, pytest-tempdir, pytest-helpers-namespace, pytest-salt-factories, furo
Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.1 PyEnchant-3.2.2 SaltPyLint-2020.9.28 alabaster-0.7.12 argcomplete-1.12.3 astroid-2.11.7 attrs-22.1.0 babel-2.10.3 beautifulsoup4-4.11.1 certifi-2022.6.15 cfgv-3.3.1 charset-normalizer-2.1.0 colorlog-6.6.0 contextvars-2.4 dill-0.3.5.1 distlib-0.3.5 distro-1.7.0 docutils-0.19 filelock-3.8.0 furo-2022.6.21 identify-2.5.3 idna-3.3 imagesize-1.4.1 immutables-0.18 iniconfig-1.1.1 isort-5.10.1 lazy-object-proxy-1.7.1 mccabe-0.7.0 modernize-0.5 msgpack-1.0.4 nodeenv-1.7.0 nox-2021.6.12 packaging-21.3 platformdirs-2.5.2 pluggy-0.13.1 pre-commit-2.13.0 psutil-5.9.1 py-1.11.0 pycodestyle-2.9.1 pycryptodomex-3.15.0 pygments-2.13.0 pylint-2.14.5 pyparsing-3.0.9 pytest-6.2.4 pytest-helpers-namespace-2021.12.29 pytest-salt-factories-0.906.0 pytest-tempdir-2019.10.12 pytz-2022.2.1 pyyaml-6.0 pyzmq-20.0.0 requests-2.28.1 salt-3004.2 saltext.my-extension-0.1.dev0 snowballstemmer-2.2.0 soupsieve-2.3.2.post1 sphinx-5.1.1 sphinx-basic-ng-0.0.1a12 sphinx-copybutton-0.5.0 sphinx-prompt-1.5.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 sphinxcontrib-spelling-7.6.0 toml-0.10.2 tomli-2.0.1 tomlkit-0.11.4 urllib3-1.26.11 virtualenv-20.16.3 wrapt-1.14.1
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit
$ git commit -a
Check for merge conflicts................................................Passed
Trim Trailing Whitespace.................................................Passed
Mixed line ending........................................................Passed
Fix End of Files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook
Fixing docs/sitevars.rst
Fixing tests/unit/__init__.py
Fixing tests/__init__.py
Fixing docs/_static/.gitkeep
Fixing tests/integration/__init__.py
Fixing docs/ref/.gitkeep
Check for merge conflicts................................................Passed
Check python ast.........................................................Passed
Remove Python Import Header Comments.....................................Passed
Check CLI examples on execution modules..................................Passed
Check rST doc files exist for modules/states.............................Passed
Salt extensions docstrings auto-fixes....................................Passed
Rewrite the test suite...................................................Passed
Rewrite Code to be Py3.6+................................................Failed
- hook id: pyupgrade
- exit code: 1
- files were modified by this hook
Rewriting noxfile.py
Rewriting docs/conf.py
Rewriting tests/unit/states/test_my_extension.py
Rewriting src/saltext/my_extension/states/my_extension_mod.py
Reorder python imports...................................................Failed
- hook id: reorder-python-imports
- exit code: 1
- files were modified by this hook
Reordering imports in noxfile.py
black....................................................................Failed
- hook id: black
- exit code: 1
Traceback (most recent call last):
File "/home/dad/.cache/pre-commit/repoirca6166/py_env-python3/bin/black", line 8, in <module>
sys.exit(patched_main())
File "/home/dad/.cache/pre-commit/repoirca6166/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 1129, in patched_main
patch_click()
File "/home/dad/.cache/pre-commit/repoirca6166/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 1115, in patch_click
from click import _unicodefun # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/dad/.cache/pre-commit/repoirca6166/py_env-python3/lib/python3.10/site-packages/click/__init__.py)
blacken-docs.............................................................Passed
Run bandit against the code base.........................................Passed
Run bandit against the test suite........................................Passed
Lint Source Code.........................................................Failed
- hook id: nox
- exit code: 1
nox > Running session lint-code-pre-commit
nox > python -m pip install --progress-bar=off wheel
nox > python -m pip install .[dev,tests]
nox > pylint --rcfile=.pylintrc --disable=I noxfile.py src/saltext/my_extension/modules/my_extension_mod.py src/saltext/my_extension/loader.py src/saltext/my_extension/states/__init__.py
************* Module .pylintrc
.pylintrc:1:0: E0015: Unrecognized option found: profile, files-output, comment, bad-functions, function-name-hint, variable-name-hint, const-name-hint, attr-name-hint, argument-name-hint, class-attribute-name-hint, inlinevar-name-hint, class-name-hint, module-name-hint, method-name-hint, no-space-check, zope (unrecognized-option)
.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'I0012' (unknown-option-value)
.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'E8116' (unknown-option-value)
.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'E812' (unknown-option-value)
.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'un-indexed-curly-braces-error' (unknown-option-value)
************* Module Command line or configuration file
Command line or configuration file:1:0: E0013: Plugin 'saltpylint.pep8' is impossible to load, is it installed ? ('No module named 'six'') (bad-plugin-value)
Command line or configuration file:1:0: E0013: Plugin 'saltpylint.strings' is impossible to load, is it installed ? ('No module named 'six'') (bad-plugin-value)
************* Module noxfile
noxfile.py:47:35: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
noxfile.py:62:0: W1404: Implicit string concatenation found in call (implicit-str-concat)
noxfile.py:75:11: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
noxfile.py:293:25: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
noxfile.py:307:12: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
noxfile.py:406:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
noxfile.py:494:12: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
noxfile.py:500:12: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
-----------------------------------
Your code has been rated at 9.68/10
nox > Command pylint --rcfile=.pylintrc --disable=I noxfile.py src/saltext/my_extension/modules/my_extension_mod.py src/saltext/my_extension/loader.py src/saltext/my_extension/states/__init__.py failed with exit code 22
nox > Session lint-code-pre-commit failed.
nox > Running session lint-code-pre-commit
nox > python -m pip install --progress-bar=off wheel
nox > python -m pip install .[dev,tests]
nox > Command python -m pip install .[dev,tests] failed with exit code 1:
Processing /tmp/my_extension
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: salt>=3003 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (3004.2)
Requirement already satisfied: nox==2021.6.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2021.6.12)
Requirement already satisfied: pre-commit==2.13.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.13.0)
Requirement already satisfied: pylint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.14.5)
Requirement already satisfied: SaltPyLint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2020.9.28)
Requirement already satisfied: pytest-salt-factories==0.906.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (0.906.0)
Requirement already satisfied: pytest==6.2.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (6.2.4)
Requirement already satisfied: argcomplete<2.0,>=1.9.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.12.3)
Requirement already satisfied: virtualenv>=14.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (20.16.3)
Requirement already satisfied: py<2.0.0,>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.11.0)
Requirement already satisfied: packaging>=20.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (21.3)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (6.6.0)
Requirement already satisfied: nodeenv>=0.11.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: pyyaml>=5.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (6.0)
Requirement already satisfied: cfgv>=2.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (3.3.1)
Requirement already satisfied: toml in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (0.10.2)
Requirement already satisfied: identify>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (2.5.3)
Requirement already satisfied: iniconfig in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (1.1.1)
Requirement already satisfied: attrs>=19.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (22.1.0)
Requirement already satisfied: pluggy<1.0.0a1,>=0.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (0.13.1)
Requirement already satisfied: psutil in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (5.9.1)
Requirement already satisfied: pytest-tempdir>=2019.9.16 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2019.10.12)
Requirement already satisfied: msgpack in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (1.0.4)
Requirement already satisfied: pytest-helpers-namespace>=2021.4.29 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2021.12.29)
Requirement already satisfied: pyzmq in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (20.0.0)
Requirement already satisfied: Jinja2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.1.2)
Requirement already satisfied: distro>=1.0.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: requests>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.28.1)
Requirement already satisfied: pycryptodomex>=3.9.8 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.15.0)
Requirement already satisfied: MarkupSafe in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.1)
Requirement already satisfied: contextvars in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.4)
Requirement already satisfied: tomlkit>=0.10.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.11.4)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.7.0)
Requirement already satisfied: dill>=0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.3.5.1)
Requirement already satisfied: platformdirs>=2.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.5.2)
Requirement already satisfied: isort<6,>=4.2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (5.10.1)
Requirement already satisfied: astroid<=2.12.0-dev0,>=2.11.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.11.7)
Requirement already satisfied: tomli>=1.1.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.0.1)
Requirement already satisfied: modernize==0.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (0.5)
Requirement already satisfied: pycodestyle>=2.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (2.9.1)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.7.1)
Requirement already satisfied: wrapt<2,>=1.11 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.14.1)
Requirement already satisfied: setuptools>=20.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (63.4.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from packaging>=20.9->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.0.9)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.26.11)
Requirement already satisfied: idna<4,>=2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.0)
Requirement already satisfied: filelock<4,>=3.4.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.8.0)
Requirement already satisfied: distlib<1,>=0.3.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (0.3.5)
Requirement already satisfied: immutables>=0.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from contextvars->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (0.18)
Building wheels for collected packages: saltext.my-extension
Building wheel for saltext.my-extension (pyproject.toml): started
Building wheel for saltext.my-extension (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for saltext.my-extension (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/saltext
creating build/lib/saltext/my_extension
copying src/saltext/my_extension/version.py -> build/lib/saltext/my_extension
copying src/saltext/my_extension/loader.py -> build/lib/saltext/my_extension
copying src/saltext/my_extension/__init__.py -> build/lib/saltext/my_extension
creating build/lib/saltext/my_extension/modules
copying src/saltext/my_extension/modules/my_extension_mod.py -> build/lib/saltext/my_extension/modules
copying src/saltext/my_extension/modules/__init__.py -> build/lib/saltext/my_extension/modules
creating build/lib/saltext/my_extension/states
copying src/saltext/my_extension/states/my_extension_mod.py -> build/lib/saltext/my_extension/states
copying src/saltext/my_extension/states/__init__.py -> build/lib/saltext/my_extension/states
running egg_info
creating src/saltext.my_extension.egg-info
writing src/saltext.my_extension.egg-info/PKG-INFO
writing dependency_links to src/saltext.my_extension.egg-info/dependency_links.txt
writing entry points to src/saltext.my_extension.egg-info/entry_points.txt
writing requirements to src/saltext.my_extension.egg-info/requires.txt
writing top-level names to src/saltext.my_extension.egg-info/top_level.txt
writing manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
listing git files failed - pretending there aren't any
reading manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/saltext
creating build/bdist.linux-x86_64/wheel/saltext/my_extension
creating build/bdist.linux-x86_64/wheel/saltext/my_extension/states
copying build/lib/saltext/my_extension/states/__init__.py -> build/bdist.linux-x86_64/wheel/saltext/my_extension/states
error: [Errno 2] No such file or directory: 'build/bdist.linux-x86_64/wheel/saltext/my_extension/states/__init__.py'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for saltext.my-extension
Failed to build saltext.my-extension
ERROR: Could not build wheels for saltext.my-extension, which is required to install pyproject.toml-based projects
nox > Session lint-code-pre-commit failed.
Lint Tests...............................................................Failed
- hook id: nox
- exit code: 1
nox > Running session lint-tests-pre-commit
nox > python -m pip install --progress-bar=off wheel
nox > python -m pip install .[dev,tests]
nox > Command python -m pip install .[dev,tests] failed with exit code 1:
Processing /tmp/my_extension
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: salt>=3003 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (3004.2)
Requirement already satisfied: SaltPyLint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2020.9.28)
Requirement already satisfied: pre-commit==2.13.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.13.0)
Requirement already satisfied: pylint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.14.5)
Requirement already satisfied: nox==2021.6.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2021.6.12)
Requirement already satisfied: pytest==6.2.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (6.2.4)
Requirement already satisfied: pytest-salt-factories==0.906.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (0.906.0)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (6.6.0)
Requirement already satisfied: argcomplete<2.0,>=1.9.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.12.3)
Requirement already satisfied: py<2.0.0,>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.11.0)
Requirement already satisfied: packaging>=20.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (21.3)
Requirement already satisfied: virtualenv>=14.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (20.16.3)
Requirement already satisfied: toml in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (0.10.2)
Requirement already satisfied: pyyaml>=5.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (6.0)
Requirement already satisfied: cfgv>=2.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (3.3.1)
Requirement already satisfied: nodeenv>=0.11.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: identify>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (2.5.3)
Requirement already satisfied: attrs>=19.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (22.1.0)
Requirement already satisfied: pluggy<1.0.0a1,>=0.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (0.13.1)
Requirement already satisfied: iniconfig in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (1.1.1)
Requirement already satisfied: pyzmq in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (20.0.0)
Requirement already satisfied: pytest-tempdir>=2019.9.16 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2019.10.12)
Requirement already satisfied: msgpack in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (1.0.4)
Requirement already satisfied: pytest-helpers-namespace>=2021.4.29 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2021.12.29)
Requirement already satisfied: psutil in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (5.9.1)
Requirement already satisfied: requests>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.28.1)
Requirement already satisfied: pycryptodomex>=3.9.8 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.15.0)
Requirement already satisfied: Jinja2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.1.2)
Requirement already satisfied: MarkupSafe in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.1)
Requirement already satisfied: contextvars in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.4)
Requirement already satisfied: distro>=1.0.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: isort<6,>=4.2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (5.10.1)
Requirement already satisfied: tomli>=1.1.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.0.1)
Requirement already satisfied: astroid<=2.12.0-dev0,>=2.11.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.11.7)
Requirement already satisfied: tomlkit>=0.10.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.11.4)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.7.0)
Requirement already satisfied: dill>=0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.3.5.1)
Requirement already satisfied: platformdirs>=2.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.5.2)
Requirement already satisfied: pycodestyle>=2.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (2.9.1)
Requirement already satisfied: modernize==0.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (0.5)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.7.1)
Requirement already satisfied: wrapt<2,>=1.11 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.14.1)
Requirement already satisfied: setuptools>=20.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (63.4.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from packaging>=20.9->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2022.6.15)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.26.11)
Requirement already satisfied: idna<4,>=2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.3)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.0)
Requirement already satisfied: distlib<1,>=0.3.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (0.3.5)
Requirement already satisfied: filelock<4,>=3.4.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.8.0)
Requirement already satisfied: immutables>=0.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from contextvars->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (0.18)
Building wheels for collected packages: saltext.my-extension
Building wheel for saltext.my-extension (pyproject.toml): started
Building wheel for saltext.my-extension (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for saltext.my-extension (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running bdist_wheel
running build
running build_py
running egg_info
writing src/saltext.my_extension.egg-info/PKG-INFO
writing dependency_links to src/saltext.my_extension.egg-info/dependency_links.txt
writing entry points to src/saltext.my_extension.egg-info/entry_points.txt
writing requirements to src/saltext.my_extension.egg-info/requires.txt
writing top-level names to src/saltext.my_extension.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
removing 'build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info' (and everything under it)
Copying src/saltext.my_extension.egg-info to build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info
running install_scripts
Traceback (most recent call last):
File "/home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 412, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 5, in <module>
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 351, in run
self.egg2dist(self.egginfo_dir, distinfo_dir)
File "/tmp/pip-build-env-5s3etmgo/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 461, in egg2dist
raise ValueError(err)
ValueError: Egg metadata expected at build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info but not found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for saltext.my-extension
Failed to build saltext.my-extension
ERROR: Could not build wheels for saltext.my-extension, which is required to install pyproject.toml-based projects
nox > Session lint-tests-pre-commit failed.
nox > Running session lint-tests-pre-commit
nox > python -m pip install --progress-bar=off wheel
nox > python -m pip install .[dev,tests]
nox > Command python -m pip install .[dev,tests] failed with exit code 1:
Processing /tmp/my_extension
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: salt>=3003 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (3004.2)
Requirement already satisfied: pre-commit==2.13.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.13.0)
Requirement already satisfied: SaltPyLint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2020.9.28)
Requirement already satisfied: pylint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.14.5)
Requirement already satisfied: nox==2021.6.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2021.6.12)
Requirement already satisfied: pytest-salt-factories==0.906.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (0.906.0)
Requirement already satisfied: pytest==6.2.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (6.2.4)
Requirement already satisfied: virtualenv>=14.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (20.16.3)
Requirement already satisfied: packaging>=20.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (21.3)
Requirement already satisfied: py<2.0.0,>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.11.0)
Requirement already satisfied: argcomplete<2.0,>=1.9.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.12.3)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (6.6.0)
Requirement already satisfied: pyyaml>=5.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (6.0)
Requirement already satisfied: nodeenv>=0.11.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: toml in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (0.10.2)
Requirement already satisfied: cfgv>=2.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (3.3.1)
Requirement already satisfied: identify>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (2.5.3)
Requirement already satisfied: attrs>=19.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (22.1.0)
Requirement already satisfied: iniconfig in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (1.1.1)
Requirement already satisfied: pluggy<1.0.0a1,>=0.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (0.13.1)
Requirement already satisfied: pyzmq in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (20.0.0)
Requirement already satisfied: pytest-helpers-namespace>=2021.4.29 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2021.12.29)
Requirement already satisfied: psutil in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (5.9.1)
Requirement already satisfied: msgpack in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (1.0.4)
Requirement already satisfied: pytest-tempdir>=2019.9.16 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2019.10.12)
Requirement already satisfied: contextvars in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.4)
Requirement already satisfied: requests>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.28.1)
Requirement already satisfied: distro>=1.0.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: pycryptodomex>=3.9.8 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.15.0)
Requirement already satisfied: MarkupSafe in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.1)
Requirement already satisfied: Jinja2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.1.2)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.7.0)
Requirement already satisfied: dill>=0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.3.5.1)
Requirement already satisfied: isort<6,>=4.2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (5.10.1)
Requirement already satisfied: astroid<=2.12.0-dev0,>=2.11.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.11.7)
Requirement already satisfied: platformdirs>=2.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.5.2)
Requirement already satisfied: tomlkit>=0.10.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.11.4)
Requirement already satisfied: tomli>=1.1.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.0.1)
Requirement already satisfied: pycodestyle>=2.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (2.9.1)
Requirement already satisfied: modernize==0.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (0.5)
Requirement already satisfied: wrapt<2,>=1.11 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.14.1)
Requirement already satisfied: setuptools>=20.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (63.4.1)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.7.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from packaging>=20.9->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2022.6.15)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.26.11)
Requirement already satisfied: idna<4,>=2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.3)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.0)
Requirement already satisfied: distlib<1,>=0.3.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (0.3.5)
Requirement already satisfied: filelock<4,>=3.4.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.8.0)
Requirement already satisfied: immutables>=0.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from contextvars->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (0.18)
Building wheels for collected packages: saltext.my-extension
Building wheel for saltext.my-extension (pyproject.toml): started
Building wheel for saltext.my-extension (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for saltext.my-extension (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
running bdist_wheel
running build
running build_py
running egg_info
writing src/saltext.my_extension.egg-info/PKG-INFO
writing dependency_links to src/saltext.my_extension.egg-info/dependency_links.txt
writing entry points to src/saltext.my_extension.egg-info/entry_points.txt
writing requirements to src/saltext.my_extension.egg-info/requires.txt
writing top-level names to src/saltext.my_extension.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/saltext.my_extension.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
removing 'build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info' (and everything under it)
Copying src/saltext.my_extension.egg-info to build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info
running install_scripts
error: [Errno 2] No such file or directory: 'build/bdist.linux-x86_64/wheel/saltext.my_extension-0.1.dev0+d20220817-py3.10.egg-info'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for saltext.my-extension
Failed to build saltext.my-extension
ERROR: Could not build wheels for saltext.my-extension, which is required to install pyproject.toml-based projects
nox > Session lint-tests-pre-commit failed.
nox > Running session lint-tests-pre-commit
nox > python -m pip install --progress-bar=off wheel
nox > python -m pip install .[dev,tests]
nox > Command python -m pip install .[dev,tests] failed with exit code 1:
Processing /tmp/my_extension
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: salt>=3003 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (3004.2)
Requirement already satisfied: nox==2021.6.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2021.6.12)
Requirement already satisfied: pylint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.14.5)
Requirement already satisfied: SaltPyLint in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2020.9.28)
Requirement already satisfied: pre-commit==2.13.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (2.13.0)
Requirement already satisfied: pytest-salt-factories==0.906.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (0.906.0)
Requirement already satisfied: pytest==6.2.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from saltext.my-extension==0.1.dev0+d20220817) (6.2.4)
Requirement already satisfied: py<2.0.0,>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.11.0)
Requirement already satisfied: virtualenv>=14.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (20.16.3)
Requirement already satisfied: packaging>=20.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (21.3)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (6.6.0)
Requirement already satisfied: argcomplete<2.0,>=1.9.4 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (1.12.3)
Requirement already satisfied: toml in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (0.10.2)
Requirement already satisfied: cfgv>=2.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (3.3.1)
Requirement already satisfied: pyyaml>=5.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (6.0)
Requirement already satisfied: nodeenv>=0.11.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: identify>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pre-commit==2.13.0->saltext.my-extension==0.1.dev0+d20220817) (2.5.3)
Requirement already satisfied: attrs>=19.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (22.1.0)
Requirement already satisfied: iniconfig in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (1.1.1)
Requirement already satisfied: pluggy<1.0.0a1,>=0.12 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest==6.2.4->saltext.my-extension==0.1.dev0+d20220817) (0.13.1)
Requirement already satisfied: pytest-tempdir>=2019.9.16 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2019.10.12)
Requirement already satisfied: pytest-helpers-namespace>=2021.4.29 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (2021.12.29)
Requirement already satisfied: psutil in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (5.9.1)
Requirement already satisfied: pyzmq in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (20.0.0)
Requirement already satisfied: msgpack in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pytest-salt-factories==0.906.0->saltext.my-extension==0.1.dev0+d20220817) (1.0.4)
Requirement already satisfied: requests>=1.0.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.28.1)
Requirement already satisfied: MarkupSafe in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.1)
Requirement already satisfied: pycryptodomex>=3.9.8 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.15.0)
Requirement already satisfied: contextvars in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.4)
Requirement already satisfied: distro>=1.0.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.7.0)
Requirement already satisfied: Jinja2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.1.2)
Requirement already satisfied: dill>=0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.3.5.1)
Requirement already satisfied: astroid<=2.12.0-dev0,>=2.11.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.11.7)
Requirement already satisfied: isort<6,>=4.2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (5.10.1)
Requirement already satisfied: platformdirs>=2.2.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.5.2)
Requirement already satisfied: tomli>=1.1.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (2.0.1)
Requirement already satisfied: tomlkit>=0.10.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.11.4)
Requirement already satisfied: mccabe<0.8,>=0.6 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from pylint->saltext.my-extension==0.1.dev0+d20220817) (0.7.0)
Requirement already satisfied: pycodestyle>=2.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (2.9.1)
Requirement already satisfied: modernize==0.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from SaltPyLint->saltext.my-extension==0.1.dev0+d20220817) (0.5)
Requirement already satisfied: wrapt<2,>=1.11 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.14.1)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (1.7.1)
Requirement already satisfied: setuptools>=20.0 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint->saltext.my-extension==0.1.dev0+d20220817) (63.4.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from packaging>=20.9->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (2.1.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (1.26.11)
Requirement already satisfied: idna<4,>=2.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from requests>=1.0.0->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (3.3)
Requirement already satisfied: distlib<1,>=0.3.5 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (0.3.5)
Requirement already satisfied: filelock<4,>=3.4.1 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from virtualenv>=14.0.0->nox==2021.6.12->saltext.my-extension==0.1.dev0+d20220817) (3.8.0)
Requirement already satisfied: immutables>=0.9 in /home/dad/.cache/pre-commit/repoqnovcgnx/py_env-python3.10/lib/python3.10/site-packages (from contextvars->salt>=3003->saltext.my-extension==0.1.dev0+d20220817) (0.18)
Building wheels for collected packages: saltext.my-extension
Building wheel for saltext.my-extension (pyproject.toml): started
Building wheel for saltext.my-extension (pyproject.toml): finished with status 'done'
Created wheel for saltext.my-extension: filename=saltext.my_extension-0.1.dev0+d20220817-py2.py3-none-any.whl size=2950 sha256=02ca9c37040e19314b543ff89c1216d50ac1b0a6c91b6feaf930cb518d27c41c
Stored in directory: /tmp/pip-ephem-wheel-cache-3c0n1nwl/wheels/46/ac/8b/85e67b6d147b547b6011f774d5fada5598b7dc5398f3321505
WARNING: Built wheel for saltext.my-extension is invalid: saltext-my-extension has an invalid wheel, saltext-my-extension has an invalid wheel, could not read 'saltext.my_extension-0.1.dev0+d20220817.dist-info/WHEEL' file: KeyError("There is no item named 'saltext.my_extension-0.1.dev0+d20220817.dist-info/WHEEL' in the archive")
Failed to build saltext.my-extension
ERROR: Could not build wheels for saltext.my-extension, which is required to install pyproject.toml-based projects
nox > Session lint-tests-pre-commit failed.
Py3.6 Test Requirements..............................(no files to check)Skipped
Py3.7 Test Requirements..............................(no files to check)Skipped
Py3.8 Test Requirements..............................(no files to check)Skipped
Py3.9 Test Requirements..............................(no files to check)Skipped
Py3.6 Lint Requirements..............................(no files to check)Skipped
Py3.7 Lint Requirements..............................(no files to check)Skipped
Py3.8 Lint Requirements..............................(no files to check)Skipped
Py3.9 Lint Requirements..............................(no files to check)Skipped
Py3.6 Docs Requirements..............................(no files to check)Skipped
Py3.7 Docs Requirements..............................(no files to check)Skipped
Py3.8 Docs Requirements..............................(no files to check)Skipped
Py3.9 Docs Requirements..............................(no files to check)Skipped
I started by updating black
pre-commit hook dependency to version 22.6.0
but it's not sufficient.
I think a newly created extension should pass the first commit without any modification or it makes the extension development harder.
Regards.
Salt Project / VMware has ended active development of this project, this repository will no longer be updated.
The community has created and maintained a better alternative to the development of Salt extensions: salt-extensions/salt-extension-copier (Create and maintain Salt extensions using Copier)