-
Notifications
You must be signed in to change notification settings - Fork 0
Support Python 3.6+ #13
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
5413053
Add minimal setup.py
janbridley dd31f29
Switch dataclass to namedtuple
janbridley c256e69
Fix typing for python < 3.7
janbridley 5384645
Split tests into two blocks
janbridley 258103a
Add required workflow steps
janbridley cc4cb60
pip install -r
janbridley 05393d8
Add pytest to reqs
janbridley 32984ad
Rename CI features
janbridley 0646b07
Properly implement workflow_call procedure
janbridley f4c5a6d
Remove incorrect runs_on key
janbridley 805c151
Rename action
janbridley dccbd6d
Fix syntax in CI
janbridley 1321804
Set legacy tests to run after modern versions pass
janbridley 9275e93
Clean up CI script
janbridley 157286c
Clean up action names
janbridley 3e346fa
Parameterize runs-on
janbridley c24fc58
Add runs-on input to workflow callable
janbridley 0b99c43
Move python 3.6 tests to ubuntu 20.04
janbridley 4306088
Test python 3.5
janbridley 266d574
Remove broken python 3.5
janbridley f939f64
Update install files
janbridley d4f3fdd
Merge branch 'main' into feature/#10-support-python-3.6
janbridley adabd29
Swapped requirements.txt with requirements.in
janbridley 6ba81a6
Swapped tests requirements.txt with requirements.in
janbridley 20b4554
Added legacy test requirements file
janbridley a81bb51
Fixed pin and reran pip-compile on python 3.6
janbridley 9dcd291
Set default value for requirements-file
janbridley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add pytest to reqs
- Loading branch information
commit 05393d88e15d066e84ef329767f1e422632d3c9b
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| gemmi | ||
| pytest | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
To make CI tests more reproducible, you should pin specific versions of packages in
requirements.in, then usepip-compileto generaterequirements.txtthat pins all transitive dependencies. That way, an update to a transitive dependency is less likely to cause CI failures from one build to the next with no changes to parsnip. Readthedocs has a nice write up: https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html#pin-your-transitive-dependenciesDependabot knows how to update
requirements.inand rerunpip-compile. Add pip to the dependabot config and you will get PRs that test the updated pins: https://github.com/glotzerlab/gsd/blob/trunk-patch/.github/dependabot.yml