Opened 4 months ago

Closed 4 months ago

#5546 closed enhancement (fixed)

setuptools-74.1.2

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

Description

New major version.

I don't know why this package has so much churn lately.

Change History (11)

comment:1 by Xi Ruoyao, 4 months ago

Features

  • Mark abstract base classes and methods with abc.ABC and abc.abstractmethod -- by :user:Avasam (#4503)
  • Changed the order of type checks in setuptools.command.easy_install.CommandSpec.from_param to support any collections.abc.Iterable of str param -- by Avasam (#4505)

Bugfixes

  • Prevent an error in bdist_wheel if compression is set to a str (even if valid) after finalizing options but before running the command. -- by Avasam (#4383)
  • Raises an exception when py_limited_api is used in a build with Py_GIL_DISABLED. This is currently not supported (python/cpython#111506). (#4420)
  • Synced with pypa/distutils@30b7331 including fix for modified check on empty sources (pypa/distutils#284).

Deprecations and Removals

  • setuptools is replacing the usages of ordered_set with simple instances of dict[Hashable, None]. This is done to remove the extra dependency and it is possible because since Python 3.7, dict maintain insertion order. (#4574)

Misc

  • #4534, #4546, #4554, #4559, #4565

comment:2 by Bruce Dubbs, 4 months ago

Summary: setuptools-73.0.0setuptools-73.0.1

Now version 73.0.1.

comment:3 by Xi Ruoyao, 4 months ago

Bugfixes

  • Remove abc.ABCMeta metaclass from abstract classes. pypa/setuptools#4503 had an unintended consequence of causing potential TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases -- by Avasam (#4579)

comment:4 by Bruce Dubbs, 4 months ago

Summary: setuptools-73.0.1setuptools-74.0.0

Now version 74.0.0.

comment:5 by Xi Ruoyao, 4 months ago

  • Changed the type of error raised by setuptools.command.easy_install.CommandSpec.from_param on unsupported argument from AttributeError to TypeError -- by Avasam (#4548)
  • Added detection of ARM64 variant of MSVC -- by saschanaz (#4553)
  • Made setuptools.package_index.Credential a typing.NamedTuple -- by Avasam (#4585)
  • Reraise error from setuptools.command.easy_install.auto_chmod instead of nonsensical TypeError: 'Exception' object is not subscriptable -- by Avasam (#4593)
  • Fully typed all collection attributes in pkg_resources -- by Avasam (#4598)
  • Automatically exclude .tox|.nox|.venv directories from sdist. (#4603)

Deprecations and Removals

  • Removed the monkeypatching of distutils._msvccompiler. Now all compiler logic is consolidated in distutils. (#4600)
  • Synced with pypa/distutils@58fe058e4, including consolidating Visual Studio 2017 support (#4600, pypa/distutils#289), removal of deprecated legacy MSVC compiler modules (pypa/distutils#287), suppressing of errors when the home directory is missing (pypa/distutils#278), removal of wininst binaries (pypa/distutils#282). (#4606)

Misc

  • #4592

in reply to:  5 comment:6 by Xi Ruoyao, 4 months ago

Replying to Xi Ruoyao:

  • removal of deprecated legacy MSVC compiler modules (pypa/distutils#287)

This will break gobject-introspection. As we don't have MSVC compiler, we can work it around:

sed -e '/import MSVC/d' -e 's/isinstance.*MSVCCompiler)/False/' -i giscanner/ccompiler.py

comment:7 by Bruce Dubbs, 4 months ago

Summary: setuptools-74.0.0setuptools-74.1.0

Now version 74.1.0.

comment:8 by Xi Ruoyao, 4 months ago

Features

  • Added support for defining ext-modules via pyproject.toml (EXPERIMENTAL, may change in future releases). (#4568)

Bugfixes

  • Merge with pypa/distutils@3dcdf8567, removing the duplicate vendored copy of packaging. (#4622)
  • Restored setuptools.msvc.Environmentinfo as it is used externally. (#4625)

comment:9 by Bruce Dubbs, 4 months ago

Summary: setuptools-74.1.0setuptools-74.1.1

Now version 74.1.1.

comment:10 by Douglas R. Reno, 4 months ago

Summary: setuptools-74.1.1setuptools-74.1.2

More regressions...

v74.1.2

03 Sep 2024

Bugfixes

  • Fixed TypeError in sdist filelist processing by adding support for pathlib Paths for the build_base. (#4615)

v74.1.1

03 Sep 2024

Bugfixes

  • Fixed TypeError in msvc.EnvironmentInfo.return_env when no runtime redistributables are installed. (#1902)

comment:11 by Bruce Dubbs, 4 months ago

Resolution: fixed
Status: newclosed

Fixed at commit 75c9760329.

Update to tzdata-2024b.
Update to systemd-256.5.
Update to setuptools-74.1.2.
Update to python3-3.12.6.
Update to openssl-3.3.2.
Update to man-db-2.13.0.
Update to linux-6.10.8. 
Update to libpipeline-1.5.8. 
Update to expat-2.6.3. 
Update to bc-7.0.1. 
Note: See TracTickets for help on using tickets.