-
Notifications
You must be signed in to change notification settings - Fork 81
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
Drop specific point version pins in requirements.txt #134
Comments
Unfortunately, it's https://github.com/nabla-c0d3/sslyze/blob/master/requirements.txt |
Has this finally caught up to us in a big bad way? I think so. > docker run --rm -it --name pshtt -v /Users/karim/Code/pshtt:/home/pshtt pshtt/cli itcd.hq.nasa.gov
Traceback (most recent call last):
[...]
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 872, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 1.9 (/usr/local/lib/python3.6/site-packages), Requirement.parse('cryptography>=2.1.4'), {'pyopenssl'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pshtt", line 6, in <module>
from pkg_resources import load_entry_point
[...]
File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cryptography>=2.1.4' distribution was not found and is required by pyopenssl From pyOpenSSL:
Do we want to modify |
Pertinent SSLyze issue: Update cryptography to latest version #262 |
Okay. This should fix our immediate issues: Version bumped cryptography dependency. #263 Although, we may still need to think about how we handle dependencies in general. |
Nice work, @egyptiankarim! |
@egyptiankarim, has your fix for
I tried using Does this look like the same error you chased down? |
I don't think it has yet. The last package was uploaded a few days before I made my pull request. I'm not sure what the release schedule looks like for
This looks like a different error than what I was seeing before, but I think it is related to version discrepancies in From the changelog, it doesn't look like the So, until |
For the record: To manage my local work, I've just stashed a set of version locks in What does the team think about maybe setting up master in that way? We can tightly version lock that branch for operations in terms of dependencies, and then leave develop free to break as things in the ecosystem update and such. |
Thanks for the information, @egyptiankarim. Can you paste your |
Great idea on locking master and switching to a git-flow-like branching strategy. As for managing the dependencies, consider
Switching to |
@conorsch I like that idea in theory. But does that conflict with the way we have @jsf9k I'll work on a quick pull that includes the version-pins. I don't know if there's a more pythonic approach to doing this sort of thing, but I just searched for the latest versions of each dependency that I knew were compatible and slapped in Excuse all my ignorance, please. I'm a Ruby punk 🔴 💎 ❤️ 😄 |
As promised:
|
Really, if I still think there is value in setting versions appropriately in |
I was eventually able to fix my particular problem by installing the
|
I lost track of this for a while, but it looks like the last few published releases of |
Thanks for the update, @egyptiankarim. Since this discussion I've been forcing |
We're falling behind, and currently are effectively pinned to
cryptography
1.9, and are not able to go to 2.1. I think it's worth considering a dependency strategy that relies on semantic versioning, since this comes up a lot.The text was updated successfully, but these errors were encountered: