-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Remove macOS fontconfig workaround #13
Conversation
…nda-forge-pinning 2022.03.15.10.12.29
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Thanks for the PR, but the OSX build still fails for Python 3.7 with the same error:
This is why I implemented the workaround. Probably a minimal version pinning is missing on the GDAL or poppler side? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkgw: The build for OSX fails again after removing the fontconfig workaround. How can this be solved?
I need to sit down and figure out why the Python 3.7 build is selecting poppler 21.x rather than 22.x — which I always have a lot more trouble doing than I feel like I should. But like you said above, there must be some kind of pinning issue — some dep associated with the older 3.7 builds that isn't compatible with the newer packages. |
Aha. OK. I don't feel too bad about taking a while to chase this down:
The "correct" solution, if you ask me, would be to create a branch for the 3.2.x series of pyproj so that new builds for Python 3.7 can keep on being created as the ecosystem pins update. Alternatively, one could just give up on Python 3.7 for this package. I don't have the context to know how acceptable that thought is. |
Thanks a lot for looking into this. It does not really explain why the 3.7 builds for Linux and Windows are working then. Anyway, I just asked in the pyproj-feedstock if it could be an option to add Python 3.7 builds back there. I think this would be the easiest way to solve the issue. I would like to avoid dropping Python 3.7 already as there is still quite some time until it reaches its end-of-life status in June 2023. But is there any concern about pinning fontconfig to 2.13.1 here as a workaround for OSX? I know, it is not a clean solution as sensormapgeo does not depend on fontconfig directly. But I also have the same issue in conda-forge/geoarray-feedstock#56 and need to find a solution. |
@danschef So, the version number regression in fontconfig only happened with the macOS shared library, due to some funkiness with how the build system(s) and respective versioning schemes work. On Linux, the version numbers are compatible, and Windows doesn't have that kind of versioning. If you intend to keep support Python 3.7 in this package for a while, I'd strongly suggest that we see about making a branch for pyproj. This particular issue can be worked around with a relatively simple pin, but pyproj is associated with a fairly complex dependency tree that is only going to get more and more out of date as time passes without a new build. I'll create a trial branch and double-check that it unblocks things here. If so, I can propose a new branch in the pyproj feedstock. |
OK, my tests worked out well, so I've created a proposal PR in pyproj, as autolinked by GitHub above. |
Discussion in the In that context, I'd recommend one of two courses of action:
|
Thanks @pkgw, I will pin fontconfig for OSX and Python 3.7 only and drop Python 3.7 as soon as 3.11 is out. Do you know if fontconfig 2.13.1 is the only version that works or can I allow more? |
I am closing this in favour of #14. |
The macOS fontconfig workaround is no longer needed, cf. conda-forge/fontconfig-feedstock#54.
conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)