Skip to content

Commit c490a35

Browse files
authored
relocate scripts (RustPython#6753)
1 parent 273c5a3 commit c490a35

File tree

7 files changed

+7
-19
lines changed

7 files changed

+7
-19
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ cargo run --release -- -m test test_unicode -k test_unicode_escape
106106

107107
### Determining What to Implement
108108

109-
Run `./whats_left.py` to get a list of unimplemented methods, which is helpful when looking for contribution opportunities.
109+
Run `./scripts/whats_left.py` to get a list of unimplemented methods, which is helpful when looking for contribution opportunities.
110110

111111
## Coding Guidelines
112112

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ jobs:
412412
target/release/rustpython -m venv testvenv
413413
testvenv/bin/rustpython -m pip install wheel
414414
- name: Check whats_left is not broken
415-
run: python -I whats_left.py
415+
run: python -I scripts/whats_left.py
416416

417417
lint:
418418
name: Check Rust code with clippy

.github/workflows/cron-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
run: cargo build --release --verbose
9595
- name: Collect what is left data
9696
run: |
97-
chmod +x ./whats_left.py
98-
./whats_left.py --features "ssl,sqlite" > whats_left.temp
97+
chmod +x ./scripts/whats_left.py
98+
./scripts/whats_left.py --features "ssl,sqlite" > whats_left.temp
9999
env:
100100
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
101101
- name: Upload data to the website

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ To enhance CPython compatibility, try to increase unittest coverage by checking
245245
Another approach is to checkout the source code: builtin functions and object
246246
methods are often the simplest and easiest way to contribute.
247247

248-
You can also simply run `python -I whats_left.py` to assist in finding any unimplemented
248+
You can also simply run `python -I scripts/whats_left.py` to assist in finding any unimplemented
249249
method.
250250

251251
## Compiling to WebAssembly

demo_closures.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

whats_left.py renamed to scripts/whats_left.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
if not sys.flags.isolated:
3131
print("running without -I option.")
32-
print("python -I whats_left.py")
32+
print("python -I scripts/whats_left.py")
3333
exit(1)
3434

3535
GENERATED_FILE = "extra_tests/not_impl.py"
@@ -39,7 +39,7 @@
3939
sys.exit(f"whats_left.py must be run under CPython, got {implementation} instead")
4040
if sys.version_info[:2] < (3, 14):
4141
sys.exit(
42-
f"whats_left.py must be run under CPython 3.14 or newer, got {implementation} {sys.version} instead. If you have uv, try `uv run python -I whats_left.py` to select a proper Python interpreter easier."
42+
f"whats_left.py must be run under CPython 3.14 or newer, got {implementation} {sys.version} instead. If you have uv, try `uv run python -I scripts/whats_left.py` to select a proper Python interpreter easier."
4343
)
4444

4545

0 commit comments

Comments
 (0)