Giter VIP home page Giter VIP logo

conan1-transitive-override-bug's Introduction

Introduction

This Repo demonstrates a bug found in conan1 version >=1.47 (tested with 1.47 and 1.60). The bug is caused by diamond dependency variation, where the root downstream package overrides an upstream dependency, which is requried transitive by other packages as well but in a lower version.

The follwing diagram illustrates the dependency graph:

image

Reproduction

In order to reproduce the bug, you need to run the build.sh script in the root of this repository.

In the end you should recieve the following error message:

WARN: libc/0.1: requirement liba/0.1 overridden by libd/0.1 to liba/1.0
ERROR: libb/0.1: requirement liba/0.1 overridden by libc/0.1 to liba/1.0

Remarks

The error does not occure, when liba is not set explicitley as an requirement of libc but retrieved implicit through libb. It also does not occure when override=True is added to the requires statement of liba in libc. This bug seems to be no solved in conan2.

conan1-transitive-override-bug's People

Watchers

Nico Schmidt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.