Commit Graph

8 Commits

Author SHA1 Message Date
Ben Darnell 36de0fd921 Officially declare support for py3.13, drop 3.8 2024-09-17 16:39:16 -04:00
Ben Darnell 90ae304f6f lint: Set black target version to 3.8+
This makes black use trailing commas consistently across the codebase.
Without this, it uses certain trailing commas only in files that
contain fstrings (because this marks them as requiring Python 3.6+).
2024-06-13 15:08:18 -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 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
Ben Darnell e71fb6e616 setup: Build wheels with the stable ABI (abi3)
This will produce cross-version wheels so we won't have to do
releases just to make new wheels when new versions of Python
are available.

Also modernize the build process a bit to require setuptools and use
the native "optional" flag for extensions.
2022-06-17 15:55:17 -04:00
Ben Darnell 1f8aab8ba7 build: Add python 3.10 to CI. Remove 3.6 2022-01-16 22:58:46 -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