Open kloczek opened 1 month ago
Did you try to install the dev dependencies with python -m pip install -e.[dev]
?
Hmm, with a second look it seems that the problem is because you are running pytest on the main folder which seems to find tests which are obsolete since a long time ago. If you run pytest tests
it should work.
I should delete that old folder.
Did you try to install the dev dependencies with python -m pip install -e.[dev] ?
After add to --ignore list those two files I've been able to add more modules in build env but none of those dependencies but none of the missing modules been able to fix issue with missing file.
Hmm, with a second look it seems that the problem is because you are running pytest on the main folder which seems to find tests which are obsolete since a long time ago. If you run
pytest tests
it should work.
it shuld be working that way.
I should delete that old folder.
Alternatively it is possible to add tests/ to pytest setting testpaths
but if it is older version of the test suite probably better would be remove that.
After add more modules to build env
I still have some filing units
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesinstaller
modulecut off from access to the public network
(pytest is executed with-m "not network"
)List of installed modules in build env:
```console Package Version ----------------------------- ----------- aiohappyeyeballs 2.4.3 aiohttp 3.10.10 aiosignal 1.3.1 alabaster 0.7.16 anyio 4.4.0 async-timeout 4.0.3 attrs 24.2.0 babel 2.16.0 backoff 2.2.1 build 1.2.2.post1 certifi 2024.8.30 charset-normalizer 3.4.0 defusedxml 0.7.1 distro 1.9.0 docutils 0.21.2 exceptiongroup 1.1.3 frozenlist 1.4.1 graphql-core 3.2.5 h11 0.14.0 httpcore 1.0.6 httpx 0.27.2 imagesize 1.4.1 importlib_metadata 8.5.0 iniconfig 2.0.0 installer 0.7.0 Jinja2 3.1.4 MarkupSafe 3.0.2 multidict 6.1.0 packaging 24.0 parse 1.20.2 pluggy 1.5.0 Pygments 2.18.0 pyproject_hooks 1.2.0 pytest 8.2.2 pytest-asyncio 0.23.8 python-dateutil 2.9.0.post0 requests 2.32.3 requests-toolbelt 1.0.0 setuptools 75.1.0 sniffio 1.3.0 snowballstemmer 2.2.0 Sphinx 8.1.3 sphinx-argparse 0.4.0 sphinx_rtd_theme 2.0.0 sphinxcontrib-applehelp 2.0.0 sphinxcontrib-devhelp 1.0.6 sphinxcontrib-htmlhelp 2.1.0 sphinxcontrib-jquery 4.1 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 2.0.0 sphinxcontrib-serializinghtml 2.0.0 tokenize_rt 6.1.0 tomli 2.0.1 typing_extensions 4.12.2 urllib3 2.2.2 websockets 13.1 wheel 0.44.0 yarl 1.12.1 zipp 3.20.2 ```Please let me know if you need more details or want me to perform some diagnostics.