Commit Graph

23 Commits

Author SHA1 Message Date
Ben Darnell dc29f60ce6 ci: Remove persist-credentials from our CI workflows
This mitigates a potential security risk identified by zizmor.
2024-10-30 14:14:40 -04:00
Ben Darnell e7cb38e6a4 ci: Add python 3.14a1 to test matrix 2024-10-18 15:59:46 -04:00
Ben Darnell 36de0fd921 Officially declare support for py3.13, drop 3.8 2024-09-17 16:39:16 -04:00
Ben Darnell 456c4ed170 process_test: Remove compatibility hack for python 3.13 beta 1 2024-06-10 12:28:35 -04:00
Ben Darnell 09efc06e2f Add python 3.13 betas to test configs
Belatedly promote 3.12 to non-beta status
2024-06-07 21:24:12 -04:00
Ben Darnell b2431b273b ci: Update action versions for node deprecation
The changes to checkout and setup-python shouldn't have been major
version bumps. upload-artifact and download-artifact should have had
updated node versions on v3 so we don't have to adapt to incompatible
changes here. But anyway, here we are.

build.yml has updates from
https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml

This commit also moves the pypi upload step to use OIDC instead of
a static token.
2024-06-04 13:58:05 -04:00
Ben Darnell f48682c90c ci: Add windows to the main test config
I've caused enough broken builds that aren't caught until the final
release pipeline; time to add this to the main test config.
2023-10-02 21:36:23 -04:00
Ben Darnell 4a4c870f05 build: Move linters to python 3.11 2023-07-26 21:48:03 -04:00
Ben Darnell acde88d5e7 ci: Re-enable python 3.12
Now that python/cpython#105808 is fixed in beta 3.
2023-06-21 20:53:56 -04:00
Ben Darnell 7640b8c37a ci: Disable Python 3.12 in CI
Current betas have a bug in GzipFile we can't easily work around.
https://github.com/python/cpython/issues/105808
2023-06-14 21:31:32 -04:00
Ben Darnell 9a15f35b40 ci: Update build workflow
Build wheels for Python 3.12 as well.
Update various dependencies. The upload/download artifact actions
were using deprecated versions, and we were using a deprecated
macos build image. While we're at it, update the other OS versions
and cibuildwheel.
2023-04-09 21:31:38 +00:00
Ben Darnell 129e622215 ci: Add Python 3.10.8 and 3.11.0 to the build matrix
Early releases in these two branches had different deprecation warnings
so we want to test them too.
2023-02-08 21:28:02 +00:00
Ben Darnell 6a2c60c62a ci: Re-enable Python 3.12 alphas
As of 3.12a5 the deprecation warnings should be in their final
state.

Also update setup-python action to silence a warning.
2023-02-08 21:21:14 +00:00
Ben Darnell 8025b263eb Consolidate maint and docs requirements files
This division was just complicating things unnecessarily.
Also adopt pip-tools instead of doing it all by hand.
No pinned versions have been changed in this commit.
2023-01-20 19:52:40 +00:00
Ben Darnell 921d7a4251 ci: Skip python 3.12 for now
The breaking changes begun by the deprecation warnings in 3.10 have
arrived, but according to https://github.com/python/cpython/issues/93453
the scope has changed somewhat (for the better, I think). Don't test
on 3.12 until we've adapted to the new plan.
2022-12-16 16:16:02 -05:00
Ben Darnell dfcb425fdc ci: Install pinned version of tox 2022-12-16 15:19:58 -05:00
Ben Darnell aa59da6e41 setup: Drop support for python 3.7
The main reason to drop this version before it reaches its EOL is so
that we can begin to use unittest.IsolatedAsyncioTestCase to replace
deprecated portions of the tornado.testing module.

A secondary reason is that Python 3.8 introduced support for the
samesite cookie attribute, which allows us to deprecate the
xsrf_token mechanism.
2022-11-19 17:22:36 -05:00
Ben Darnell 2ef1fd31a6 setup: Add Python 3.11 final and 3.12 alpha to CI
Adapts to the deprecation of multi-argument generator.throw().
2022-11-19 17:03:38 -05:00
Christian Clauss 2d36b9456b
Upgrade actions/checkout and actions/setup-python 2022-03-12 13:15:47 +01:00
Ben Darnell fe71a31d03 build: Add python 3.11 alphas to CI
Updates #3077
2022-01-30 15:40:16 -05:00
Ben Darnell 1f8aab8ba7 build: Add python 3.10 to CI. Remove 3.6 2022-01-16 22:58:46 -05:00
Ben Darnell d1442a388b test: Remove twisted compatibility test
Now that compatibility between tornado and twisted is based on
asyncio, this test isn't very useful any more. It is broken by the
deprecations introduced in Python 3.10 and isn't worth reviving.
2022-01-16 20:29:49 -05:00
Ben Darnell e82bd95c5d ci: move CI to github actions
Our previous CI on Travis has been broken for a while due to their
move from travis-ci.org to travis-ci.com. Instead of fixing things up
there, move everything to github actions.
2022-01-16 16:43:19 -05:00