* Allow pipenv check inputs to be built from the lockfile categories instead of whats installed.
* fix lint
* add news fragment.
* update pipenv check documentation.
* Revise logic for pipenv check and change default behavior to check lockfile.
* fix issue revealed by tests
* fix docs for pipenv check changes.
* change conditional ordering in prep for supporting for future default categories env var.
* Vendor new safety (#5217)
* Closest to correct vendoring of ruamel.
* Fix lint
* New pipenv check with minimal output.
* Remove decode_for_output use in pipenv check functions.
* Use click.secho where is possible.
* Rerun vendoring to get the latest safety version.
* skip this test for now.
Co-authored-by: Yeison Vargas <yeisonvargasjf@gmail.com>
* Check point progress on moving tests to pypiserver.
* Allow other indexes to mimic the pypi json API for package hashes.
* Fix these tests that run on lower python versions only.
* Try adding the pypiserver to the github actions to only run once.
* Expand the scope of fixtures for pypiserver.
* try to accomedate microsoft runner.
* Windows networking troubles.
* Remove running as a background job.
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to condtionally invoke different start pypi-server commands
* Try to introduce pypi as the root index because setuptools-scm is not in our pypi artifacts.
* see if the windows tests run faster (and the other tests) by supplying waitress.
* Only use waitress on windows because the others are fast on the default. Fix requests pollution.
* Supply a suitable Pipfile instead for these two failing tests.
* More requests resolver cross test contamination cleanup.
* remove problematic tests because even on my version of python 3.8.12 this does not work due to AttributeError: 'HTMLParser' object has no attribute 'unescape'
* fix mirror install test.
* Fix Pipfile.
* Fix Pipfile for real
* Fix tests
* Cleanup test naming and more test enhancements.
* Save this optimization for a subsequent PR.
* Cleanup the TemporaryDirectory between tests.
* resolve merge conflict.
* Cleanup path initalization -- it hsould always be a TemporaryDirectory for tests that gets cleanedup.
* Cleanup path initalization -- it hsould always be a TemporaryDirectory for tests that gets cleanedup.
* tableflip on those requests tests that read the setup metadata in reqlib from other tests.
* Update developer documentation for running tests.
* add news fragment.
* Try gunicorn perfoormance for linux/mac
* Only use gunicorn on linux based on the results of last run.
- Use string format compatible with python 2.7
- Use `click.echo`, not `print`
- The command is `pipenv script` not `pipenv scripts`
- The stanza label in Pipfile is `[scripts]`, not `[script]`
- The default when getting from the pipfile should be dict, not a list
These tests fail when using requests in a de-vendored installation
because requests is part of the pre-installed image.
tablib has fewer constraints on its dependencies, however its
dependency tree is complicated enough to approximately test
the same functionality, and allows the graph tests to pass
even when de-vendored.
- Verbose logs will now write gracefully to the terminal even while the
spinner is running (i.e. during locking)
- This PR also cuts over to Devpi for a backing cache rather than a
hacked httpbin instance
- Inclues a refactor of `pip_install` to deduplicate logic
- Attempts to switch back to relying on native editable installs in pip
as the current implementation is broken on master (i.e. nothing is
installed in the virtualenv)
- Fixes#3809
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
probably need to sync submodules for this to work
Signed-off-by: Dan Ryan <dan@danryan.co>
Update to new version of artifacts
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix windows failure
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure-pipelines.yml for Azure Pipelines
Update lockfile test for windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix scandir test
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure test steps
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python discovery when nothing is supplied
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix cli ensure_project call
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix run in virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Show why virtualenv test failed if it did
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python interpreter discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
scale down lock test modifications and increase error logging
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner bugs on windows and python discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix pythonfinder search algorithm to dodge false paths on win
Signed-off-by: Dan Ryan <dan@danryan.co>
use pipenv directly
Signed-off-by: Dan Ryan <dan@danryan.co>