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

maint: refactoring around pycurl as an optional dependency #1648

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Mar 24, 2023

I saw an opportunity to reduce the complexity a bit by relying more on the optional dependency declared in setup.py on pycurl over specifying it separately. This would be especially relevant if we would enforce a version constraint on pycurl in setup.py.

We couldn't reduce the complexity that much since binderhub is installed locally. This is always tricky since requirements.in freezes into requirements.txt using pip-compile via the ci/refreeze script, and when it does we get an absolute path to install binderhub. And with that, I think we can't avoid issues when we are to install pre-built wheels in the Dockerfile.

@consideRatio consideRatio force-pushed the pr/update-pycurl-requirement-handling branch from 0b54c28 to fc3d614 Compare March 24, 2023 09:11
@consideRatio consideRatio changed the title maint: refactoring around pycurl as a tricky dependency maint: refactoring around pycurl as an optional dependency Mar 24, 2023
@consideRatio consideRatio force-pushed the pr/update-pycurl-requirement-handling branch from fc3d614 to 7039812 Compare March 24, 2023 09:18
@consideRatio consideRatio force-pushed the pr/update-pycurl-requirement-handling branch from 00689e0 to 9666eb7 Compare March 24, 2023 11:43
@consideRatio consideRatio added the maintenance Under the hood improvements and fixes label Apr 9, 2023
@consideRatio
Copy link
Member Author

I've done a delayed self-review, and think it makes sense still as it is. I'll go for a self-merge in the intrest of minimizing use of our limited maintenance capacity.

@consideRatio consideRatio merged commit 8738813 into jupyterhub:main Apr 19, 2023
consideRatio pushed a commit to jupyterhub/helm-chart that referenced this pull request Apr 19, 2023
jupyterhub/binderhub#1648 Merge pull request #1648 from consideRatio/pr/update-pycurl-requirement-handling
@consideRatio consideRatio self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Under the hood improvements and fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant