[MacPorts] #72588: py312-urllib3: Missing hatch-vcs dependency

MacPorts noreply at macports.org
Sun Jun 8 02:32:35 UTC 2025


#72588: py312-urllib3: Missing hatch-vcs dependency
----------------------+---------------------------
 Reporter:  acjones8  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py312-urllib3
----------------------+---------------------------
 While attempting to install `streamlink` on MacOS 15.5, `py312-urllib3`
 failed to compile with this error below:

 {{{
 --->  Verifying checksums for py312-urllib3
 --->  Checksumming urllib3-2.4.0.tar.gz
 --->  Extracting py312-urllib3
 --->  Extracting urllib3-2.4.0.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-urllib3/py312-urllib3/work"
 && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-
 urllib3/urllib3-2.4.0.tar.gz' | /usr/bin/tar -xf -
 --->  Configuring py312-urllib3
 --->  Building py312-urllib3
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 urllib3/py312-urllib3/work/urllib3-2.4.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_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-urllib3/py312-urllib3/work
 * Getting build dependencies for wheel...

 ERROR Missing dependencies:
         hatch-vcs==0.4.0
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 urllib3/py312-urllib3/work/urllib3-2.4.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_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-urllib3/py312-urllib3/work
 Exit code: 1
 Error: Failed to build py312-urllib3: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 urllib3/py312-urllib3/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port streamlink failed
 }}}

 I attempted to locate this port in Macports, and was able to find a `py-
 hatch-vcs`, which I assume is this package. However, even after installing
 `py312-hatch-vcs` (all of the Python dependencies that `streamlink` wants
 are for Python 3.12 at the moment), building `py312-urllib3` still fails
 with this error message.

-- 
Ticket URL: <https://trac.macports.org/ticket/72588>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list