Skip to content

Commit fdeb817

Browse files
committed
Merge branch 'develop' into feature/format_float
# Conflicts: # vm/src/cformat.rs
2 parents db976dd + f390f61 commit fdeb817

File tree

110 files changed

+12941
-2765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+12941
-2765
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
if: runner.os == 'macOS'
7979
- name: Cache cargo dependencies
8080
uses: actions/cache@v2
81+
# cache gets corrupted for some reason on mac
82+
if: runner.os != 'macOS'
8183
with:
8284
path: |
8385
~/.cargo/registry
@@ -108,12 +110,20 @@ jobs:
108110
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
109111
if: runner.os == 'Linux'
110112
- name: run cpython tests (macOS lightweight)
111-
run: target/release/rustpython -m test -x test_argparse -x test_json -x test_bytes -x test_long -v
113+
run:
114+
target/release/rustpython -m test -v -x
115+
test_argparse test_json test_bytes test_bytearray test_long test_unicode test_array
116+
test_asyncgen test_list test_complex test_json test_set test_dis test_calendar
112117
env:
113118
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
114119
if: runner.os == 'macOS'
115120
- name: run cpython tests (windows partial - fixme)
116-
run: target/release/rustpython -m test -x test_argparse -x test_json -x test_bytes -x test_long -x test_pwd -x test_bool -x test_cgi -x test_complex -x test_exception_hierarchy -x test_glob -x test_importlib -x test_iter -x test_list -x test_os -x test_pathlib -x test_py_compile -x test_set -x test_shutil -x test_sys -x test_unicode -x test_unittest -x test_venv -x test_zipimport -v
121+
run:
122+
target/release/rustpython -m test -v -x
123+
test_argparse test_json test_bytes test_long test_pwd test_bool test_cgi test_complex
124+
test_exception_hierarchy test_glob test_iter test_list test_os test_pathlib
125+
test_py_compile test_set test_shutil test_sys test_unicode test_unittest test_venv
126+
test_zipimport test_importlib test_io
117127
env:
118128
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
119129
if: runner.os == 'Windows'

Cargo.lock

Lines changed: 113 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ license = "MIT"
99
include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
1010

1111
[workspace]
12-
members = [".", "derive", "vm", "wasm/lib", "parser", "compiler", "bytecode", "vm/pylib-crate", "common", "jit"]
12+
members = [
13+
".", "ast", "bytecode", "common", "compiler", "compiler/porcelain",
14+
"derive", "jit", "parser", "vm", "vm/pylib-crate", "wasm/lib",
15+
]
1316

1417
[[bench]]
1518
name = "bench"
@@ -28,7 +31,7 @@ ssl = ["rustpython-vm/ssl"]
2831
log = "0.4"
2932
env_logger = "0.7"
3033
clap = "2.33"
31-
rustpython-compiler = { path = "compiler", version = "0.1.1" }
34+
rustpython-compiler = { path = "compiler/porcelain", version = "0.1.1" }
3235
rustpython-parser = { path = "parser", version = "0.1.1" }
3336
rustpython-vm = { path = "vm", version = "0.1.1", default-features = false, features = ["compile-parse"] }
3437
pylib = { package = "rustpython-pylib", path = "vm/pylib-crate", version = "0.1.0", default-features = false, optional = true }

0 commit comments

Comments
 (0)