Skip to content
Advertisement

Tag: dependencies

How to impose order on fixtures in pytest?

I am trying to use pytest-dependency to make fixtures happen in order, regardless of how they are named, and regardless of the order in which they appear in a test’s argument list. The reason I need this, is to create fixtures that require initializations, that depend on other fixtures that require initializations, and they must happen in order. I have

Install conan package without requirements?

Is there a possibility to install a conan package without requirements? I build a metapackage, which only contains some configurations and depends on other binary packages in the requires section. Now I want to access only the configurations w/out downloading all dependencies, Is there a possibility to do so? conan download downloads a package, but won’t install it, e.g. there

How can I specify requirements for development separately from actual application dependencies? In a Python project and in general?

We have dependencies required for local development that we’d like to specify in our project for the sake of other developers. These dependencies are not actually required by the application though. In python we specify dependencies that the app need in a requirements.txt. What is the best practice for specifying/pinning development specific (not required by the app) dependencies and packages?

Advertisement