We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like pytest shpws some DeprecationWarning warnings
DeprecationWarning
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-hatch-requirements-txt-0.3.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-hatch-requirements-txt-0.3.0-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra -m 'not network' ==================================================================================== test session starts ==================================================================================== platform linux -- Python 3.8.16, pytest-7.2.1, pluggy-1.0.0 Test session started at 18:04:54 rootdir: /home/tkloczko/rpmbuild/BUILD/hatch-requirements-txt-0.3.0, configfile: tox.ini plugins: datadir-1.4.1, regressions-2.4.2, timeout-2.1.0 timeout: 300.0s timeout method: signal timeout func_only: False collected 54 items tests/test_errors.py ........................ [ 44%] tests/test_metadata.py .............................. [100%] ===================================================================================== warnings summary ====================================================================================== tests/test_errors.py::test_filename_parameter_not_str[build_wheel] tests/test_errors.py::test_filename_parameter_not_str[build_sdist] tests/test_metadata.py::test_build_with_filename[build_wheel] tests/test_metadata.py::test_build_with_filename[build_sdist] /home/tkloczko/rpmbuild/BUILD/hatch-requirements-txt-0.3.0/hatch_requirements_txt/__init__.py:149: DeprecationWarning: The 'filename' option in [tool.hatch.metadata.hooks.requirements_txt] is deprecated. Please instead use the list 'files'. warnings.warn( tests/test_metadata.py::test_build_unspecified[build_wheel] tests/test_metadata.py::test_build_unspecified[build_sdist] /home/tkloczko/rpmbuild/BUILD/hatch-requirements-txt-0.3.0/hatch_requirements_txt/__init__.py:136: DeprecationWarning: Please explicitly specify 'files' in [tool.hatch.metadata.hooks.requirements_txt]. Defaulting to ['requirements.txt'] is deprecated. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =================================================================================== slowest 25 durations ==================================================================================== 0.05s call tests/test_metadata.py::test_build_files_in_subdirectory[build_wheel] 0.04s call tests/test_metadata.py::test_build_files_in_subdirectory[build_sdist] 0.04s call tests/test_metadata.py::test_optional_dependencies[build_sdist] 0.03s call tests/test_errors.py::test_filename_deprecation[build_wheel] 0.03s call tests/test_errors.py::test_missing_requirements_txt[build_wheel] 0.03s call tests/test_metadata.py::test_optional_dependencies[build_wheel] 0.03s call tests/test_metadata.py::test_build_with_files[build_wheel] 0.02s call tests/test_errors.py::test_no_files_or_filename_deprecation[build_wheel] 0.02s call tests/test_metadata.py::test_build_with_filename[build_wheel] 0.02s call tests/test_metadata.py::test_build_unspecified[build_wheel] 0.02s call tests/test_metadata.py::test_using_project_deps_and_optional_deps[build_wheel] 0.02s call tests/test_metadata.py::test_build_with_files[build_sdist] 0.02s call tests/test_metadata.py::test_build_with_filename[build_sdist] 0.02s call tests/test_metadata.py::test_using_project_deps_and_optional_deps[build_sdist] 0.02s call tests/test_metadata.py::test_build_unspecified[build_sdist] 0.02s call tests/test_errors.py::test_filename_deprecation[build_sdist] 0.02s call tests/test_errors.py::test_no_files_or_filename_deprecation[build_sdist] 0.02s call tests/test_errors.py::test_optional_already_given[build_wheel] 0.02s call tests/test_errors.py::test_not_dynamic_but_files_defined[build_sdist] 0.02s call tests/test_errors.py::test_missing_invalid_requirements[build_sdist] 0.02s call tests/test_errors.py::test_missing_requirements_txt[build_sdist] 0.02s call tests/test_errors.py::test_optional_not_dynamic[build_wheel] 0.02s call tests/test_errors.py::test_missing_invalid_requirements[build_wheel] 0.02s call tests/test_errors.py::test_filename_parameter_not_str[build_wheel] 0.02s call tests/test_errors.py::test_optional_already_given[build_sdist] ============================================================================== 54 passed, 6 warnings in 1.09s ===============================================================================
The text was updated successfully, but these errors were encountered:
domdfcoding
No branches or pull requests
Looks like pytest shpws some
DeprecationWarning
warningsThe text was updated successfully, but these errors were encountered: