Open kloczek opened 8 months ago
Our CI is passing all tests, so you could look to reproduce the CI environment if you want them to pass
Many of the tests will fail with older dependencies, but most of these won't cause an issue with the functionality of the code
I have no access to list of modules installed in your CI. Can you provide that list or compare with that one which I've provided?
The commands run by the CI are here, but in short for Python tests:
The dependencies are listed in setup.py/requirements.txt if it would be useful to see them. For those that aren't pinned the tests may only pass for the latest version, but the package likely works with earlier versions
Small update.
I've moved to python 3.9 and pytest 8.1.x. I still have no packaged rinohtype
so for now I'm deselecting unit which uses that module.
Test suite seems is ok however I see some pytest warnings
===================================================================================== warnings summary ======================================================================================
tests/test_build.py: 12 warnings
/home/tkloczko/rpmbuild/BUILD/sphinx-tabs-3.4.5/sphinx_tabs/tabs.py:335: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
if path.suffix == ".js" and path.as_posix() in context["script_files"]:
tests/test_build.py: 12 warnings
/home/tkloczko/rpmbuild/BUILD/sphinx-tabs-3.4.5/sphinx_tabs/tabs.py:336: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
context["script_files"].remove(path.as_posix())
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================= 13 passed, 1 deselected, 24 warnings in 2.63s =======================================================================
Describe the bug
Looks like pytest is failing in all units. Here is pytest output:
Reproduce the bug
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 modulescut off from access to the public network
(pytest is executed with-m "not network"
)List your environment
Here is list of installed modules in build env