Skip to content

Plugin breaks on having the package name in the package deps #30

Open

Description

@Cadair

Since we moved to pyproject.toml with sunpy we have had this style of dependancies to reduce duplication in our dep lists:

all = ["sunpy[asdf,dask,image,jpeg2000,map,net,timeseries,visualization]"]
tests = [
  "sunpy[all,opencv,spice]",

https://github.com/sunpy/sunpy/blob/7d3cc09fed175db7f8e384433a4c7a27295b6797/pyproject.toml#L89-L91

This as it is at the moment fails because we haven't got a minimum version there, but we also don't want to put the name of the package in the generated requirement output at all.

Activity

  1. braingram commented on Mar 18, 2024

    @braingram

    I'm curious to see if the following works (and to hear your opinions on uv). Would you try the following (in the sunpy repo checkout)?

    uv pip compile --resolution=lowest-direct --extra all pyproject.toml
    
  2. Cadair commented on Apr 17, 2024

    @Cadair
    MemberAuthor

    I am sure that would work, but I haven't tried to uv yet.

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