-
Notifications
You must be signed in to change notification settings - Fork 80
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
Pin sslyze to v2.x #211
Pin sslyze to v2.x #211
Conversation
Thanks for taking care of this @cablej! I'll take a look at the failing build tonight or tomorrow morning. |
Thanks for your contribution @cablej ! I believe the error in the Travis build can be resolved by changing Line 23 in 43dcd58
to pip install --upgrade flake8 pytest-cov pytest coveralls . It appears that there's an older version of pytest on the Travis instance that is incompatible with newer versions of pytest-cov , and that breaks the pytest run.
|
I made @mcdonnnj's suggested change, but now there is another problem where it can't find a suitable wheel for the nassl package. I will revisit this in the morning. |
Python 3.8 appears to require manylinux2010 wheels, while 3.7 can use manylinux1 wheels. Now that sslyze is pinned, the version of nassl that must be installed is 2.2.0, and that is only available on pypi.org as a manylinux1 wheel.
The image used by the Dockerfile is pulling down a 3.8+ image. The version of nassl we are trying to install is only compatible on Python 3.7.
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.
Thanks again to @cablej for taking care of this.
I'll temporarily turn off the TravisCI Branch check in order to merge this once there are enough reviews in place. |
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.
LGTM!
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.
Thanks again for the work @cablej 👍
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
This change is needed before we can install software on the containers running python 3.7 I'm not exactly sure why libpq-dev was needed, but the pip-tools commands wouldn't work until I installed it. It was saying that `pg_config` was needed. Something to do with psycopg2? It's also possible there are version problems with pshtt (again). The latest version, 0.6.7, will not compile under pip-tools because it has conflicting requirements with itself: ``` There are incompatible versions in the resolved dependencies: cryptography>=2.8 (from pyopenssl==19.1.0->pshtt==0.6.7->-r requirements.in (line 13)) cryptography==2.5 (from sslyze==2.1.4->pshtt==0.6.7->-r requirements.in (line 13)) ``` So I installed the most recent version that successfully compiles. It's possible there are bugs? See cisagov/pshtt#211 for more information.
Several issues have been reported due to breaking changes in sslyze's latest versions (#210, #209). This PR takes the same strategy of domain-scan in pinning sslyze to under v3 in order to retain functionality.