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

Replace path.py by pathlib #49

Open
pradal opened this issue Feb 10, 2023 · 1 comment
Open

Replace path.py by pathlib #49

pradal opened this issue Feb 10, 2023 · 1 comment
Assignees

Comments

@pradal
Copy link
Contributor

pradal commented Feb 10, 2023

Replace all the call of path.py by using the std pathlib functions

@pradal pradal self-assigned this Feb 10, 2023
@pradal
Copy link
Contributor Author

pradal commented Oct 25, 2024

An error occur with latest version of path (formerly path.py)!

Traceback (most recent call last):
  File "XXX/openalea-components/multisetup.py", line 63, in <module>
    main()
  File "XXX/openalea-components/multisetup.py", line 58, in main
    mysetup = Multisetup(curdir='.', commands=args, packages=dirs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "XXX/lib/python3.12/site-packages/openalea.deploy-3.1.2-py3.12.egg/openalea/deploy/multisetup.py", line 74, in __init__
    self.curdir = Path(curdir).abspath()
                  ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Path' object has no attribute 'abspath'

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