Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Poetry dependency installation during pytest job #1483

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Install dependencies
run: |
poetry install --sync
poetry sync --extras test

- name: Initiate database
run: |
Expand Down
4 changes: 2 additions & 2 deletions DEVELOPER_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ Then create the virtual environment
```sh
# Fix disable parallel installation stuck: $> poetry config experimental.new-installer false
# Fix Loading macOS/linux stuck: $> export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
poetry install --sync
poetry sync
```

If you are on Arch Linux or another Arch-based distro, you need to run the command as follows:

```sh
# https://bbs.archlinux.org/viewtopic.php?id=296542
CFLAGS="-Wno-error=incompatible-pointer-types" poetry install --sync
CFLAGS="-Wno-error=incompatible-pointer-types" poetry sync
```

#### - Spin up mariadb in docker
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ Source = "https://github.com/rommapp/romm"

[tool.poetry]
package-mode = false
requires-poetry = ">=2.0"
Loading