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

all 3 install methods fail #29

Open
ebryerwork opened this issue Feb 21, 2025 · 0 comments
Open

all 3 install methods fail #29

ebryerwork opened this issue Feb 21, 2025 · 0 comments

Comments

@ebryerwork
Copy link

ebryerwork commented Feb 21, 2025

Poetry was newly installed with pip3 on RHEL 8.

$ ls
CONTRIBUTING.md  Dockerfile  grafana_dashboard_manager  LICENSE  poetry  poetry.lock  pyproject.toml  README.md  ruff.toml  tests
$ poetry install

  RuntimeError

  The Poetry configuration is invalid:
    - Additional properties are not allowed ('group' was unexpected)
  

  at ~/.local/lib/python3.6/site-packages/poetry/core/factory.py:43 in create_poetry
       39│             message = ""
       40│             for error in check_result["errors"]:
       41│                 message += "  - {}\n".format(error)
       42│ 
    →  43│             raise RuntimeError("The Poetry configuration is invalid:\n" + message)
       44│ 
       45│         # Load package
       46│         name = local_config["name"]
       47│         version = local_config["version"]

Building the Dockerfile with podman:

$ podman  build -t grafana-dashboard-manager:latest .
[...]
Poetry (1.7.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

--> c07b4b6dc38c
[1/2] STEP 6/10: RUN poetry self add poetry-plugin-export
Using version ^1.9.0 for poetry-plugin-export

Updating dependencies
Resolving dependencies...

Because no versions of poetry-plugin-export match >1.9.0,<2.0.0
 and poetry-plugin-export (1.9.0) depends on poetry (>=2.0.0,<3.0.0), poetry-plugin-export (>=1.9.0,<2.0.0) requires poetry (>=2.0.0,<3.0.0).
So, because poetry-instance depends on both poetry (1.7.1) and poetry-plugin-export (^1.9.0), version solving failed.
Error: building at STEP "RUN poetry self add poetry-plugin-export": while running runtime: exit status 1

pip

$ pip3 install grafana-dashboard-manager
Collecting grafana-dashboard-manager
  Could not find a version that satisfies the requirement grafana-dashboard-manager (from versions: )
No matching distribution found for grafana-dashboard-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant