Nathan Goldbaum
26b19b27fd
Update Cargo.lock and Cargo.toml for PyO3 0.23 support
2025-02-22 19:59:49 +00:00
Zanie Blue
985cec808e
Remove dependency on chic and upgrade annotate-snippets ( #1293 )
...
* Vendor `chic`
At 0761036492
* Remove unused `Error::help` method
* Upgrade to `annotate_snippets` 0.9.x
Applying 27c99b5038
* Upgrade to `annotate_snippets` 0.10.x
See https://salsa.debian.org/rust-team/debcargo-conf/-/blob/master/src/chic/debian/patches/annotate-snippets-0.10
* Upgrade to `annotate_snippets` 0.11.x
As in https://salsa.debian.org/rust-team/debcargo-conf/-/blob/master/src/chic/debian/patches/annotate-snippets-0.11
* Drop `chic` compatibility layer
2025-02-21 22:20:49 +00:00
Zsolt Dollenstein
c825afb87d
Bump to 1.6.0
...
Summary:
Test Plan:
2025-01-09 19:09:48 +00:00
dependabot[bot]
01c2939445
Bump jinja2 from 3.1.4 to 3.1.5 ( #1265 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 19:00:34 +00:00
dependabot[bot]
af136b91ac
Bump astral-sh/setup-uv from 4 to 5 ( #1264 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 4 to 5.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 18:59:38 +00:00
Danny Yang
6b483c6113
Add codemod to rename typing aliases of builtins ( #1267 )
...
* add codemod to rename typing aliases of builtins
* format
2025-01-09 18:59:00 +00:00
Zsolt Dollenstein
403782d5e9
Cargo.lock changes
2025-01-09 18:50:02 +00:00
Jelmer Vernooij
d2382d81ac
Upgrade pyo3 to 0.22 ( #1180 )
...
* Upgrade pyo3 to 0.22
* libcst_native: add optional signature
Newer versions of pyo3 warn about missing signatures
2025-01-09 18:47:12 +00:00
Zsolt Dollenstein
20837f7824
ci: disable macos intel wheels ( #1275 )
...
cibuildwheel fails to build these after a recent version upgrade
2025-01-09 18:39:18 +00:00
Zsolt Dollenstein
b523b360c1
run cargo fmt
...
Summary:
Test Plan:
2025-01-08 20:02:17 +00:00
Crozzers
595d7f6aaf
Expose TypeAlias and TypeVar related structs in rust library ( #1274 )
2025-01-08 19:58:37 +00:00
Danny Yang
c4e7934253
add types classifier and badge ( #1272 )
2025-01-04 09:59:40 +00:00
Danny Yang
776452f351
Add codemod to fix variadic callable annotations ( #1269 )
...
* add fix variadic callable codemod
* format
2025-01-02 19:49:03 -05:00
Danny Yang
d26987202b
Add codemod to convert typing.Union to | ( #1270 )
...
* add union to or codemod
* lint
* early return
2025-01-02 19:48:55 -05:00
Zsolt Dollenstein
230f177c84
ci: audit workflows with zizmor ( #1262 )
...
https://woodruffw.github.io/zizmor/
2024-12-16 10:01:02 +00:00
dependabot[bot]
3e4bae471b
Bump ufmt from 2.7.3 to 2.8.0 ( #1236 )
...
Bumps [ufmt](https://github.com/omnilib/ufmt ) from 2.7.3 to 2.8.0.
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/omnilib/ufmt/compare/v2.7.3...v2.8.0 )
---
updated-dependencies:
- dependency-name: ufmt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-13 11:41:48 +00:00
Zsolt Dollenstein
a3b5529bb3
rename: fix renaming toplevel names ( #1260 )
...
For toplevel module names imported via `import foo`, the rename codemod would fail to change these. This PR fixes that.
2024-12-11 20:30:33 +00:00
khameeteman
b04670c166
bump 3.12 to 3.13 in readme ( #1228 )
2024-12-07 21:33:56 +00:00
Zsolt Dollenstein
d24192a40f
rename: don't eat commas unnecessarily ( #1256 )
...
#1254 was a bit too aggressive in removing commas. They shouldn't be removed if there are parenthesis around the imported names.
2024-12-02 16:13:12 +00:00
Zsolt Dollenstein
8c30fcef30
rename: don't leave trailing commas ( #1254 )
...
When renaming the last element of a `from a import b,c` import, don't leave the trailing comma after `b`
2024-12-02 10:00:59 +00:00
Zsolt Dollenstein
c05ac74b9a
refactor: allow scheduled_removals to accept a tuple ( #1253 )
...
This fixes a TODO
2024-12-02 10:00:35 +00:00
Zsolt Dollenstein
a36432c958
rename: Fix imports with aliases ( #1252 )
...
When renaming `a.b` -> `c.d`, in imports like `import a.b as x` the as_name wasn't correctly removed even though references to `x` were renamed to `c.d`.
This PR makes the codemod remove the `x` asname in these cases.
2024-11-29 11:23:59 +00:00
Zsolt Dollenstein
28e0f397b2
rename: handle imports via a parent module ( #1251 )
...
When requesting a rename for `a.b.c`, we want to act on `import a` when it's used to access `a.b.c`
2024-11-28 20:02:23 +00:00
Zsolt Dollenstein
6fdca74c90
rename: store state in scratch ( #1250 )
...
This PR changes RenameCodemod to store its per-module state in `self.context.scratch` which gets properly reset between files.
2024-11-28 14:59:43 +00:00
dependabot[bot]
08da127e54
Bump pypa/cibuildwheel from 2.21.2 to 2.22.0 ( #1247 )
...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.21.2 to 2.22.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21.2...v2.22.0 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-27 12:27:11 +00:00
Zsolt Dollenstein
4aa92f3857
Bump version to 1.5.1 ( #1246 )
2024-11-18 20:19:01 +00:00
Blazej Michalik
4ff38c039e
ci: skip musllinux builds for unsupported archs ( #1244 )
...
This fixes current CI failures by skipping Musl builds for `i686`,
`ppc64le`, `s390x`, and `armv7le` architectures.
The failures are due to Rust ecosystem having only partial support / not
having tool chains for these architectures. For the list of supported
archs and tiers of support, see:
https://doc.rust-lang.org/nightly/rustc/platform-support.html
The architectures skipped here are either, from the Rust PoV:
- Tier-2 support without host tools.
- Tier-3 support without host tools.
2024-11-17 18:01:34 +00:00
Blazej Michalik
bfd1000289
ci: build wheels for musllinux ( #1243 )
2024-11-17 10:19:27 +00:00
Zsolt Dollenstein
42df0881ba
Fix doc build error ( #1221 )
...
Apparently doc2path now returns a path not a string
2024-10-10 11:20:25 +01:00
Zsolt Dollenstein
527a4b04e1
bump versions in cargo.toml
2024-10-10 10:54:15 +01:00
Zsolt Dollenstein
dde88a2082
add changelog entry
2024-10-10 10:53:01 +01:00
khameeteman
a2b3456fe9
include python 3.13 in build ( #1203 )
2024-10-10 10:38:27 +01:00
dependabot[bot]
b49e705579
Bump pypa/cibuildwheel from 2.21.1 to 2.21.2 ( #1218 )
...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.21.1 to 2.21.2.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21.1...v2.21.2 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 09:22:46 +01:00
dependabot[bot]
586b4d74e4
Bump ufmt from 2.7.0 to 2.7.3 ( #1212 )
...
Bumps [ufmt](https://github.com/omnilib/ufmt ) from 2.7.0 to 2.7.3.
- [Changelog](https://github.com/omnilib/ufmt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/omnilib/ufmt/compare/v2.7.0...v2.7.3 )
---
updated-dependencies:
- dependency-name: ufmt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 11:32:36 +01:00
Kirill Ignatev
9fd67bca49
fix certain matchers breaking under multiprocessing by initializing them late ( #1204 )
...
* Add is_property check
Skip properties to prevent exceptions
* Delayed initialization of matchers
To support multiprocessing on Windows/macOS
Issue #1181
* Add a test for matcher decorators with multiprocessing
2024-09-25 11:29:54 +01:00
dependabot[bot]
6a059bec9a
Bump pypa/cibuildwheel from 2.21.0 to 2.21.1 ( #1211 )
...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21.0...v2.21.1 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 11:22:57 +01:00
Wim Jeantine-Glenn
0974a416a7
Typo fix in codemods_tutorial.rst (trivial) ( #1208 )
2024-09-18 09:23:30 +01:00
dependabot[bot]
61b9ac3a68
Bump pypa/cibuildwheel from 2.20.0 to 2.21.0 ( #1206 )
...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.20.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 07:37:01 +01:00
dependabot[bot]
9834694730
Bump regex from 1.9.3 to 1.10.6 in /native ( #1198 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.3 to 1.10.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.3...1.10.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 10:26:36 -07:00
dependabot[bot]
ccf9623ccf
Bump trybuild from 1.0.86 to 1.0.99 in /native ( #1194 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.86 to 1.0.99.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.86...1.0.99 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 18:47:34 -07:00
dependabot[bot]
8c5aa32000
Bump thiserror from 1.0.55 to 1.0.63 in /native ( #1196 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.55 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.55...1.0.63 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 18:47:27 -07:00
dependabot[bot]
77e2a51d35
Bump peg from 0.8.1 to 0.8.4 in /native ( #1197 )
...
Bumps [peg](https://github.com/kevinmehall/rust-peg ) from 0.8.1 to 0.8.4.
- [Release notes](https://github.com/kevinmehall/rust-peg/releases )
- [Commits](https://github.com/kevinmehall/rust-peg/compare/0.8.1...0.8.4 )
---
updated-dependencies:
- dependency-name: peg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:42:44 -07:00
dependabot[bot]
47b171b9a7
Bump rayon from 1.7.0 to 1.10.0 in /native ( #1193 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.7.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.10.0 )
---
updated-dependencies:
- dependency-name: rayon
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:40:50 -07:00
dependabot[bot]
38cc0798b2
Bump trybuild from 1.0.71 to 1.0.86 in /native ( #1076 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.71 to 1.0.86.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.71...1.0.86 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:26:14 -07:00
dependabot[bot]
9f198179f3
Bump ts-graphviz/setup-graphviz from 1 to 2 ( #1105 )
...
Bumps [ts-graphviz/setup-graphviz](https://github.com/ts-graphviz/setup-graphviz ) from 1 to 2.
- [Release notes](https://github.com/ts-graphviz/setup-graphviz/releases )
- [Commits](https://github.com/ts-graphviz/setup-graphviz/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: ts-graphviz/setup-graphviz
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:23:25 -07:00
dependabot[bot]
07ec61d8b0
Bump thiserror from 1.0.37 to 1.0.55 in /native ( #1086 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.37 to 1.0.55.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.55 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:22:34 -07:00
dependabot[bot]
6017c40d19
Bump paste from 1.0.9 to 1.0.15 in /native ( #1146 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.9 to 1.0.15.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.9...1.0.15 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:22:20 -07:00
dependabot[bot]
b552469f1c
Bump itertools from 0.11.0 to 0.13.0 in /native ( #1150 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.11.0 to 0.13.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:21:56 -07:00
dependabot[bot]
2e49695427
Bump memchr from 2.5.0 to 2.7.4 in /native ( #1165 )
...
Bumps [memchr](https://github.com/BurntSushi/memchr ) from 2.5.0 to 2.7.4.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.5.0...2.7.4 )
---
updated-dependencies:
- dependency-name: memchr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 17:21:43 -07:00
dependabot[bot]
bf5fb4132e
Bump black from 23.12.1 to 24.8.0 ( #1186 )
...
* Bump black from 23.12.1 to 24.8.0
Bumps [black](https://github.com/psf/black ) from 23.12.1 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.12.1...24.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update formatting
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amethyst Reese <amethyst@n7.gg>
2024-08-22 16:46:01 -07:00