WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL-14.0, x86, tce-load -wi python3.9.tcz also installs setuptools  (Read 480 times)

Offline rhermsen

  • Jr. Member
  • **
  • Posts: 99
Hi,

Question regarding extension 'python3.9.tcz'.
After installation I see 'setuptools-58.1.0' (and also 'pip-23.0.1') in /usr/local/lib/python3.9/site-packages (e.g. [1])

Is this intentional? There is also a 'python3.9-setuptools.tcz'.

I'm on:
Code: [Select]
$ version
14.0
$ uname -m
i686

[1] http://www.tinycorelinux.net/14.x/x86/tcz/python3.9.tcz.list




Offline rhermsen

  • Jr. Member
  • **
  • Posts: 99
Re: TCL-14.0, x86, tce-load -wi python3.9.tcz also installs setuptools
« Reply #1 on: January 27, 2024, 03:32:23 AM »
On CorePlus I see the same.
But there it helps because the use of 67.6.0 python.3.9-setuptools.tcz throws a lot of errors.


setuptools warnings and errors with 67.6.0, not seen with the python3.9.tcz included 58.1.0 setuptools:
Code: [Select]
/usr/local/lib/python3.9/site-packages/setuptools/dist.py:798: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`,
`setuptools.config.parse_configuration` became deprecated.

For the time being, you can use the `setuptools.config.setupcfg` module
to access a backward compatible API, but this module is provisional
and might be removed in the future.

  parse_configuration(
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 187, in parse_configuration
    distribution._referenced_files.update(
AttributeError: 'MinimalDistribution' object has no attribute '_referenced_files'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/python3.9-exabgp/exabgp/setup.py", line 47, in <module>
    setuptools.setup(
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 145, in _install_setup_requires
    dist.parse_config_files(ignore_option_errors=True)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 798, in parse_config_files
    parse_configuration(
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/__init__.py", line 29, in _wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 187, in parse_configuration
    distribution._referenced_files.update(
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", line 419, in __exit__
    self._dist.set_defaults.analyse_name()  # Now we can set a default name
AttributeError: 'MinimalDistribution' object has no attribute 'set_defaults'
/usr/local/lib/python3.9/site-packages/setuptools/dist.py:798: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`,
`setuptools.config.parse_configuration` became deprecated.

For the time being, you can use the `setuptools.config.setupcfg` module
to access a backward compatible API, but this module is provisional
and might be removed in the future.

  parse_configuration(
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 187, in parse_configuration
    distribution._referenced_files.update(
AttributeError: 'MinimalDistribution' object has no attribute '_referenced_files'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/python3.9-exabgp/exabgp/setup.py", line 47, in <module>
    setuptools.setup(
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 145, in _install_setup_requires
    dist.parse_config_files(ignore_option_errors=True)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 798, in parse_config_files
    parse_configuration(
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/__init__.py", line 29, in _wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 187, in parse_configuration
    distribution._referenced_files.update(
  File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", line 419, in __exit__
    self._dist.set_defaults.analyse_name()  # Now we can set a default name
AttributeError: 'MinimalDistribution' object has no attribute 'set_defaults'