Opened 6 weeks ago

Closed 2 weeks ago

#71048 closed defect (fixed)

py-service-identity duplicates existing port py-service_identity

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: py-service-identity, py-service_identity

Description

py312-service-identity does not build:

https://build.macports.org/builders/ports-14_arm64-builder/builds/43744/steps/install-port/logs/stdio

* Getting build dependencies for wheel...

ERROR Missing dependencies:
	hatch-vcs
	hatch-fancy-pypi-readme
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-service-identity/py312-service-identity/work/service_identity-24.1.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-service-identity/py312-service-identity/work 

More importantly, port py-service-identity duplicates existing port py-service_identity and should be removed.

Change History (6)

comment:1 Changed 6 weeks ago by nihilismus (Antonio Hernández Blas)

Commit adding the new port 'py-service-identity':

[46575be13582f84364766b9ac2e971ef976bdfa2/macports-ports]

Commit adding another new port, 'py-aioquic', which is using 'py-service-identity' rather than 'py-service_identity':

[e14d26534aba33a130b7900d9d5eedbad618a033/macports-ports]

And finally, commit that updates 'py-dnspython' which makes use of the new port 'py-aioquic':

[5458976f7d7563a635508be7e6ed559d76a5582b/macports-ports]

Last edited 6 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 6 weeks ago by Marius Schamschula <mschamschula@…>

In 28de0c39b0879a35ad9ed3e24b587ba332d36885/macports-ports (master):

py-service-identity: remove duplicate port

See: #71048

comment:3 Changed 6 weeks ago by Marius Schamschula <mschamschula@…>

In 8eb36a584f57d46eb5b6ed5cd32d87790056dbb1/macports-ports (master):

py-dnspython: rev bump for py-service_identity

Closefs: #71048

comment:4 Changed 6 weeks ago by Marius Schamschula <mschamschula@…>

In 40d4c70c8999d5d99e37ae1713ed3f9ba65e2489/macports-ports (master):

py-service-identity: mark obsolete

See: #71048

comment:5 Changed 6 weeks ago by Schamschula (Marius Schamschula)

This particular ticket is a symptom of an issue with naming python packages: In PyPi the convention is to name the packages with compound names with a -, while in recent months the convention has been changed for source files to use a _. Hence, I end up using python.rootname a lot.

In MacPorts we have a jumble of both conventions.

Before submitting this port I had searched port search service-identity and found nothing. It might be useful to have the port search algorithm do something like a (-|_) regex.

comment:6 Changed 2 weeks ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.