Commit graph

93 commits

Author SHA1 Message Date
Alex Gaynor
59e4e42b66
Update explanation for setuptools dep (#12254) 2025-01-08 04:09:29 -08:00
Alex Gaynor
6b3d04aa98
Rebuild ci-constraints-requirements.txt (#12178)
`uv` now has the 'use the highest version per Python version' behavior by default
2024-12-20 14:38:38 +01:00
Alex Gaynor
d9685424b8
Updates constraints file (#12123)
Adds sphinx-inline-tabs, updates 2 packages that dependabot doesn't for some reason
2024-12-08 05:55:30 +04:00
Alex Gaynor
89422a5679
Adopt sphinx-inline-tabs (#12114)
Use it in one demo place to show how to install us with multiple installers
2024-12-06 05:40:49 -08:00
Johan Andersson
ad7a3c1f3d
build: remove cargo.toml files from wheels (#12091) 2024-12-02 19:03:33 -05:00
Paul Kehrer
e3387e8083
reopen for 45 (#12053) 2024-11-27 18:16:39 +00:00
Alex Gaynor
439eb0594a
Bump version for 44.0.0 (#12051) 2024-11-27 17:27:28 +00:00
Alex Gaynor
c6104cc366
Prohibit Python 3.9.0, 3.9.1 -- they have a bug that causes errors (#12045) 2024-11-26 08:23:15 -08:00
Alex Gaynor
cdcfaab917
Added minimal bounds for a bunch of dependencies (#11953) 2024-11-17 06:34:00 -08:00
Alex Gaynor
d251c8aec4
Specify minimum versions for more deps (#11924)
Right now our deps are basically wrong, and impossible to use with lowest version resolution. Let's start trying to specify minimums so our deps are properly accurate.
2024-11-11 14:31:49 +00:00
Alex Gaynor
7a296270aa
Move Cargo.toml workspace configuration to the root of the repo. (#11836)
This allows cargo commands like check/fmt to work from the root of the repo
2024-10-27 16:17:40 -05:00
Alex Gaynor
5e828628a2
Install uv in CI when available (#11805) 2024-10-21 14:49:13 -07:00
Alex Gaynor
2f3daa894e
Special case ci-constraints-requirements.txt for Python 3.9 as well (#11759) 2024-10-13 19:31:51 -06:00
Alex Gaynor
3d43e3398e
Drop pre-release from sphinx-rtd-theme dep (#11708) 2024-10-07 08:36:41 -04:00
Alex Gaynor
d4452997ed
Use uv to build ci-constraints-requirements.txt which hopefully makes it more maintainable (#11505) 2024-09-06 19:43:42 -07:00
Alex Gaynor
1627baa85f
Use uv for building sdists (#11549)
Hash-pin dependencies

refs #11548
2024-09-06 19:39:35 -07:00
Paul Kehrer
43897cbe22
port 43.0.1 changelog (#11534)
bonus deny another setuptool
2024-09-03 16:08:07 -04:00
Alex Gaynor
709e9de7a7
Another one bites the dust -- Queen (#11525) 2024-09-02 23:55:07 +00:00
Alex Gaynor
e587837f65
Use rc1 rtd sphinx theme (#11522) 2024-09-02 15:10:29 +00:00
Alex Gaynor
c0d077973e
Mark that check-sdist is a Python 3.8+ only dependency (#11499)
It has no versions that support Python 3.7. This is necessary to support using `uv` to manage our ci-constraints file
2024-08-28 20:09:28 -07:00
Alex Gaynor
d5ec40515f
Restrict setuptools version to work around breakages (#11503) 2024-08-28 06:56:42 -07:00
Alex Gaynor
c315d72ceb
added 3.13 trove classifier since we test on it (#11491) 2024-08-26 22:55:34 +00:00
Alex Gaynor
b6f7fb1c3b
fixed typo in comment (#11490) 2024-08-26 22:55:00 +00:00
Alex Gaynor
339bb6c352
fix weird 3-space indents (#11387)
* fix weird 3-space indents

* Update pyproject.toml
2024-08-04 11:50:38 -07:00
Paul Kehrer
7e033c18a6
reopen for 44 (#11312) 2024-07-20 12:55:35 -04:00
Paul Kehrer
ebf14f2edc
bump for 43.0.0 and update changelog (#11311)
* bump for 43.0.0 and update changelog

* fix nox

* fix flake and name better

* more noxfile update
2024-07-20 12:28:42 -04:00
Alex Gaynor
5b23baae7e
Switch to maturin. (#8815)
It seems to be much faster at doing things locally.
2024-07-05 11:57:08 -07:00
Alex Gaynor
320314cc4a
See if wheel dep is required (#11122)
The setuptools changelog sort of implies its not anymore
2024-06-20 09:27:42 +02:00
Alex Gaynor
43b8b7910d
Raise MSRV to 1.65 (#10481) 2024-02-25 23:04:40 +00:00
Alex Gaynor
d9cb236c1a
fixed typos and confusing phrasing in comment (#10477) 2024-02-25 13:49:27 -06:00
Alex Gaynor
f52c275ceb
remove stray space (#10339) 2024-02-03 17:42:21 -06:00
Alex Gaynor
4a7dc8cc92
Update ruff configuration for ruff 0.2.0 (#10332) 2024-02-02 07:51:50 -06:00
Alex Gaynor
36368cc056
Include cryptography_vectors in our test deps (#10277)
fixes #10242
2024-01-28 13:29:34 -06:00
Paul Kehrer
71cd1c43a9
reopen main for 43 dev (#10234) 2024-01-22 21:50:49 -05:00
Paul Kehrer
4e64baf360
42.0.0 version bump (#10232) 2024-01-22 20:05:18 -05:00
Alex Gaynor
71023b0a0c
Manually bump pydantic (#10106)
* Manually bump pydantic

For some reason, dependabot chokes on it

* Update pyproject.toml
2024-01-01 16:17:08 -03:00
Alex Gaynor
135050a5c1
Added certifi to test dependencies (#10043)
Needed for https://github.com/pyca/cryptography/pull/10042
2023-12-23 12:42:56 -03:00
Alex Gaynor
a9a4f5df1d
Build cp39 wheels in addition to cp37 ones (#9998) 2023-12-18 21:38:18 -06:00
Alex Gaynor
70b2bc77ca
Simplify verifying README.rst in CI (#9991) 2023-12-12 14:24:27 -06:00
Alex Gaynor
6970149e39
Alway use ruff format (#9778) 2023-10-25 17:15:44 -05:00
Hugo van Kemenade
92fd87f742
Add Python 3.12 classifier (#9507) 2023-08-26 16:53:09 -04:00
Alex Gaynor
afc06e28f2
Migrate a bit more logic to pyproject.toml (#9489) 2023-08-23 07:32:16 -07:00
Alex Gaynor
f558199dbf
Try running an extra ruff rule (#9402)
* Try running an extra ruff rule

I think `from __future__ import annotations` means this is fine, even on older Python

* Enable UP007

* Enable UP038
2023-08-11 14:31:31 -05:00
Diogo Teles Sant'Anna
7d62332542
CI: Update build and release dependencies to be referenced by SHA (#9177)
* ci: Update GitHub owned actions to be referenced by SHA. Work automated using StepSecurity

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>

* ci: create hash-pinned requirements files for build and publish processes

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci: change ci files to install build and publish dependencies using hashes

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci: fix path to requirements files

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci: rebuild the requirement.txt files using `--allow-unsafe`

The flag is needed to create hash-pinned requirements for pip and
setup-tools. Find more information about this at these issues from [pip-tools](https://github.com/jazzband/pip-tools/issues/806) and from [pip](https://github.com/pypa/pip/issues/6459).

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* refactor(workflows): move build requirements files to a separated folder

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* fix(workflow): requirements download was erasing work from previous steps

Using the actions/checkout to download the requirements.txt was erasing
some necessary files that came from previous steps. Thus, this commit
changes moves the checkout action to the beginnig of the jobs.

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci: remove reference to inexistent input in pypi-publish.yml

* docs(workflows): remove comment related to a line already delated from code

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* refactor(workflows): use a workflow-level env var to define path to build requirements file

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* fix(workflows): refer to env vars using ${{  }} sintax

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* refactor(workflows): move build and publish requirements files

Moved from .github/workflows/requirements/ to .github/requirements/

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* docs(workflows): add comments on requirements files explaining their relation

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci(workflows): update build dependencies to match exactly the ones at pyproject.toml

Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>

* ci: remove unnecessary parameter

When calling actions/checkout , we were passing the `ref` parameter as `github.ref`, but it will likely be always main, or the vary same value as the default for this parameter.

* Update dependabot config to cover build/publish dependencies

---------

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Co-authored-by: StepSecurity Bot <bot@stepsecurity.io>
2023-07-11 13:19:45 -05:00
Alex Gaynor
42acf4091c
Enable ruff's own ruleset (#9114) 2023-06-23 05:25:46 +02:00
Paul Kehrer
a7d613b89f
reopen for 42 dev (#8993) 2023-05-31 03:29:55 +00:00
Paul Kehrer
c4d494fd3e
41.0.0 version bump (#8991)
* 41.0.0 version bump

* bust cache since we don't currently compute cache key including version
2023-05-30 21:33:32 +00:00
Alex Gaynor
be18c83985
Switch from check-manifest to check-sdist (#8846)
The latter will work with non-setuptools build backends.
2023-04-30 18:14:28 +02:00
Alex Gaynor
828bcf36d6
Remove pointless newlines that snuck in (#8845) 2023-04-30 08:11:30 +02:00
Alex Gaynor
9d06775cb1
Automate the version bump (#8828) 2023-04-26 08:21:39 -05:00