Tim Hatch
d05347cfcb
Regenerate sys.rs with stdlibs==2024.5.15 ( #11437 )
...
## Summary
Now that 3.13.0 b1 is out some of the stdlib modules have changed names.
## Test Plan
Wait for CI to run, expected to be pretty safe.
2024-05-15 22:17:32 +00:00
Charlie Marsh
6ed2482e27
Add Python 3.13 to list of allowed Python versions ( #11411 )
...
## Summary
I believe we're already "Python 3.13-ready"? The main Ruff-impacting
change I see in https://docs.python.org/3.13/whatsnew/3.13.html is [PEP
696](https://peps.python.org/pep-0696/ ) which Jelle added in
https://github.com/astral-sh/ruff/pull/11120 .
2024-05-13 16:35:41 +00:00
Charlie Marsh
dc5c44ccc4
Remove some hardcoded modules from generate_known_standard_library.py
( #11409 )
...
See feedback in: https://github.com/astral-sh/ruff/pull/11374
2024-05-13 12:27:34 -04:00
Rahul Modpur
6a28f3448e
Migrate sys.rs generation to stdlibs ( #11374 )
...
## Summary
Closes #11347
2024-05-12 21:21:51 -04:00
Charlie Marsh
887455c498
Use u8
to represent version segments ( #7578 )
2023-09-21 14:24:51 -04:00
Charlie Marsh
f45d1c2b84
Remove HashMap and HashSet for known-standard-library detection ( #5345 )
...
## Summary
This is a lot more concise and probably much more performant (with fewer
instructions).
2023-06-23 19:59:03 +00:00
Charlie Marsh
d1c48016eb
Rename ruff_python
crate to ruff_python_stdlib
( #3354 )
...
In hindsight, `ruff_python` is too general. A good giveaway is that it's actually a prefix of some other crates. The intent of this crate is to reimplement pieces of the Python standard library and CPython itself, so `ruff_python_stdlib` feels appropriate.
2023-03-06 13:43:22 +00:00