-
Notifications
You must be signed in to change notification settings - Fork 11
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
ast.h subject to collision with python's ast.h in some build processes #6
Comments
We can't easily remove |
Right. My recommendation would be to create a new minor version of ast which duplicates the location of the headers and a new major version which omits them. We could package both in conda-forge for the meantime. If we were packaging starlink/ast under EPEL rules, we would have needed to resolve this issue before packaging, even if there is no current conflict, the filename is likely to be used by another project (https://www.google.com/search?q=inurl%3Aast.h+site%3Agithub.com&oq=inurl%3Aast.h+site%3Agithub.com Since the conda-forge recipe didn't exist before and doesn't have a legacy of use, I have a slight preference towards moving |
Firstly, rules are annoying for packages that have existed for 20 years and long before some of these clashing files were in the wild (Starlink had a similar problem when ImageMagick suddenly started turning up on machines with a "convert" command). Secondly, it has to be |
It might be worth adding a |
Commit 9d17724 causes the header files to be installed into |
This is great. Thank you very much. Can you please make a formal release so we can grab the tar ball for conda-forge? |
Done. Version 8.7.2 |
I just came across this issue, which I would have missed if it were closed. This is potentially significant, and knowledge of it is useful to future-proof against a breaking change later. Can this information be added to a README at the top of this repo? As a more general comment, a proper README for this repo would be welcome, if for nothing else than to "advertise" this library as a useful, active project. The lack of a README feel like a "code dump", which is certainly not the case here. I'll make this request a separate issue. |
When compiling ast, by not placing the headers under a
starlink
directory, you are subject to collisions with python's ast.h.For example, the following would fail because it will pick up python's ast.h first:
While changing the order will succeed:
The text was updated successfully, but these errors were encountered: