This repository was archived by the owner on Feb 11, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
MB-10413: Convert to using pipenv to manage dependencies #84
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f84337d
Switch to using pipenv
e25c521
Update pre-commit to match
3c61550
Configure black to pyproject.toml
97aefa0
Reformat with latest black
d13b03c
Update Dockerfile for pipenv
3b5d6af
Add dependencies needed to run tests
6cfd5e6
Use milmove image with latest dependencies
32ad3d1
Prepare for running tests in CI
153cbd5
Switch to maintained python-lsp-server
ef40488
Fix fake data test
bdf3c2e
Fix some field tests
c5c1934
Fix hosts tests
86ce3c7
Fix parsing tests
41f5012
Enable tests in CI
9cf55d6
Add coverage report
649729b
Better pipenv install options, plus clean up ephemeral virtualenv
ba5ef61
Remove reference to file that no longer exists
cbfd9d1
Fix documentation reference to Pipfile
ed14e81
Don't include the branch in the circleci pipenv cache key
b44583b
Update README to reference dp3 loadtest instead of experimental
4766685
Update tests to use dp3 environment
2a8d625
MB-10413 Remove pyenv-virtualenv vestigial stuff
felipe-lee 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
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
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
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
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -4,6 +4,6 @@ brew 'direnv' | |
| brew 'libev' | ||
| brew 'pre-commit' | ||
| brew 'pyenv' | ||
| brew 'pyenv-virtualenv' | ||
| brew 'pipenv' | ||
|
|
||
| cask 'aws-vault' | ||
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
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
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 |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| [[source]] | ||
| url = "https://pypi.org/simple" | ||
| verify_ssl = true | ||
| name = "pypi" | ||
|
|
||
| [packages] | ||
| requests = ">=2.22.0" | ||
| locust = ">=1" | ||
| prance = {version = "==0.19.0", extras = ["cli", "osv"]} | ||
| Faker = "*" | ||
|
|
||
| [dev-packages] | ||
| # pipenv doesn't resolve pre-release versions, so manually pin | ||
| black = "==21.10b0" | ||
| flake8 = "*" | ||
| pytest = "*" | ||
| pytest-mock = "*" | ||
| cryptography = "*" | ||
| responses = "*" | ||
| python-lsp-server = "*" | ||
| pytest-cov = "*" | ||
|
|
||
| [requires] | ||
| python_version = "3.9" |
Oops, something went wrong.
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.
Can we actually just get rid of this one? Direnv is handling pipenv no? If so, we could also get rid of the
setuptarget since at that point it would just be an alias forensure_pre_commitThere 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.
Since we don't have much experience with pipenv yet, can we leave it in to see if we ever need it? We can always remove it in the future
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.
Sounds good. In that case i think this is ready