Skip to content

cosmwasm-std dev-dependency in cosmwasm-derive causes cargo release to fail #2186

@chipshort

Description

@chipshort

The problem is:

  1. cargo release bumps the version to the not yet released one.
  2. cargo publish now seems to require the dev-dependencies to be present:
error: failed to verify package tarball

Caused by:
  failed to select a version for the requirement `cosmwasm-std = "^2.1.0"`
  candidate versions found which didn't match: 2.1.0-rc.1, 2.0.4, 2.0.3, ...
  location searched: crates.io index
  required by package `cosmwasm-derive v2.1.0 (/Users/christoph/Projects/cosmwasm/target/package/cosmwasm-derive-2.1.0)`
  if you are looking for the prerelease package it needs to be specified explicitly
      cosmwasm-std = { version = "2.1.0-rc.1" }
  perhaps a crate was updated and forgotten to be re-vendored?

I see two ways of avoiding this:

  1. depend on an older version for the dev-dependency and make sure cargo-release doesn't bump it.
  2. get rid of it completely

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