Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Nov 2021 17:13:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 259567] devel/py-jsonschema: Version returns 0.0.0, breaking net-im/py-matrix-synapse which runs a version check
Message-ID:  <bug-259567-21822-GlkqiLjQzH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259567-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259567-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259567

--- Comment #4 from Sascha Biberhofer <ports@skyforge.at> ---
Created attachment 229227
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229227&action=
=3Dedit
devel/py-jsonschema: Fix missing dependency

Apparently py-jsonschema uses py-setuptools_scm to filter the version from =
scm
directly. This is reflected in the project's pyproject.toml, see [1].

Our port is missing this dependency, which causes the version to be set to
0.0.0.

I've attached a patch that bumps the port's revision and adds the missing
dependency. Tested building this in poudriere and it works fine. :-)

Credits for this go to David Tucker in the #python room on matrix.org for
pointing pointing me in the right direction. :D

Cheers,
Sascha

[1]
https://github.com/Julian/jsonschema/blob/272b4f24437d9cba1127058dc3479f9bc=
6d8c4b9/pyproject.toml#L6

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259567-21822-GlkqiLjQzH>