Skip to content

Does not work when platform name has a space in it #7

@ehmatthes

Description

@ehmatthes

Trying to start Digital Ocean plugin, ran into this error:

(.venv) ~/projects/dsd-digitalocean$ uv pip install -e '.[dev]'
Resolved 38 packages in 235ms
  × Failed to build `dsd-digitalocean @ file:///Users/eric/projects/dsd-digitalocean`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_editable` failed (exit status: 1)

      [stdout]
      running egg_info
      creating dsd_digitalocean.egg-info
      writing dsd_digitalocean.egg-info/PKG-INFO
      writing dependency_links to dsd_digitalocean.egg-info/dependency_links.txt
      writing requirements to dsd_digitalocean.egg-info/requires.txt
      writing top-level names to dsd_digitalocean.egg-info/top_level.txt
      writing manifest file 'dsd_digitalocean.egg-info/SOURCES.txt'

      [stderr]
      error: package directory 'dsd_digitalocean' does not exist

      hint: This usually indicates a problem with the package or the build environment.
(.venv) ~/projects/dsd-digitalocean$ lsa
total 48
drwxr-xr-x   14 eric  staff   448B Feb 11 10:21 .
drwxr-xr-x  106 eric  staff   3.3K Feb 11 10:20 ..
drwxr-xr-x   12 eric  staff   384B Feb 11 10:21 .git
-rw-r--r--@   1 eric  staff   278B Feb 11 10:20 .gitignore
drwxr-xr-x    8 eric  staff   256B Feb 11 10:21 .venv
-rw-r--r--    1 eric  staff   146B Feb 11 10:20 CHANGELOG.md
-rw-r--r--    1 eric  staff   1.4K Feb 11 10:20 LICENSE
-rw-r--r--    1 eric  staff    63B Feb 11 10:20 MANIFEST.in
-rw-r--r--    1 eric  staff   105B Feb 11 10:20 README.md
drwxr-xr-x    3 eric  staff    96B Feb 11 10:20 developer_resources
drwxr-xr-x    8 eric  staff   256B Feb 11 10:20 dsd_digital ocean
drwxr-xr-x    7 eric  staff   224B Feb 11 10:22 dsd_digitalocean.egg-info
-rw-r--r--    1 eric  staff   1.4K Feb 11 10:20 pyproject.toml
drwxr-xr-x    5 eric  staff   160B Feb 11 10:20 tests
  • Troubleshoot
  • Try platform "AWS ECS", plugin dsd-aws-ecs
  • This seems related to failures with plugins having two hyphens, ie dsd-awesome-host just failed, with name AwesomeHost.
  • Test
  • Fix
  • Merge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions