osmosis-labs / test-tube

Test tube for cosmos-sdk chains integration test, written in Rust!
Apache License 2.0
53 stars 31 forks source link

Conflicting `osmosis-std` versions causing build failure. #38

Closed CyberHoward closed 1 year ago

CyberHoward commented 1 year ago

The current version of test-tube and osmosis-test-tube have conflicting versions for osmosis-std, causing our builds to fail as shown here.

This problem is persistent for most versions we tried.

Can osmosis-std be omitted from test-tube itself?

> cargo tree -i osmosis-std@0.16.2
osmosis-std v0.16.2
└── osmosis-test-tube v16.1.2
    └── cw-orch v0.13.3 (/Users/robin/Programming/Abstract/cw-orch/cw-orch)

> cargo tree -i osmosis-std@0.17.0-rc0
osmosis-std v0.17.0-rc0
└── test-tube v0.1.6
    └── osmosis-test-tube v16.1.2
        └── cw-orch v0.13.3 (/Users/robin/Programming/Abstract/cw-orch/cw-orch)
apollo-sturdy commented 1 year ago

I brought this up to @iboss-ptk in DMs the other day. The version bump of osmosis-std in test-tube should have resulted in a new major version of test-tube. In the mean time you can solve it by specifying exact versions like this:

osmosis-std = "=0.16.1"
test-tube = "=0.1.5"
iboss-ptk commented 1 year ago

I'm thinking of first bumping the version along making osmosis-std dependency optional / feature flagged. Working on it now.