Bug 281973 - devel/py-jsonref: AttributeError: module 'jsonref' has no attribute 'replace_refs'
Summary: devel/py-jsonref: AttributeError: module 'jsonref' has no attribute 'replace_...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Michael Gmelin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-09 18:06 UTC by O. Hartmann
Modified: 2024-12-20 02:54 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (grembo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-10-09 18:06:36 UTC
Port devel/py-jsonref is at rev. 0.2, official PYPI website has rev. 1.1.0.

I face several issues with some Python based development tools for ESP32/RISC-V 32 development/toolchains and would like to ask, whether the port could be updated to rev. 1.1.0?

[...]
_schema_without_ref = jsonref.replace_refs(MANIFEST_JSON_SCHEMA, jsonschema=True)
                          ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'jsonref' has no attribute 'replace_refs'
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-11-04 19:19:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7209bd1dd5e6c508150f213bb012f3665384f9dc

commit 7209bd1dd5e6c508150f213bb012f3665384f9dc
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2024-11-04 19:05:39 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-11-04 19:17:03 +0000

    devel/py-jsonref: Update to 1.1.0

    PR:             281973

 devel/py-jsonref/Makefile | 6 ++++--
 devel/py-jsonref/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)
Comment 2 Michael Gmelin freebsd_committer freebsd_triage 2024-12-20 02:54:09 UTC
Pretty sure the dependency on bug #270358 can be removed, as the update to 1.1.0 changed the port to pep517.