Bug 268912 - devel/py-rope: Update to 1.6.0
Summary: devel/py-rope: Update to 1.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rainer Hurling
URL: https://github.com/python-rope/rope
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-12 20:13 UTC by Rainer Hurling
Modified: 2023-09-16 20:08 UTC (History)
2 users (show)

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


Attachments
Patch to update from 0.18.0 to 1.6.0 (1.81 KB, patch)
2023-01-12 20:13 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2023-01-12 20:13:54 UTC
Created attachment 239425 [details]
Patch to update from 0.18.0 to 1.6.0

Hi Jose,

with this patch I would like to update your port devel/py-rope from very old version 0.18.0 to 1.6.0. This is needed for example for an update of my port textproc/py-python-lsp-server ;)

This patch also changes:
- URL from SourceForge to GitHub
- License is now LGPL v3+
- Use pep517 (pyproject.toml) instead of setup.py
- Allow 'make test' via USES=pytest
- Declare several build, run and test dependencies

'make test' result: 1 failed, 1927 passed, 34 skipped, 5 xfailed, 1794 warnings.
- The failed one is with ropetest/contrib/autoimporttest.py::AutoImportTest::test_search_submodule.
- The skipped ones need python versions lower than 3.5 or higher than 3.10

Could you please check and try this update and report back? There are probably further possibilities for improvement, but I could not analyze them further due to time constraints.

Thanks in advance,
Rainer
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-24 10:19:05 UTC
A commit in branch main references this bug:

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

commit b42fd704a03e7c6655be2184fcc9506b6d843165
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-03-24 10:06:02 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-03-24 10:17:44 +0000

    devel/py-rope: Update to 1.7.0

    First update since Oct 2020 with several major releases and bug fixes.
    Needed for an update of textproc/py-python-lsp-server.

    - Change from distutils to pep517
    - Add pytest (1 failed, 2013 passed, 21 skipped, 5 xfailed, 1809 warnings)
    - License changed from GPLv2 to LGPL3+
    - Project moved from SourceForge to GitHub

    PR:             268912
    Approved by:    maintainer timeout

 devel/py-rope/Makefile | 21 ++++++++++++++++-----
 devel/py-rope/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 8 deletions(-)
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2023-03-24 10:21:01 UTC
After maintainer timeout of more than 8 weeks I committed to newest version 1.7.0.