Skip to content

Commit

Permalink
Merge tag 'v69.4.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 13, 2024
2 parents 762bdcb + d4affe0 commit 6ac1f6e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
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 = 69.4.0
current_version = 69.4.1
commit = True
tag = True

Expand Down
15 changes: 15 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
v69.4.1
=======

No significant changes.


v69.3.1
=======

Bugfixes
--------

- Remove attempt to canonicalize the version. It's already canonical enough. (#4302)


v69.4.0
=======

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = setuptools
version = 69.4.0
version = 69.4.1
author = Python Packaging Authority
author_email = [email protected]
description = Easily download, build, install, upgrade, and uninstall Python packages
Expand Down
4 changes: 2 additions & 2 deletions setuptools/_core_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from . import _normalization, _reqs
from .extern.packaging.markers import Marker
from .extern.packaging.requirements import Requirement
from .extern.packaging.utils import canonicalize_name, canonicalize_version
from .extern.packaging.utils import canonicalize_name
from .extern.packaging.version import Version
from .warnings import SetuptoolsDeprecationWarning

Expand Down Expand Up @@ -264,5 +264,5 @@ def _write_provides_extra(file, processed_extras, safe, unsafe):
def get_fullname(self):
return "{}-{}".format(
canonicalize_name(self.get_name()).replace('-', '_'),
canonicalize_version(self.get_version()),
self.get_version(),
)
6 changes: 2 additions & 4 deletions setuptools/tests/test_config_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def test_py_modules_when_wheel_dir_is_cwd(self, tmp_path):


class TestNoConfig:
CANONICAL_DEFAULT_VERSION = "0" # Canonical default version given by setuptools
DEFAULT_VERSION = "0.0.0" # Default version given by setuptools

EXAMPLES = {
"pkg1": ["src/pkg1.py"],
Expand All @@ -277,9 +277,7 @@ def test_build_with_discovered_name(self, tmp_path):
_populate_project_dir(tmp_path, files, {})
_run_build(tmp_path, "--sdist")
# Expected distribution file
dist_file = (
tmp_path / f"dist/ns_nested_pkg-{self.CANONICAL_DEFAULT_VERSION}.tar.gz"
)
dist_file = tmp_path / f"dist/ns_nested_pkg-{self.DEFAULT_VERSION}.tar.gz"
assert dist_file.is_file()


Expand Down

0 comments on commit 6ac1f6e

Please sign in to comment.