- consolidates all of `setuptools` metadata and configuration as well
as `coverage` configuration within `pyproject.toml`.
- removes deprecated `setup.cfg` and `setup.py`.
- updates `run-tests.sh` to use `pyproject.toml` instead of
`setup.cfg` for `coverage` configuration.
* 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.
* Add pytest-cov; Remove code references to pip-tools and refactor method _build_package_list
* Regenerate lock file.
* Add back required typing-extensions, not sure how it got dropped from locking previously.
* Adopt the setup.cfg for coverage config.
* Actually pin to the version of click we have vendored in.
* Do not adopt coverage for CI since it slows everything down. Fix py36 dependency pinning.
* Drop support for 3.6 in this PR.
* No need to exclude the vendor and patched directory from the coverage reprot.
The script was very much neglected ...
For example:
PIP_PROCESS_DEPENDENCY_LINKS
Is no longer used in pip. The TEST_SUITE variable was not used anywhere.
Dropped Python2.7 and added a variable to specify python version.
Set sensible defaults to all variables, and allow overriding them
from the calling shell, e.g.:
```
PIPENV_PYTHON=3.9 ./run-tests.sh
```
This was tested to work both on alpine linux and debian.
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix windows testing
Signed-off-by: Dan Ryan <dan@danryan.co>
Update runner
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix powershell script
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix git ssl issues
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix test name
Signed-off-by: Dan Ryan <dan@danryan.co>
Update test publication
Signed-off-by: Dan Ryan <dan@danryan.co>
Only run py36 py37 and py27 for testing
Signed-off-by: Dan Ryan <dan@danryan.co>
Enable linux builds
Signed-off-by: Dan Ryan <dan@danryan.co>
triple parallel
Signed-off-by: Dan Ryan <dan@danryan.co>
Update linux tests
Signed-off-by: Dan Ryan <dan@danryan.co>
Make sure home directory exists
Signed-off-by: Dan Ryan <dan@danryan.co>
Use pipenv to run tests
Signed-off-by: Dan Ryan <dan@danryan.co>
add vendoring script to linux build scripts
Signed-off-by: Dan Ryan <dan@danryan.co>
fix vendoring test
Signed-off-by: Dan Ryan <dan@danryan.co>
Lets try it this way
Signed-off-by: Dan Ryan <dan@danryan.co>
Syntax issue
Signed-off-by: Dan Ryan <dan@danryan.co>
Prune vsts-ci folder from manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
Separate manifest step from vendoring
Signed-off-by: Dan Ryan <dan@danryan.co>
Update vsts vendoring script
Signed-off-by: Dan Ryan <dan@danryan.co>
Syntax error..
Signed-off-by: Dan Ryan <dan@danryan.co>
fix vendoring
Signed-off-by: Dan Ryan <dan@danryan.co>
gah wrong version spec!
Signed-off-by: Dan Ryan <dan@danryan.co>
fix vsts
Signed-off-by: Dan Ryan <dan@danryan.co>
test updates
Signed-off-by: Dan Ryan <dan@danryan.co>
VSTS Syntax error...
Signed-off-by: Dan Ryan <dan@danryan.co>
and fix windows runner
Signed-off-by: Dan Ryan <dan@danryan.co>
maybe...
Signed-off-by: Dan Ryan <dan@danryan.co>
does this one work?
Signed-off-by: Dan Ryan <dan@danryan.co>
how about now
Signed-off-by: Dan Ryan <dan@danryan.co>
fix manifest
Signed-off-by: Dan Ryan <dan@danryan.co>
hmm now windows fails?
Signed-off-by: Dan Ryan <dan@danryan.co>
hmmmm...
Signed-off-by: Dan Ryan <dan@danryan.co>
Conditonal testing uses its own special phase
Signed-off-by: Dan Ryan <dan@danryan.co>