Skip to content

Upgrading setuptools 72 to 73

Review needed72.2.0 → 73.0.1Deprecated1Changed2Fixed3

Review neededUpgrade verdict

1 deprecation.

  • setuptools no longer depends on the ordered_set package, using plain dictionaries instead since Python 3.7 preserves insertion order.
1 item needs code or config changes

Nothing in this upgrade needs a code or configuration change.

Deprecated1
Replaces usages of ordered_set with dict[Hashable, None] to remove the extra dependency.
ordered_setdict[Hashable, None]

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: class Requirement(_packaging_requirements.Requirement) → class Requirement(packaging.requirements.Requirement)
  • changed: method Environment.best_match(req: Requirement, working_set: WorkingSet, installer: _InstallerTypeT[_DistributionT], replace_conflicting: bool=…) -> _DistributionT | (req: Requirement, working_set: WorkingSet, installer: _InstallerType | None=…, replace_conflicting: bool=…) -> Distribution | None → method Environment.best_match(req: Requirement, working_set: WorkingSet, installer: _StrictInstallerType[_DistributionT], replace_conflicting: bool=…) -> _DistributionT | (req: Requirement, working_set: WorkingSet, installer: _InstallerType | None=…, replace_conflicting: bool=…) -> Distribution | None
  • changed: method Environment.obtain(requirement: Requirement, installer: _InstallerTypeT[_DistributionT]) -> _DistributionT | (requirement: Requirement, installer: Callable[[Requirement], None] | None=…) -> None | (requirement: Requirement, installer: _InstallerType | None=…) -> Distribution | None → method Environment.obtain(requirement: Requirement, installer: _StrictInstallerType[_DistributionT]) -> _DistributionT | (requirement: Requirement, installer: Callable[[Requirement], None] | None=…) -> None | (requirement: Requirement, installer: _InstallerType | None=…) -> Distribution | None
  • changed: method WorkingSet.find_plugins(plugin_env: Environment, full_env: Environment | None, installer: _InstallerTypeT[_DistributionT], fallback: bool=…) -> tuple[list[_DistributionT], dict[Distribution, Exception]] | (plugin_env: Environment, full_env: Environment | None=…, *, installer: _InstallerTypeT[_DistributionT], fallback: bool=…) -> tuple[list[_DistributionT], dict[Distribution, Exception]] |… → method WorkingSet.find_plugins(plugin_env: Environment, full_env: Environment | None, installer: _StrictInstallerType[_DistributionT], fallback: bool=…) -> tuple[list[_DistributionT], dict[Distribution, Exception]] | (plugin_env: Environment, full_env: Environment | None=…, *, installer: _StrictInstallerType[_DistributionT], fallback: bool=…) -> tuple[list[_DistributionT], dict[Distribution, Exce…
  • changed: method WorkingSet.resolve(requirements: Iterable[Requirement], env: Environment | None, installer: _InstallerTypeT[_DistributionT], replace_conflicting: bool=…, extras: tuple[str, ...] | None=…) -> list[_DistributionT] | (requirements: Iterable[Requirement], env: Environment | None=…, *, installer: _InstallerTypeT[_DistributionT], replace_conflicting: bool=…, extras: tuple[str, ...] | None=…) ->… → method WorkingSet.resolve(requirements: Iterable[Requirement], env: Environment | None, installer: _StrictInstallerType[_DistributionT], replace_conflicting: bool=…, extras: tuple[str, ...] | None=…) -> list[_DistributionT] | (requirements: Iterable[Requirement], env: Environment | None=…, *, installer: _StrictInstallerType[_DistributionT], replace_conflicting: bool=…, extras: tuple[str, ...] | N…
  • changed: method Command.reinitialize_command(command, reinit_subcommands=…, **kw) → method Command.reinitialize_command(command: str, reinit_subcommands: bool=…, **kw) -> _Command | (command: _CommandT, reinit_subcommands: bool=…, **kw) -> _CommandT
  • added: method Command.finalize_options() -> None
  • added: method Command.initialize_options() -> None
  • added: method Command.run() -> None
  • added: field bdist_rpm.distribution: Distribution
  • removed: property bdist_wheel.wheel_dist_name
  • changed: function remove_readonly(func: Callable[..., object], path: str, excinfo: tuple[type[Exception], Exception, types.TracebackType]) -> None → function remove_readonly(func: Callable[..., object], path: str, excinfo: ExcInfo) -> None
  • changed: function remove_readonly_exc(func: Callable[..., object], path: str, exc: Exception) -> None → function remove_readonly_exc(func: Callable[..., object], path: str, exc: BaseException) -> None
  • changed: method bdist_wheel.finalize_options() → method bdist_wheel.finalize_options() -> None
  • added: property bdist_wheel.wheel_dist_name -> str
  • added: field build.distribution: Distribution
  • added: field build_clib.distribution: Distribution
  • added: field build_ext.distribution: Distribution
  • added: field build_py.distribution: Distribution
  • added: field install.distribution: Distribution
  • added: field install_lib.distribution: Distribution
  • added: field install_scripts.distribution: Distribution
  • added: field register.distribution: Distribution
  • added: field sdist.distribution: Distribution
  • added: field upload.distribution: Distribution
  • changed: constructor Extension(name, sources, *args, **kw) → constructor Extension(name: str, sources, *args, py_limited_api: bool=…, **kw)
  • changed: function hide_file(path) → function hide_file(path: str) -> None