Skip to content

Packaging issues with pypi package #40

@cryptomilk

Description

@cryptomilk

Hi,

I'm trying to package epaper-dithering for OpenSUSE. The issue is that in the sdist package on PyPI has rust/Cargo.toml with:

[workspace]
members = ["core", "wasm"]

However there is no wasm directory in the tarball. I fail to create a vendor package from this:

2026-06-09T08:30:09.913600Z ERROR obs_service_cargo::cargo_commands: err=Custom { kind: Interrupted, error: "error: failed to load manifest for workspace member `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm`\nreferenced by workspace at `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/Cargo.toml`\n\nCaused by:\n  failed to read `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm/Cargo.toml`\n\nCaused by:\n  No such file or directory (os error 2)\n" }
2026-06-09T08:30:09.916945Z ERROR obs_service_cargo::cli: err=Custom { kind: Interrupted, error: "error: failed to load manifest for workspace member `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm`\nreferenced by workspace at `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/Cargo.toml`\n\nCaused by:\n  failed to read `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm/Cargo.toml`\n\nCaused by:\n  No such file or directory (os error 2)\n" }
2026-06-09T08:30:09.917056Z ERROR cargo_vendor: error: failed to load manifest for workspace member `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm`
referenced by workspace at `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/Cargo.toml`

Caused by:
  failed to read `/tmp/.obs-service-cargo-vendorft9Zzw7w9gB7/epaper_dithering-5.0.6/rust/wasm/Cargo.toml`

Either add wasm to the relased tarball on pypi or remove it from rust/Cargo.toml please.

Thanks

Metadata

Metadata

Assignees

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