-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.10.3: pytest and nox are failing #56
Comments
ping .. 😄 |
Just tested 1.10.4 and pytest still cannot be used to test BTW looks like --- a/setup.cfg~ 2022-06-10 08:01:20.000000000 +0000
+++ b/setup.cfg 2022-06-10 09:09:31.437852575 +0000
@@ -33,7 +33,6 @@
# one day these will be able to come from requirement files, see https://github.com/pypa/setuptools/issues/1951. But will it be better ?
setup_requires =
setuptools_scm
- pytest-runner
install_requires =
decopatch
makefun>=1.5 build without that module installed: + /usr/bin/python3 -sBm build -w --no-isolation
* Getting dependencies for wheel...
/usr/lib/python3.8/site-packages/setuptools/dist.py:767: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
* Building wheel...
/usr/lib/python3.8/site-packages/setuptools/dist.py:767: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/pytest_harvest
copying pytest_harvest/__init__.py -> build/lib/pytest_harvest
copying pytest_harvest/common.py -> build/lib/pytest_harvest
copying pytest_harvest/fixture_cache.py -> build/lib/pytest_harvest
copying pytest_harvest/newhooks.py -> build/lib/pytest_harvest
copying pytest_harvest/plugin.py -> build/lib/pytest_harvest
copying pytest_harvest/results_bags.py -> build/lib/pytest_harvest
copying pytest_harvest/results_session.py -> build/lib/pytest_harvest
copying pytest_harvest/xdist_api.py -> build/lib/pytest_harvest
copying pytest_harvest/_version.py -> build/lib/pytest_harvest
copying pytest_harvest/py.typed -> build/lib/pytest_harvest
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/pytest_harvest
copying build/lib/pytest_harvest/__init__.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/common.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/fixture_cache.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/newhooks.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/plugin.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/results_bags.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/results_session.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/xdist_api.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/_version.py -> build/bdist.linux-x86_64/wheel/pytest_harvest
copying build/lib/pytest_harvest/py.typed -> build/bdist.linux-x86_64/wheel/pytest_harvest
running install_egg_info
running egg_info
creating pytest_harvest.egg-info
writing pytest_harvest.egg-info/PKG-INFO
writing dependency_links to pytest_harvest.egg-info/dependency_links.txt
writing entry points to pytest_harvest.egg-info/entry_points.txt
writing requirements to pytest_harvest.egg-info/requires.txt
writing top-level names to pytest_harvest.egg-info/top_level.txt
writing manifest file 'pytest_harvest.egg-info/SOURCES.txt'
listing git files failed - pretending there aren't any
reading manifest file 'pytest_harvest.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pytest_harvest.egg-info/SOURCES.txt'
Copying pytest_harvest.egg-info to build/bdist.linux-x86_64/wheel/pytest_harvest-1.10.4-py3.8.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/pytest_harvest-1.10.4.dist-info/WHEEL
creating '/home/tkloczko/rpmbuild/BUILD/python-pytest-harvest-1.10.4/dist/tmpcd3oon5k/pytest_harvest-1.10.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pytest_harvest/__init__.py'
adding 'pytest_harvest/_version.py'
adding 'pytest_harvest/common.py'
adding 'pytest_harvest/fixture_cache.py'
adding 'pytest_harvest/newhooks.py'
adding 'pytest_harvest/plugin.py'
adding 'pytest_harvest/py.typed'
adding 'pytest_harvest/results_bags.py'
adding 'pytest_harvest/results_session.py'
adding 'pytest_harvest/xdist_api.py'
adding 'pytest_harvest-1.10.4.dist-info/LICENSE'
adding 'pytest_harvest-1.10.4.dist-info/METADATA'
adding 'pytest_harvest-1.10.4.dist-info/WHEEL'
adding 'pytest_harvest-1.10.4.dist-info/entry_points.txt'
adding 'pytest_harvest-1.10.4.dist-info/top_level.txt'
adding 'pytest_harvest-1.10.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pytest_harvest-1.10.4-py2.py3-none-any.whl |
Indeed, thanks @kloczek ! |
Look on "Deprecation Notice" on https://github.com/pytest-dev/pytest-runner/ |
Gentle ping .. any update? |
Thanks @kloczek , unfortunately still no time to perform this move yet, but getting closer ! I'll keep you posted |
In mean time I made patch which removes python<=3.7 support ad removes use of |
I'm trying to package 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
Here is pytest output:
I found pytest_harvest/tests/ so I've been tring ro use --pyargs but it did't help as well
nox seems is failing as well
The text was updated successfully, but these errors were encountered: