Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,41 @@
Changelog
=========

4.3.4 (unreleased)
5.0b3 (unreleased)
------------------

- Nothing changed yet.


5.0b2 (2025-07-10)
------------------

- Fixed a bug that failed to find license-expression fields.


5.0b1 (2025-07-04)
------------------

- Changed the internal metadata names to match Core Metadata. This brings
less confusion, especially since setuptools and PyPI aren't exactly the
same either, so let's pick the offical standard and run with it.

- Added a rating for if the wheel fails to build. Unfortunately it's
impossible to get a proper error out of it, so the message tells
you to run python -m build.


5.0a1 (2025-07-02)
------------------

- Removed support for fetching data via monkey-patching setup.py.

- Added a warning if you have only a setup.cfg, something that is
working with some tools, but is not officially supported.

- Some general cleanups and simplifications thanks to those changes.


4.3.3 (2025-07-03)
------------------

Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ clean-pyc: ## remove Python file artifacts
find . -name '__pycache__' -exec rm -fr {} +
find . -name 'pip-selfcheck.json' -exec rm -fr {} +
find . -name 'pyvenv.cfg' -exec rm -fr {} +

prepare-release:
python fetch_classifiers.py
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120
3 changes: 2 additions & 1 deletion pyroma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def skip_tests(arg):
def main():
parser = ArgumentParser()
parser.add_argument(
"package", help="A python package, can be a directory, a distribution file or a PyPI package name."
"package",
help="A python package, can be a directory, a distribution file or a PyPI package name.",
)
parser.add_argument(
"-n",
Expand Down
2 changes: 1 addition & 1 deletion pyroma/distributiondata.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_data(path):
raise ValueError("Unknown file type: " + ext)

projectpath = os.path.join(tempdir, basename)
data = projectdata._get_data(projectpath)
data = projectdata.get_build_data(projectpath)
finally:
shutil.rmtree(tempdir, ignore_errors=True)

Expand Down
Loading