Skip to content

pyproject-fmt conflict #70

Open
Open
@mtelka

Description

@mtelka

Description

The pyproject-parser project delivers /usr/bin/pyproject-fmt executable file while the same file is also installed by the pyproject-fmt project. It is impossible to properly install both projects together in single environment.

This is a problem for downstream package maintainer where it could lead to packages that cannot be installed together.

Steps to Reproduce

Try to install both pyproject-parser and pyproject-fmt projects.

# pkg install -v library/python/pyproject-parser
Creating Plan (Checking for conflicting actions): /           Packages to install:  2
       Create boot environment: No
Create backup boot environment: No
          Rebuild boot archive: No

Changed packages:
openindiana.org
  library/python/pyproject-parser
    None -> 0.11.1-2024.0.0.0
  library/python/pyproject-parser-39
    None -> 0.11.1-2024.0.0.0

pkg install: The following packages all deliver file actions to usr/bin/pyproject-fmt-3.9:

  pkg://openindiana.org/library/python/[email protected],5.11-2024.0.0.0:20240702T054751Z
  pkg://openindiana.org/library/python/[email protected],5.11-2024.0.0.0:20240521T171652Z

These packages cannot be installed together. Any non-conflicting subset
of the above packages can be installed.
#

Actual result:

The resulting installed /usr/bin/pyproject-fmt is either from the pyproject-parser project or pyproject-fmt/ project.

Expected result:

There are no conflicting files between the pyproject-parser project and the pyproject-fmt project.

Reproduces how often:

Easily reproduced

Version

  • Operating System: OpenIndiana
  • Python: 3.9.19
  • pyproject-parser: 0.11.1

Installation source

PyPI, OpenIndiana package repo.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions