Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftw.upgrade breaks with the path >= 17 #230

Open
ale-rt opened this issue Jan 8, 2025 · 0 comments
Open

ftw.upgrade breaks with the path >= 17 #230

ale-rt opened this issue Jan 8, 2025 · 0 comments

Comments

@ale-rt
Copy link
Contributor

ale-rt commented Jan 8, 2025

This happens because the deprecated method getcwd was removed, see:

Traceback:

  File "/home/ale/.buildout/eggs/cp311/ftw.upgrade-3.3.1-py3.11-linux-x86_64.egg/ftw/upgrade/command/jsonapi.py", line 219, in get_zope_url
    instance = get_running_instance(Path.getcwd(), instance_name)

Possible solution: switch to the standard library pathlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant