Commit Graph

97 Commits

Author SHA1 Message Date
Pradyun Gedam f53f04dd81
Merge pull request #12325 from pypa/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-07 20:03:21 +01:00
dependabot[bot] 0042cc94cc
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 19:00:51 +00:00
dependabot[bot] 431cf5af82
Bump dessant/lock-threads from 3 to 4
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 4.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 19:00:48 +00:00
Christian Clauss 50c49f1d83
GitHub Actions: setup-python allow-prereleases for 3.12 (#12252) 2023-09-01 21:41:00 +01:00
Tzu-ping Chung 5d0a464afc
Remove unneeded .0
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-07-15 19:14:24 +08:00
Tzu-ping Chung a40a24d867 Use -dev instead of pinning to beta.3 2023-07-10 16:58:46 +08:00
Tzu-ping Chung e29dc1cb0a Add Python 3.12 to CI 2023-07-04 17:29:56 +08:00
Paul Moore 5d0c2773b8 Stop using a RAM disk for the Windows tests 2023-06-30 16:17:16 +01:00
Pradyun Gedam 9fa6424452
Remove the no-response workflow (#12102) 2023-06-25 12:06:02 +01:00
Pradyun Gedam 28239f9bf7
Drop auto-labeling of PRs that are out of date (#11907) 2023-03-27 20:06:11 +01:00
Pradyun Gedam 450b361d21
Add an environment containing the secret token
This ensures that we only expose the token to this one job on `main`.
2023-01-01 11:07:34 +00:00
Pradyun Gedam 5427bc56b5
Fix the dependencies as installed for the RTD update script
This ensures that it is updated correctly.
2022-12-31 21:02:45 +00:00
Pradyun Gedam 8328135d93
Add GitHub action for RTD redirect updates
This makes it possible for pip's documentation's redirects to be
automatically synchronised with the `main` branch.
2022-12-30 02:57:24 +00:00
Pradyun Gedam 1b33f4b944
Stop forcing color in CI
This affects the output presented in tests that rely on checking for how
`rich` errors are presented.
2022-12-26 15:01:38 +00:00
Tzu-ping Chung d6e333fb63
Add 3.11 to CI (#11550) 2022-10-28 11:37:04 -05:00
Tzu-ping Chung 83c85e94b7 Fix legacy virtualenv setup in tests 2022-10-28 01:51:13 +08:00
Tzu-ping Chung f96ba08dbc Bump virtualenv to 20+ in tests 2022-10-28 01:51:13 +08:00
q0w 470caee06d
Replace bzr with breezy
Bzr is disabled 9890144632/Formula/bazaar.rb (L19)
2022-10-19 08:16:04 +03:00
Pradyun Gedam 4e48bbc31c
Move check-manifest to a CI check
This makes local runs of `nox -s lint` quicker while still providing
the relevant protections for checking the MANIFEST file.
2022-10-14 11:14:23 +01:00
Pradyun Gedam 8375281d8e
Merge pull request #11494 from pradyunsg/remove-pre-commit-from-ga 2022-10-13 02:25:44 +01:00
Pradyun Gedam a8716b979d
Switch to the no-response GitHub Action
The no-response bot has been turned off.
2022-10-07 15:28:12 +01:00
Pradyun Gedam 2b9e3a958a
Remove pre-commit from GitHub Actions
This is a step in moving linting completely to pre-commit.ci.
2022-10-07 12:04:14 +01:00
Sviatoslav Sydorenko 5d269d91d4
Fix a typo in required CI jobs allowed to skip (#11474)
test-zipapp -> tests-zipapp
test-importlib-metadata -> tests-importlib-metadata
2022-09-29 13:54:42 +01:00
Sviatoslav Sydorenko b5375b4df5
Allow skips for the test jobs in branch protection (#11472) 2022-09-29 09:24:48 +01:00
Sviatoslav Sydorenko a0fac9829c
Introduce a `check` CI job for branch protection (#11434)
This patch adds a special check-job that produces a clear failure or
success status based on how the dependent jobs are doing. It is
possible to use it in GitHub's branch protection instead of having to
manually add and remove individual job names via the repo settings.

https://github.com/marketplace/actions/alls-green#why
2022-09-29 00:44:25 +01:00
Paul Moore 662f940c96 Merge branch 'main' into test_zipapp 2022-07-28 10:51:04 +01:00
Stéphane Bidoul 5ca794426a
Always run CI workflows when noxfile changes 2022-07-23 18:09:04 +02:00
Paul Moore 81e813ac79 Add testing with pip built as a zipapp to the CI 2022-07-12 10:37:33 +01:00
Pradyun Gedam 45b5f39f52 Rename the trivial label, to skip-news 2022-06-10 11:35:21 +01:00
Tzu-ping Chung bd9bcef8b3 Enable importlib.metadata backend on Python 3.11 2022-05-10 13:34:43 -04:00
Tzu-ping Chung 321c9675db Add compat shim to find eggs in importlib backend 2022-04-12 03:33:18 +08:00
Tzu-ping Chung a640a24350 Fix CI bzr installation 2022-04-12 03:31:50 +08:00
Tzu-ping Chung a9cf547dd1 Add workflow to run tests against the new backend 2022-04-12 03:26:12 +08:00
Pradyun Gedam ef7e0c34de
Avoid setuptools 60.6.0
It has a bug that breaks our test suite, and the relevant bug is being
investigated at the moment.
2022-02-01 09:04:00 +00:00
Diego Ramirez 9436e16cf3
Pass `FORCE_COLOR=1` to the CI, to colorize Nox
This is just a preference, I'm approaching a new Nox ability.
2022-01-25 14:03:15 -06:00
Pradyun Gedam 9e05fc1f00
Merge pull request #10796 from pradyunsg/try-fixing-test-suite 2022-01-14 12:03:49 +00:00
Pradyun Gedam 764d8841fe
Use the standard library distutils for running tests
This is in line with what our unit tests are written with the assumption
of.
2022-01-14 11:29:16 +00:00
Hugo van Kemenade fbf75b4965 CI: Only lock threads on upstream 2022-01-11 15:43:42 +02:00
Pradyun Gedam fa2d428e43
Autocancel repeated CI runs
This will ensure that any specific pull request (or commit) only has a
single CI run happening at any point in time.
2021-12-03 14:37:04 +00:00
Diego Ramirez a829016820 Improve the news file and the CI 2021-12-01 14:23:20 -06:00
Diego Ramirez e0f6628ff5 Implement suggestions, and use more Nox sessions in our CI 2021-12-01 12:22:29 -06:00
Diego Ramirez 7ced6c583b Replace tox with Nox (CLI, docs) 2021-11-29 09:29:14 -06:00
Pradyun Gedam c6c6222f9e
Drop Python 3.9 from Windows CI 2021-11-12 08:04:57 +00:00
Hugo van Kemenade 0252c04a16 Drop support for soon-EOL Python 3.6 2021-11-08 12:02:16 +02:00
Diego Ramirez 92cfe0aa35
Bump the `lock-threads` action to version 3
This version has been released recently. Also, I had to modify the arguments passed to the action.
2021-09-29 14:20:24 -05:00
Pradyun Gedam 3b73331097
Add a GitHub Actions workflow, to lock closed threads
This replaces the now-disabled lock-bot, which did the same thing.
2021-09-22 07:18:13 +01:00
Pradyun Gedam 035bc84682
Add CI job to ensure that the documentation builds without warnings
This will help with issues that are being flagged as warnings by Sphinx.
2021-09-18 09:12:45 +01:00
Hugo van Kemenade be94a164a2 CI: Only label merge conflicts on upstream 2021-09-03 13:08:28 +03:00
Jon Dufresne a775351a38 Clean up leftover references to removed Travis and Azure CI 2021-08-28 20:01:58 -07:00
Pradyun Gedam 24541d3e2b
Explicitly set permissions for label-merge-conflicts 2021-08-15 18:29:57 +01:00