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

Issue with openssl in setup.py #26

Closed
rickecon opened this issue Jan 9, 2023 · 1 comment · Fixed by #27
Closed

Issue with openssl in setup.py #26

rickecon opened this issue Jan 9, 2023 · 1 comment · Fixed by #27

Comments

@rickecon
Copy link
Collaborator

rickecon commented Jan 9, 2023

PR #25 had a commit right before it was merged that added "openssl=1.1.1", to setup.py. This was my fault that this snuck in as @SeaCelo was merging the PR, so it didn't get tested. This has two problems.

  • In setup.py, pinning the package needs to have the following form with two equals signs: "openssl==1.1.1"
  • Even with this specified correctly, which I have done in a new branch, the pip install of the ogzaf package through pip install -e . after creating the ogzaf-dev conda environment fails with the following message.
ERROR: Could not find a version that satisfies the requirement openssl==1.1.1 (from ogzaf) (from versions: none)
ERROR: No matching distribution found for openssl==1.1.1

When I activate the ogzaf-dev conda environment and type conda list openssl, I get the following:

# packages in environment at /Users/richardevans/opt/anaconda3/envs/ogzaf-dev:
#
# Name                    Version                   Build  Channel
openssl                   1.1.1s               h03a7124_1    conda-forge
pyopenssl                 23.0.0             pyhd8ed1ab_0    conda-forge

This should be an easy fix, but I don't know what it is right now. @SeaCelo @sarvonz

@SeaCelo
Copy link
Collaborator

SeaCelo commented Jan 9, 2023

@rickecon If I remove line 30 from setup.py I can install and run the model using the new environment.

I'm running python 3.9.12. Could be that openssl 1.1.1 is not available for Python 3.10?

@rickecon rickecon linked a pull request Jan 9, 2023 that will close this issue
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 a pull request may close this issue.

2 participants