Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pypa/setuptools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v78.0.2
Choose a base ref
...
head repository: pypa/setuptools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v78.1.0
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Mar 25, 2025

  1. Copy the full SHA
    efa2eb2 View commit details
  2. Merge https://github.com/pypa/distutils

    jaraco committed Mar 25, 2025
    Copy the full SHA
    d37cd9e View commit details
  3. Bump version: 78.0.2 → 78.1.0

    jaraco committed Mar 25, 2025
    Copy the full SHA
    6ead555 View commit details
Showing with 22 additions and 2 deletions.
  1. +1 −1 .bumpversion.cfg
  2. +9 −0 NEWS.rst
  3. +1 −1 pyproject.toml
  4. +11 −0 setuptools/_distutils/_msvccompiler.py
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 78.0.2
current_version = 78.1.0
commit = True
tag = True

9 changes: 9 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v78.1.0
=======

Features
--------

- Restore access to _get_vc_env with a warning. (#4874)


v78.0.2
=======

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ backend-path = ["."]

[project]
name = "setuptools"
version = "78.0.2"
version = "78.1.0"
authors = [
{ name = "Python Packaging Authority", email = "distutils-sig@python.org" },
]
11 changes: 11 additions & 0 deletions setuptools/_distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
import warnings

from .compilers.C import msvc

__all__ = ["MSVCCompiler"]

MSVCCompiler = msvc.Compiler


def __getattr__(name):
if name == '_get_vc_env':
warnings.warn(
"_get_vc_env is private; find an alternative (pypa/distutils#340)"
)
return msvc._get_vc_env
raise AttributeError(name)