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
Constrain ciscoconfparse
on Python 3.7
#2771
Constrain ciscoconfparse
on Python 3.7
#2771
Conversation
ciscoconfparse 1.8 does not work on Python 3.7. This adds a new constraints.txt file to ensure ciscoconfparse is constrained to < 1.8 under Python 3.7.
Several versions of ciscoconfparse 1.7 were yanked from PyPI due to missing dependencies. These have since been fixed. However, this constraint ensured that our test suite did not catch issues with ciscoconfparse 1.8 under Python 3.7. Removing the now unnecessary constraint.
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 5.8.x #2771 +/- ##
==========================================
- Coverage 56.20% 56.20% -0.01%
==========================================
Files 567 567
Lines 41277 41277
==========================================
- Hits 23201 23200 -1
- Misses 18076 18077 +1 ☔ View full report in Codecov by Sentry. |
No idea what this is all about, none of this code was touched or involved in this PR... |
This adds a
constraints.txt
file where constraints on third party libraries can be specified.The initial version of this file constrains
ciscoconfparse
specifically on Python versions less than 3.8 to be a version below the failing 1.8 version.Documentation and build scripts are updated to include the new constraints file.
An existing "constraint" existed in the test environment requirements, because early
ciscoconfparse
releases in the 1.7 series did not declare dependencies (these versions were later yanked from PyPI). This constraint is likely why our test suite never discovered this problem on Python 3.7.Closes #2770