Opened 2 years ago

Closed 2 years ago

#64502 closed defect (fixed)

py-importlib-resources @5.4.0: some archives built with version 0.0.0 in metadata

Reported by: someuser12 Owned by: rubendibattista (Ruben Di Battista)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: reneeotten (Renee Otten)
Port: py-importlib-resources

Description

When py38-importlib-resources is installed, the reported version from the Python package metadata is 0.0.0, which prevents dependent python packages which require a positive version (e.g. py-jsonschema) to use it.

$ grep '^Version' /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/importlib_resources-0.0.0-py3.8.egg-info/PKG-INFO
Version: 0.0.0
$

This is the cause of e.g. the problem reported here: https://stackoverflow.com/questions/70643806/problem-when-starting-jupyterlab3-8-on-mac .

Change History (2)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: reneeotten added; rubendibattista removed
Owner: set to rubendibattista
Status: newassigned
Summary: py-importlib-resources 5.4.0: py38 subport gets installed with reported version 0.0.0py-importlib-resources @5.4.0: some archives built with version 0.0.0 in metadata

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 6a4e70da85cd834600380610380da1988c7828d4/macports-ports (master):

py-importlib-resources: rev bump to fix metadata

The setuptools_scm dependency was missing between ab0303f and c28eda9.
Builds done in that period recorded the version as 0.0.0.

Closes: #64502

Note: See TracTickets for help on using tickets.