Closed SemanticBeeng closed 1 year ago
We have nothing to do with conda or conda-forge and don't know how it works.
Hmm ... okay. For the record, the build is done with this https://github.com/conda-forge/jep-feedstock. Will post an issue there then.
Interesting, looks like it doesn't like the static assert line in jep_platform.h. https://github.com/ninia/jep/blob/v4.0.3/src/main/c/Include/jep_platform.h#L38 I don't understand why.
Indeed.
Unsure what controls the PY_MAJOR_VERSION
variable.
Only found two references https://github.com/search?q=org%3Aconda-forge+PY_MAJOR_VERSION&type=issues
And found https://stackoverflow.com/a/4352907/4032515 but unsure how this is used in conda-forge
builds.
Py_MAJOR_VERSION
is brought in from patchlevel.h which is the first thing Python.h brings in. I would be surprised if conda-forge is doing anything special with this as it is standard in python builds and we have always had various checks against it.
I did some investigation and found the conda_forge environemnt for older versions of python does not define static_assert
in assert.h
. I've added an extra check in d8cd41bfd1 so we won't use static_assert unless we need to. This will resolve that particular error but I do not have any way to test the conda forge build so if anyone knows how to do that it would be helpful to make sure there aren't other errors.
Can someone test the conda-forge build with the Jep 4.1.1 release?
Closing because we have no way to test the fix, if there are other issues please open a new issue.
Describe the problem
Creating
conda
environments withjep
4.0.1 as dependency (notpip
). Worked fine and then stopped working. More precisely it fails to resolve (https://anaconda.org/conda-forge/jep used to show 4.0.1 as latest version) and then conda tries a build and that fails.Noticed the latest is now 4.0.3. How is the deployment to conda-forge supposed to work? Please advise with details on the build and release to better make sense of why this happens.
Environment (please complete the following information):
Logs
Additional context Add any other context about the problem here.