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

[SYNPY-1316] Moved install_requires back to setup.py #1002

Closed
wants to merge 1 commit into from

Conversation

BryanFauble
Copy link
Contributor

Problem:
Installing the python client forces a downgrade of the cryptography package to <3.4 - It is not optional as the comments of the file are implying

Solution:
Move back to setting the install_requires in the setup.py file instead of the setup.cfg file. The setup.cfg was not created with this kind of use-case in mind.

Testing:
I tested this locally and in some docker images when I had and had not installed cruptography before hand

@BryanFauble BryanFauble requested a review from BWMac October 31, 2023 22:45
@@ -15,4 +16,33 @@
with open("synapseclient/synapsePythonClient") as config:
__version__ = json.load(config)["latestVersion"]

setup(data_files=data_files, version=__version__)
install_requires = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this impact the pipenv file?

@BryanFauble BryanFauble deleted the make-cryptography-an-optional-install branch November 8, 2023 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants