Commit Graph

83 Commits

Author SHA1 Message Date
Oz Tiram decfa6d9f7 Try again ... 2022-11-18 20:52:52 +01:00
Oz Tiram c71cb8f133 Fix syntax of CI job 2022-11-18 20:51:40 +01:00
Oz Tiram 428e973264 Allow starting CI jobs manually 2022-11-18 20:47:12 +01:00
Christian Clauss 5d7a0ee0c5 Add Python 3.11 release candidate to the testing 2022-11-05 22:21:33 +01:00
Oz Tiram 6f8831316c CI: pin python version for vendoring
Invoke does not support Python3.11
2022-11-04 10:49:54 +01:00
Oz N Tiram 73149a970c Merge branch 'main' into pip-22.3 2022-10-25 10:06:33 +02:00
gokhan721 1569a313ab added foresight workflow and test kit actions 2022-10-21 16:55:11 +03:00
Matt Davis 7e44219f25 Use latest python in vendoring. 2022-10-16 09:46:50 -04:00
AlexNDRmac 7b98aa2223 Replace deprecated workflow command 2022-10-12 18:50:02 +03:00
Alex 7ef550afca GitHub Workflows security hardening (#5365)
* build: harden pypi_upload.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden ci.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 15:41:21 -04:00
Matt Davis 9848862927 Convert test runner to use pypiserver package as standalone process (#5284)
* 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.
2022-09-05 10:19:12 -04:00
Matt Davis cd18f8fefc More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis bd9d62d907 More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis 692f79dc75 More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis 58e552cb56 this change did not help. 2022-08-19 07:52:08 +02:00
Matt Davis fb0ffa1491 Eperimenting with the CI failures due to setuptools upgrade. 2022-08-19 07:52:08 +02:00
Jeremy Fleischman 77bc74dce5 Actually filter out missing interpreters (#5262)
* Actually filter out missing interpreters

This fixes https://github.com/pypa/pipenv/issues/5261.

Before this change, I would get a "The Python interpreter can't be
found" error when running `pipenv install --system` with a python3 but
no python.
2022-08-16 15:33:34 -04:00
Christian Clauss 48fad66814 Upgrade GitHub Actions (#5244)
* Upgrade GitHub Actions
2022-08-13 10:24:13 -04:00
Matt Davis fbb1a5a6e7 Update pypi release action. 2022-08-13 08:41:29 -04:00
Matt Davis 56b94971a8 Add back these setuptools steps. 2022-08-07 22:53:26 +02:00
Matt Davis af9460ecde This is possibly no longer required and could be breaking the build. 2022-08-07 22:53:26 +02:00
Matt Davis 9200fe1635 Reenable these tests again on the Windows CI. (#5163)
* reenable these skipped tests on the Windows CI as they appear to be passing again.
2022-07-05 23:55:39 -04:00
Matt Davis 0ee8234890 Issue 5000 remove requests certifi (#5146)
* Depend on requests and certifi from vendored pip and remove it as explicit vendor dependency.

* Documentation tweak.

* Add a news fragment.

* Update remaining vendor dependencies to point at the pip requests.

* vendoring task needs requests.
2022-06-27 21:13:30 +02:00
Oz N Tiram 25245b1625 Add FUNDING.yml 2022-06-21 08:07:44 +02:00
Tomas Orsava ac005b913f Make the CI work 2022-05-26 15:07:51 +02:00
Oz N Tiram e5d08fb85f Limit resource usage in CI (#5079)
Fix #5073
2022-04-23 22:42:47 -04:00
Matt Davis 8d5db1a47d second time this has prevented fixing the Changelog.rst after a failed lint 2022-04-20 22:43:31 -04:00
Oz N Tiram 891486e180 CI improvements (#5061)
* Add step to vendor dependencies in the Makefile

* Reorganize the order of jobs and dependencies

* Make all jobs run only after the lint stage
2022-04-20 08:17:01 -04:00
Matt Davis f3166e673f check point progress on only bringing in pip==22.0.4 (#4966)
* vendor in pip==22.0.4

* updating vendor packaging version

* update pipdeptree to fix pipenv graph with new version of pip.

* Vendoring of pip-shims 0.7.0

* Vendoring of requirementslib 1.6.3

* Update pip index safety restrictions patch for pip==22.0.4

* Update patches

* exclude pyptoject.toml from black to see if that helps.

* Move this part of the hash collection back to the top (like prior implementation) because it affects the outcome of this test now in pip 22.0.4
2022-04-18 23:48:38 -04:00
Matt Davis 5d845dc6b9 Added pytest-cov and addressed outdated references to pip-tools (#5038)
* 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.
2022-04-14 08:59:27 +02:00
Matt Davis 4f676ac9c8 sphinx formatting change and fix CLI docs (#5032)
* sphinx formatting change.

* minor doc formatting improvements.

* check point progress

* Get the CLI docs generating again.

* Add news item for fixed CLI documentation.

* Dont skip build of docs changes.

* fix linting
2022-04-08 11:36:18 +02:00
Matt Davis 9a3b3ce706 Issue 4993 Add standard pre commit hooks and apply linting. (#4994)
* Add .pre-commit-config.yaml to the project and exclude tests (for now).  This does not include the MyPy linting that pip does but does include everything else.
2022-03-29 23:01:50 -04:00
Frost Ming 21b6a0839f Include py3.6 testing in CI matrix 2021-11-17 11:10:34 +08:00
Frost Ming 4ac5efc3fe add news fragment 2021-11-05 23:22:26 +08:00
Frost Ming 5c7435a071 trigger CI on main branch 2021-11-05 18:01:34 +08:00
Frost Ming 8c00961bfe fix yaml installation 2021-11-05 17:13:42 +08:00
Frost Ming b69e71d3a9 Add CI jobs for packaging and vendoring 2021-11-05 16:42:56 +08:00
Frost Ming e06d9e0287 change a package 2021-11-05 12:43:11 +08:00
Frost Ming 0f9e0d300b Run CI against Python 3.10 2021-11-05 10:12:42 +08:00
Diego Ramirez caaf78f4e3 Delete the old issue template
It seems like this template has been replaced by the `.github/ISSUE_TEMPLATE` templates.
2021-10-26 13:17:24 -05:00
Frost Ming 46ea38fcca Isolate environment variables 2021-08-03 10:41:17 +08:00
Frost Ming ca5d931f1f Update to py36 plus syntax 2021-07-28 10:59:00 +08:00
Frost Ming 72835f142c Fix release workflow 2021-05-29 11:05:47 +08:00
Dulmandakh 2521a480a8 drop python2 from CI 2021-01-28 15:26:48 +08:00
Frost Ming 698ef8cdd2 improve test performance 2020-11-02 11:11:57 +08:00
Frost Ming 83bb15ed18 Upgrade virtualenv version 2020-11-02 11:11:57 +08:00
Frost Ming e6edaa6977 Disable ssh check 2020-11-02 11:11:56 +08:00
Frost Ming 401da2e758 Add news entries 2020-11-02 11:11:55 +08:00
Frost Ming 72b571bd06 Change multiple styles in CLI output 2020-11-02 11:11:54 +08:00
frostming 0394f4de8b remove virtualenv<20 constraint 2020-08-31 09:58:17 +08:00