Update setuptools to 63.2.0
mkoeppe opened this issue · 11 comments
https://setuptools.pypa.io/en/latest/history.html#v63-1-0
This will get rid of the annoying "package init file ... not found" warnings for namespace packages. (#33011 comment:65)
CC: @kwankyu @jhpalmieri
Component: packages: standard
Author: Matthias Koeppe
Branch/Commit: d60fa18
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/34177
Branch pushed to git repo; I updated commit sha1. New commits:
d60fa18 | build/pkgs/setuptools: Update to 63.2.0 |
Reviewer: John Palmieri
Looks good to me. Straightforward update.
Thanks!
By the way, I see many messages like this in package log files:
############################
# Package would be ignored #
############################
Python recognizes 'terminado._static' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'terminado._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 'terminado._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.
(There are lots of hits for "Package would be ignored".) This is unaffected by the update to setuptools. Is this something to worry about?
This is a warning about a future breaking change in setuptools. When we do the update to the future version in which this change is done, we'll have to update all packages that currently show this warning. Nothing to worry about.
Changed branch from u/mkoeppe/update_setuptools_to_63_1_0 to d60fa18