Skip to content

Pypi-config not copied on pixi init #3004

Closed

Description

@Hugovdberg

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

Create ~\.pixi\config.toml:

[pypi-config]
extra-index-urls = [
  "file:////.../_pkg_repo",
]

Run

pixi init 

Issue description

No pypi-options are present in pixi.toml. I initially expected the global config to also be called pypi-options, but that raises a schema warning, and also doesn't include the options in the pixi.toml. Also does not work when using pixi init --format pyproject.

Expected behavior

Expect pixi.toml

...
[pypi-options]
extra-index-urls = [
  "file:////.../_pkg_repo",
]
...

Activity

  1. naguam commented on Feb 3, 2025

    @naguam

    I've got the same problem

  2. tdejager commented on Feb 3, 2025

    @tdejager
    Contributor

    Ah that seems like a bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions