#60 Update to 1.18.0 (close RHBZ#2158497)
Merged 20 days ago by music. Opened a month ago by music.
rpms/ music/python-hatchling v1-epel9  into  epel9

file modified
+25
@@ -10,3 +10,28 @@ 

  /hatchling-0.22.0.tar.gz

  /hatchling-0.24.0.tar.gz

  /hatchling-0.25.0.tar.gz

+ /hatchling-1.0.0.tar.gz

+ /hatchling-1.1.0.tar.gz

+ /hatchling-1.2.0.tar.gz

+ /hatchling-1.3.0.tar.gz

+ /hatchling-1.3.1.tar.gz

+ /hatchling-1.4.1.tar.gz

+ /hatchling-1.5.0.tar.gz

+ /hatchling-1.6.0.tar.gz

+ /hatchling-1.8.0.tar.gz

+ /hatchling-1.8.1.tar.gz

+ /hatchling-1.9.0.tar.gz

+ /hatchling-1.10.0.tar.gz

+ /hatchling-1.11.0.tar.gz

+ /hatchling-1.11.1.tar.gz

+ /hatchling-1.12.1.tar.gz

+ /hatchling-1.12.2.tar.gz

+ /hatchling-1.13.0.tar.gz

+ /hatchling-1.14.0.tar.gz

+ /hatchling-1.14.1.tar.gz

+ /hatchling-1.15.0.tar.gz

+ /hatchling-1.16.0.tar.gz

+ /hatchling-1.16.1.tar.gz

+ /hatchling-1.17.0.tar.gz

+ /hatchling-1.17.1.tar.gz

+ /hatchling-1.18.0.tar.gz

@@ -0,0 +1,29 @@ 

+ From 434141ae48b911d3b56675a34f38f9ffbb49b641 Mon Sep 17 00:00:00 2001

+ From: "Benjamin A. Beasley" <code@musicinmybrain.net>

+ Date: Mon, 24 Jul 2023 11:30:02 -0400

+ Subject: [PATCH] Downstream-only: loosen dependency versions for EPEL9

+ 

+ See discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2158497.

+ ---

+  backend/pyproject.toml | 4 ++--

+  1 file changed, 2 insertions(+), 2 deletions(-)

+ 

+ diff --git a/backend/pyproject.toml b/backend/pyproject.toml

+ index 8e4e5ffc..2655b7d6 100644

+ --- a/backend/pyproject.toml

+ +++ b/backend/pyproject.toml

+ @@ -35,9 +35,9 @@ classifiers = [

+  ]

+  dependencies = [

+    "editables>=0.3",

+ -  "packaging>=21.3",

+ +  "packaging>=20.9",

+    "pathspec>=0.10.1",

+ -  "pluggy>=1.0.0",

+ +  "pluggy>=0.13.1",

+    "tomli>=1.2.2; python_version < '3.11'",

+    "trove-classifiers",

+  ]

+ -- 

+ 2.41.0

+ 

file added
+40
@@ -0,0 +1,40 @@ 

+ .TH HATCHLING\-BUILD "1" "October 2022" "" "User Commands"

+ .SH NAME

+ .B hatchling\ build

+ .SH SYNOPSIS

+ .B hatchling\ build

+ .RB [ \-h ]

+ .RB [ \-d ]

+ .RB [ \-t ]

+ .RB [ \-\-hooks\-only ]

+ .RB [ \-\-no\-hooks ]

+ .RB [ \-c ]

+ .RB [ \-\-clean\-hooks\-after ]

+ .RB [ \-\-clean\-only ]

+ .SH OPTIONS

+ .SS "OPTIONAL\ ARGUMENTS"

+ .TP

+ .B \-h\fR,\ \fB\-\-help

+ Show a help message and exit

+ .TP

+ .B \-d\fR,\ \fB\-\-directory

+ The directory in which to build artifacts

+ .TP

+ .B \-t\fR,\ \fB\-\-targets

+ Comma-separated list of targets to build, overriding project defaults

+ .TP

+ .B \-\-hooks\-only

+ .TP

+ .B \-\-no\-hooks

+ .TP

+ .B \-c\fR,\ \fB\-\-clean

+ .TP

+ .B \-\-clean\-hooks\-after

+ .TP

+ .B \-\-clean\-only

+ .SH "SEE\ ALSO"

+ .BR hatchling\-dep (1),

+ .BR hatchling\-metadata (1),

+ .BR hatchling\-version (1)

+ .P

+ .BR hatchling (1)

@@ -0,0 +1,22 @@ 

+ .TH HATCHLING\-DEP\-SYNCED "1" "October 2022" "" "User Commands"

+ .SH NAME

+ .B hatchling\ dep\ synced

+ .SH SYNOPSIS

+ .B hatchling\ dep\ synced

+ .RB [ \-h ]

+ .RB [ \-p ]

+ .I dependencies

+ .RI [ dependencies \ ...]

+ .SH OPTIONS

+ .SS "POSITIONAL\ ARGUMENTS"

+ .TP

+ .I dependencies

+ .SS "OPTIONAL\ ARGUMENTS"

+ .TP

+ .B \-h\fR,\ \fB\-\-help

+ Show a help message and exit

+ .TP

+ .B \-p\fR,\ \fB\-\-python

+ .SH "SEE\ ALSO"

+ .BR hatchling\-dep (1),

+ .BR hatchling (1)

file added
+25
@@ -0,0 +1,25 @@ 

+ .TH HATCHLING\-DEP "1" "October 2022" "" "User Commands"

+ .SH NAME

+ .B hatchling\ dep

+ .SH SYNOPSIS

+ .B hatchling\ dep

+ .RB [ \-h ]

+ .RB { synced }\ ...

+ .SH OPTIONS

+ .SS "COMMANDS"

+ .TP

+ .B synced

+ See

+ .BR hatchling\-dep\-synced (1).

+ .SS "OPTIONAL\ ARGUMENTS"

+ .TP

+ .B \-h\fR,\ \fB\-\-help

+ Show a help message and exit

+ .SH "SEE\ ALSO"

+ .BR hatchling\-dep\-synced (1)

+ .P

+ .BR hatchling\-build (1),

+ .BR hatchling\-metadata (1),

+ .BR hatchling\-version (1)

+ .P

+ .BR hatchling (1)

file added
+24
@@ -0,0 +1,24 @@ 

+ .TH HATCHLING\-METADATA "1" "October 2022" "" "User Commands"

+ .SH NAME

+ .B hatchling\ metadata

+ .SH SYNOPSIS

+ .B hatchling\ metadata

+ .RB [ \-h ]

+ .RB [ \-c ]

+ .RI [ field ]

+ .SH OPTIONS

+ .SS "POSITIONAL\ ARGUMENTS"

+ .TP

+ .I field

+ .SS "OPTIONAL\ ARGUMENTS"

+ .TP

+ .B \-h\fR,\ \fB\-\-help

+ Show a help message and exit

+ .TP

+ .B \-c\fR,\ \fB\-\-compact

+ .SH "SEE\ ALSO"

+ .BR hatchling\-build (1),

+ .BR hatchling\-dep (1),

+ .BR hatchling\-version (1)

+ .P

+ .BR hatchling (1)

file added
+18
@@ -0,0 +1,18 @@ 

+ .TH HATCHLING\-VERSION "1" "October 2022" "" "User Commands"

+ .SH NAME

+ .B hatchling\ version

+ .SH SYNOPSIS

+ .B hatchling\ version

+ .RB [ \-h ]

+ .SH OPTIONS

+ .\" .SS "POSITIONAL\ ARGUMENTS"

+ .SS "OPTIONAL\ ARGUMENTS"

+ .TP

+ .B \-h\fR,\ \fB\-\-help

+ Show a help message and exit

+ .SH "SEE\ ALSO"

+ .BR hatchling\-build (1),

+ .BR hatchling\-dep (1),

+ .BR hatchling\-metadata (1)

+ .P

+ .BR hatchling (1)

file modified
+19 -4
@@ -1,24 +1,39 @@ 

- .TH HATCHLING "1" "February 2022" "" "User Commands"

+ .TH HATCHLING "1" "October 2022" "" "User Commands"

  .SH NAME

  .B hatchling

  \(en the build backend used by Hatch

  .SH SYNOPSIS

  .B hatchling

  .RB [ \-h ]

- .RB { build , dep , version }\ ...

+ .RB { build , dep , metadata , version }\ ...

  .SH DESCRIPTION

  This is the extensible, standards compliant build backend used by Hatch.

  .SH OPTIONS

- .SS "POSITIONAL\ ARGUMENTS"

+ .SS "COMMANDS"

  .TP

  .B build

+ See

+ .BR hatchling\-build (1).

  .TP

  .B dep

+ See

+ .BR hatchling\-dep (1).

+ .TP

+ .B metadata

+ See

+ .BR hatchling\-metadata (1).

  .TP

  .B version

+ See

+ .BR hatchling\-version (1).

  .SS "OPTIONAL\ ARGUMENTS"

  .TP

  .B \-h\fR,\ \fB\-\-help

- show a help message and exit

+ Show a help message and exit

  .SH "SEE\ ALSO"

+ .BR hatchling\-build (1),

+ .BR hatchling\-dep (1),

+ .BR hatchling\-metadata (1),

+ .BR hatchling\-version (1)

+ .P

  .BR hatch (1)

file modified
+22 -9
@@ -1,14 +1,21 @@ 

  Name:           python-hatchling

- Version:        0.25.0

+ Version:        1.18.0

  Release:        %autorelease

  Summary:        The build backend used by Hatch

  

+ # SPDX

  License:        MIT

  URL:            https://pypi.org/project/hatchling

  Source0:        %{pypi_source hatchling}

- # Man page in groff_man(7) format, hand-written for Fedora based on package

- # metadata and --help output

- Source1:        hatchling.1

+ # Written for Fedora in groff_man(7) format based on --help output

+ Source100:      hatchling.1

+ Source200:      hatchling-build.1

+ Source300:      hatchling-dep.1

+ Source310:      hatchling-dep-synced.1

+ Source400:      hatchling-metadata.1

+ Source500:      hatchling-version.1

+ 

+ Patch:          0001-Downstream-only-loosen-dependency-versions-for-EPEL9.patch

  

  BuildArch:      noarch

  
@@ -29,11 +36,11 @@ 

  

  

  %prep

- %autosetup -n hatchling-%{version}

+ %autosetup -n hatchling-%{version} -p2

  

  

  %generate_buildrequires

- %pyproject_buildrequires -w

+ %pyproject_buildrequires

  

  

  %build
@@ -43,21 +50,27 @@ 

  %install

  %pyproject_install

  %pyproject_save_files hatchling

- install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'

+ 

+ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \

+     '%{SOURCE100}' \

+     '%{SOURCE200}' \

+     '%{SOURCE300}' '%{SOURCE310}' \

+     '%{SOURCE400}' \

+     '%{SOURCE500}'

  

  

  %check

  # It’s not yet clear how, or if, we can run the upstream tests.

- # https://github.com/ofek/hatch/issues/120

+ # https://github.com/pypa/hatch/issues/120

  %pyproject_check_import

  

  

  %files -n python3-hatchling -f %{pyproject_files}

- %license LICENSE.txt

  %doc README.md

  

  %{_bindir}/hatchling

  %{_mandir}/man1/hatchling.1*

+ %{_mandir}/man1/hatchling-*.1*

  

  

  %changelog

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (hatchling-0.25.0.tar.gz) = 417f98d15c8f64ed8968f9bf86d258bb52bb028db5f54c35e70405d8760a2ee32b177ab91cae61bb6618d9f72a4374543b3c5ea7ee9debe782e9a082367f18b9

+ SHA512 (hatchling-1.18.0.tar.gz) = b0c3906aa4065ffff63d923e576f0b96d8436947b41c9eac540a449a229e08fcb0edc628d0d76cc3b3c0a401d6dc1101d5d04f855a17971f2deb3d630b5480bf

Merge commit '2281a63' into epel9.

This resolves https://bugzilla.redhat.com/show_bug.cgi?id=2158497, thanks to an investigation by Martin Hoyer.

Later versions are blocked by the absence of python-trove-classifiers (which wants a newer setuptools) in EPEL9.

This can proceed after I have PRs ready to deliver corresponding versions of hatch and python-hatch-vcs, and after I have confirmed there is no impact on existing EPEL9 packages.

rebased onto 394af76

a month ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/a69386752c974cbc87d11c6c53742d4c

Later versions are blocked by the absence of python-trove-classifiers (which wants a newer setuptools) in EPEL9.

I'll look into patching trove-classifier's build configuration so we can build it for epel9. I've already done similar things for other packages.

Later versions are blocked by the absence of python-trove-classifiers (which wants a newer setuptools) in EPEL9.

I'll look into patching trove-classifier's build configuration so we can build it for epel9. I've already done similar things for other packages.

https://src.fedoraproject.org/fork/gotmax23/rpms/python-trove-classifiers/c/a8b4c9a039a2c12c83f5f958ee08be6bb283fd76?branch=epel9-init

https://src.fedoraproject.org/fork/gotmax23/rpms/python-trove-classifiers/c/a8b4c9a039a2c12c83f5f958ee08be6bb283fd76?branch=epel9-init

Nice, thanks! This wasn’t a high enough priority for me to want to work on it myself, but if it’s available I’m happy to see how much further I can upgrade hatchling.

Cool, with python-trove-classifiers this can be updated all the way to 1.18.0, the current version.

https://src.fedoraproject.org/fork/music/rpms/python-hatchling/tree/v1-epel9-latest

It‘s possible that hatch may not be so lucky; I will have to see whether the current version can be packaged, and if not, whether the latest EPEL9-package-able version of hatch can still be made to work with hatchling 1.18.0.

Even with https://src.fedoraproject.org/rpms/python-filelock/pull-request/9, packaging Hatch for EPEL9 looks like it will be a little messy. I’m not sure if I will put in the necessary effort or not. Even Hatch 1.6.1 has several dependency issues:

No matching package to install: 'python3dist(keyring) >= 23.5'
No matching package to install: 'python3dist(packaging) >= 21.3'
No matching package to install: 'python3dist(platformdirs) >= 2.5'

Yes, I could look at these case-by-case to see if they can be loosened, and maybe I will.

Anyway, just getting hatchling and hatch-vcs up to date would be a huge benefit for Python packaging in EPEL9 even if Hatch itself ends up remaining impractical.

8 new commits added

  • Update to 1.18.0 (close RHBZ#2214286)
  • Update to 1.17.1 (close RHBZ#2212081)
  • Update to 1.17.0 (close RHBZ#2203351)
  • Update to 1.16.1 (close RHBZ#2203227)
  • Update to 1.16 (close RHBZ#2196940)
  • Update to 1.15.0 (close RHBZ#2196648)
  • Update to 1.14.1 (close RHBZ#2188977)
  • Update to 1.14.0 (close RHBZ#21838751)
20 days ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/999cb8c8ba0f43c890ccc2fb00a08ba1

I have started builds in epel9-build-side-70927.

Pull-Request has been merged by music

20 days ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/11df8a8e0bc0454a9695707be716e74d

Building in epel9-build-side-70927.