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
The CONTRIBUTING.md has information on creating a virtual environment and setting up the tools needed for Bee
After creating a virtual environment and activating, the docs include an invocation of poetry shell. However at this point poetry is likely not installed. Additionally, the 'shell' command is now in a plugin.
We could add pip install poetry poetry-plugin-shell
However, in addition, poetry shell does not create a virtual environment - this would also need adding (Note: am unfamilar with poetry)
python -m venv .venv
This will help a new contributor get their environment sorted more quickly.
Since a similar CONTRIBUTING.md is used in other parts of the bee stack we may wish to update elsewhere (or link together)?
That being said, we don't yet have a pyproject.toml so poetry shell will not (yet) work ...
The text was updated successfully, but these errors were encountered:
The contributing doc implicitly focuses on the python bee agent more than the hive (indeed, hive hasn't been configured to use poetry yet as you mention), so we'll need to update that.
Also worth noting that the recommended way to setup poetry is via pipx, which will install in a virtual environment so as not to break system Python but allow poetry to be used globally. Once that's done, running poetry shell will create a new virtual environment when run from a directory with a pyproject.toml:
Adding a note that the shell is not part of a standard poetry install (any more). After the pipx it can be installed with poetry self add poetry-plugin-shell
The
CONTRIBUTING.md
has information on creating a virtual environment and setting up the tools needed for BeeAfter creating a virtual environment and activating, the docs include an invocation of
poetry shell
. However at this point poetry is likely not installed. Additionally, the 'shell' command is now in a plugin.We could add
pip install poetry poetry-plugin-shell
However, in addition,
poetry shell
does not create a virtual environment - this would also need adding (Note: am unfamilar with poetry)This will help a new contributor get their environment sorted more quickly.
Since a similar CONTRIBUTING.md is used in other parts of the bee stack we may wish to update elsewhere (or link together)?
That being said, we don't yet have a
pyproject.toml
sopoetry shell
will not (yet) work ...The text was updated successfully, but these errors were encountered: