Opened 7 months ago

Closed 7 months ago

#5497 closed enhancement (fixed)

setuptools-70.0.0

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 12.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (2)

comment:1 by Bruce Dubbs, 7 months ago

v70.0.0

Features

  • Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored.
  • Improved 'AttributeError' error message if 'pkg_resources.EntryPoint.require' is called without extras or distribution
  • Gracefully "do nothing" when trying to activate a 'pkg_resources.Distribution with a 'None' location, rather than raising a 'TypeError'
  • Typed the dynamically defined variables from 'pkg_resources'
  • Modernized and refactored VCS handling in package_index.

Bugfixes

  • In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs late.
  • Fix finder template for lenient editable installs of implicit nested namespaces constructed by using 'package_dir' to reorganise directory structure.
  • Fix an error with 'UnicodeDecodeError' handling in 'pkg_resources' when trying to read files in UTF-8 with a fallback

Improved Documentation

  • Uses RST substitution to put badges in 1 line.

Deprecations and Removals

  • Further adoption of UTF-8 in setuptools. This change regards mostly files produced and consumed during the build process (e.g. metadata files, script wrappers, automatically updated config files, etc..) Although precautions were taken to minimize disruptions, some edge cases might be subject to backwards incompatibility.
  • Support for "locale" encoding is now deprecated.
  • Remove setuptools.convert_path after long deprecation period. This function was never defined by setuptools itself, but rather a side-effect of an import for internal usage.
  • Remove fallback for customisations of distutils' build.sub_command after long deprecated period. Users are advised to import 'build' directly from setuptools.command.build.
  • Removed 'typing_extensions' from vendored dependencies
  • Remove deprecated 'setuptools.dep_util'. The provided alternative is 'setuptools.modified.

comment:2 by Bruce Dubbs, 7 months ago

Resolution: fixed
Status: newclosed

Fixed at commit 6acfe2e81f.

Note: See TracTickets for help on using tickets.