You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SetuptoolsDeprecationWarning are displayed when building with setuptools/65.5.0
Expected behavior
no warnings are displayed
Actual behavior
...
running install_scripts
Installing locust script to /build/locust-2.12.1/debian/python3-locust/usr/bin
I: pybuild base:240: /usr/bin/python3 setup.py install --root /build/locust-2.12.1/debian/python3-locust
/usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running egg_info
writing locust.egg-info/PKG-INFO
writing dependency_links to locust.egg-info/dependency_links.txt
writing entry points to locust.egg-info/entry_points.txt
writing requirements to locust.egg-info/requires.txt
writing top-level names to locust.egg-info/top_level.txt
reading manifest file 'locust.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'locust.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'locust.static' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'locust.static' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'locust.static' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'locust.static' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'locust.static.css' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'locust.static.css' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'locust.static.css' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'locust.static.css' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'locust.static.img' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'locust.static.img' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'locust.static.img' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'locust.static.img' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'locust.static.sass' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'locust.static.sass' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'locust.static.sass' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'locust.static.sass' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'locust.templates' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'locust.templates' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'locust.templates' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'locust.templates' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
running install_lib
...
Steps to reproduce
run and setup.py command
Environment
OS: debian unstable
Python version: 3.10 and 3.11
Locust version: 2.12.1
Locust command line that you ran: N/A
Locust file contents (anonymized if necessary): N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
SetuptoolsDeprecationWarning are displayed when building with setuptools/65.5.0
Expected behavior
no warnings are displayed
Actual behavior
Steps to reproduce
run and
setup.py
commandEnvironment
The text was updated successfully, but these errors were encountered: