question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error upgrading to latest master using poetry

See original GitHub issue

I just tried to upgrade to the latest branch by doing

poetry add git+https://github.com/dj-stripe/dj-stripe.git#master

like i’ve used to upgrade the last couple of times. Only this time its throwing the error below:

RuntimeError

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


  at ~/.poetry/lib/poetry/_vendor/py3.10/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"]

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eliezerp3commented, Aug 31, 2022

@jleclanche Posted here #1793

0reactions
PabloCastellanocommented, Aug 31, 2022

Hi @eliezerp3

Please excuse the state of master, since today it depends on an unreleased version of poetry, specifically, 1.2.0. You can install its rc2 and the error will go away: https://pypi.org/project/poetry/1.2.0rc2/

I’m blocking the final release on the actual stable release of poetry 1.2.0 anyway, which should be out imminently according to the poetry team (should have been out yesterday in fact but an rc2 dropped instead).

In short: If you want to keep using the master branch, you can either install poetry 1.2.0rc2, wait for the stable release of poetry 1.2.0 (within a few days), or pin your dependency on dj-stripe to 8021d60.

@jleclanche JFTR, poetry 1.2.0 is now released!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error on `poetry update` · Issue #506 - GitHub
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >
How can Python Poetry be forced to use a certain setuptools ...
I found a workaround for my problem. In the case of pyhash, the dependency on use_2to3 has already been removed in the master...
Read more >
Announcing Poetry 1.2.0 | Blog
The Poetry team is pleased to announce the immediate availability of Poetry 1.2.0. Poetry 1.2 boasts a massive list of changes, new features ......
Read more >
poetry - PyPI
Poetry helps you declare, manage and install dependencies of Python projects, ... MANIFEST.in and Pipfile with a simple pyproject.toml based project format.
Read more >
Update Packages in Python Poetry - YippeeCode
This error happens when you try to update a package that is a dependency in development without passing the --dev flag. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found