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

update to pyproject.toml #116

Open
maurerle opened this issue Nov 18, 2024 · 1 comment
Open

update to pyproject.toml #116

maurerle opened this issue Nov 18, 2024 · 1 comment

Comments

@maurerle
Copy link

When install pwlf through pip, currently the following error message is presented:

DEPRECATION: pwlf is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

Note, that this is also the case for the pyDOE dependency which did not see any updates since 2015:
https://github.com/tisimst/pyDOE/issues

If you need help with packagin, I can draft a pyproject.toml for you

@cjekel cjekel mentioned this issue Jan 1, 2025
@cjekel
Copy link
Owner

cjekel commented Jan 1, 2025

Thanks for heads up!

I tested the install with pip==23.1 and pip==24.3.1 and it seems that everything works. It looks like the pypa folks decided to make pep517 the default, so that wheels are built from source in isolated environments.

Alternatives to pyDOE include just using scipy, pyDOE2, pyDOE3, diversipy.

I just gave the scipy implementation a test, and for what I'm doing in 1d it will work fine.


#120

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

2 participants