Closed PveOnly closed 8 months ago
Same here... the root cause is probably that setuptools has become more strict: https://stackoverflow.com/questions/77523055/missingdynamic-license-defined-outside-of-pyproject-toml-is-ignored
As an emergency fix, you can replace the pykonal dependency with
"pykonal @ git+https://github.com/jobh/pykonal.git@e7969bc41adbc2828716e5b1e1cef72eb20be085"
which just pins the setuptools build dependency to an older one. I'll create a PR to replace the PyPi version.
Hi thanks for finding where the problem was, indeed it's working now ! I can't use github on my environement so I did :
poetry add 'setuptools==68.2.2 <- downgrade my setuptools to this version
cloned pykonal repo and copied your pyproject.toml at "https://github.com/jobh/pykonal/blob/master/pyproject.toml"
poetry add /local/path/to/pykonal-repo
And it installed without any poetry error.
Still interested by the pypi package though to have a more proper installation with last setuptools version, do you know when you will be able to upload the new package to pypi ? (it's not an emergency, but just to have an horizon of time to know if I wait for the pypi package of if I ship with the fix)
@PveOnly The PR is #43, but I don't have information about when it's going to be merged or uploaded to pypi. @malcolmw? With Christmas coming up, I wouldn't be surprised if there is a delay.
Minor note: I think your first line (downgrade setuptools) is unnecessary, since the build of pykonal happens in an isolated environment.
Yeah the line was maybe not needed indeed, just wanted to dry-run first the downgrade of setuptools to see if it affected other things but it was fine. And ok noted, I will wait thanks !
I uploaded a new version of pykonal (0.4.1) to pypi that implements the fix to this problem submitted by @jobh and @dominik-strutz. Closing this issue as complete.
Hi, I'm trying to install your package on my conda environnement using poetry. I have my own pyproject.toml with my dependencies and other configuration parameter.
It seems that I cannot add your package on my poetry env, i'm getting the error below :
Do you know how I could fix that ?