You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the workspace is activated in rye and rye sync is performed, dev-dependencies libraries are not retrieved. They also cannot be found in the site-packages.
Expected Result
The libraries, including the dev-dependencies of the subprojects, should be retrieved and executable with rye run.
Actual Result
❯ rye init ws_example
success: Initialized project in /Users/***/workspace/projects/rust/ws_example
Run `rye sync` to get started
❯ cd ws_example/src/ws_example
❯ rye init sub_example
success: Initialized project in /Users/***/workspace/projects/rust/ws_example/src/ws_example/sub_example
Run `rye sync` to get started
❯ cd ../../
❯ rye add --dev black
Added black~=23.3.0 as dev dependency
❯ echo"[tool.rye.workspace]">> pyproject.toml
❯ rye sync
Initializing new virtualenv in /Users/***/workspace/projects/rust/ws_example/.venv
Python version: cpython@3.11.3
Generating production lockfile: /Users/***/workspace/projects/rust/ws_example/requirements.lock
Generating dev lockfile: /Users/***/workspace/projects/rust/ws_example/requirements-dev.lock
Installing dependencies
Obtaining file:///. (from -r /var/folders/lw/qnr25tx16dg872cn6zf168krgkyq08/T/tmpl1uvkt4p (line 1))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Obtaining file:///src/ws_example/sub_example (from -r /var/folders/lw/qnr25tx16dg872cn6zf168krgkyq08/T/tmpl1uvkt4p (line 2))
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: ws-example, sub-example
Building editable for ws-example (pyproject.toml) ... done
Created wheel for ws-example: filename=ws_example-0.1.0-py3-none-any.whl size=1072 sha256=b8b3fe307b2b05f2a8cb9c8a6de9921512568238609e7ce75b32f667b17291ce
Stored in directory: /private/var/folders/lw/qnr25tx16dg872cn6zf168krgkyq08/T/pip-ephem-wheel-cache-63dijkb7/wheels/97/54/f5/d849319cdfa096e074df352654ee2e7c919da8951f090690c6
Building editable for sub-example (pyproject.toml) ... done
Created wheel for sub-example: filename=sub_example-0.1.0-py3-none-any.whl size=1090 sha256=34aae67490d669f56c8094bab37c6a69315ab7e436247d110b5295ac75ec4998
Stored in directory: /private/var/folders/lw/qnr25tx16dg872cn6zf168krgkyq08/T/pip-ephem-wheel-cache-63dijkb7/wheels/e9/77/76/d7623e9fb7566f7785a461797869b00c9029da1bf8268a8747
Successfully built ws-example sub-example
Installing collected packages: ws-example, sub-example
Successfully installed sub-example-0.1.0 ws-example-0.1.0
Done!
❯ cat requirements-dev.lock
# generated by rye# use `rye lock` or `rye sync` to update this lockfile## last locked with the following flags:# pre: false# features: []# all-features: false
-e file:src/ws_example/sub_example
-e file:.
❯ cat requirements.lock
# generated by rye# use `rye lock` or `rye sync` to update this lockfile## last locked with the following flags:# pre: false# features: []# all-features: false
-e file:src/ws_example/sub_example
-e file:.
❯ ls .venv/lib/python3.11/site-packages/
__pycache__ _virtualenv.pth _virtualenv.py sub_example-0.1.0.dist-info sub_example.pth ws_example-0.1.0.dist-info ws_example.pth
Steps to Reproduce
When the workspace is activated in rye and rye sync is performed, dev-dependencies libraries are not retrieved. They also cannot be found in the site-packages.
Expected Result
The libraries, including the dev-dependencies of the subprojects, should be retrieved and executable with rye run.
Actual Result
Version Info
rye 0.1.0
commit: unknown (4c5ef5d 2023-05-15)
platform: macos (aarch64)
self-python: cpython@3.10
Stacktrace
No response
The text was updated successfully, but these errors were encountered: