Skip to content

Add project name to pyproject.toml#271

Closed
MitchellAugustin wants to merge 1 commit intoc0fec0de:mainfrom
MitchellAugustin:main
Closed

Add project name to pyproject.toml#271
MitchellAugustin wants to merge 1 commit intoc0fec0de:mainfrom
MitchellAugustin:main

Conversation

@MitchellAugustin
Copy link
Copy Markdown

Newer versions of poetry require project.name

Newer versions of poetry require project.name
@c0fec0de
Copy link
Copy Markdown
Owner

c0fec0de commented Apr 8, 2025

Fixed by #272

Please apologize the delayed response.

@c0fec0de c0fec0de closed this Apr 8, 2025
algitbot pushed a commit to alpinelinux/aports that referenced this pull request May 10, 2025
https://github.com/c0fec0de/anytree/releases/tag/2.13.0

Includes fix for build error:

```
Traceback (most recent call last):
  File "/usr/bin/gpep517", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 238, in main
    return func(args)
           ^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 45, in build_wheel
    print(build_wheel_impl(args, args.wheel_dir), file=out)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/gpep517/build.py", line 180, in build_wheel_impl
    wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 55, in build_wheel
    poetry = Factory().create_poetry(Path().resolve(), with_groups=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/poetry/core/factory.py", line 59, in create_poetry
    raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
  - project must contain ['name'] properties
```

Upstream PR: c0fec0de/anytree#271
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

Successfully merging this pull request may close these issues.

2 participants