Skip to main content

Questions tagged [dependency-management]

The tag has no usage guidance.

1 vote
1 answer
136 views

How should projects that interact with or depend upon external binaries handle version specific failures?

I have encountered this scenario twice recently, in two different projects and languages: A python project defined an is_interactive() function that used os.isatty() to know whether it could actively ...
Rob's user avatar
  • 380
2 votes
4 answers
218 views

How to avoid circular dependency in my scenario?

For example, I have a Business Intelligence (BI) microservice, it reads data from other microservices, and displays the data as a bar chart or some other styles. My problem is, the BI microservice ...
NingLee's user avatar
  • 230
0 votes
1 answer
115 views

Validation logic dependencies and separation of concerns

I am going back and forth on an aspect of our FluentValidation and MediatR pipeline behavior implementation. We receive requests which, in a Mediator pattern, are mapped to command or query objects, ...
BJ Safdie's user avatar
  • 103
7 votes
1 answer
1k views

Matching dependency versions across multiple Python projects

I have about 60 repos containing Python packages, currently using setuptools in a setup.py (run via pip install) to manage third-party dependencies. Most of these packages need to be installed on a ...
Jason C's user avatar
  • 465
7 votes
3 answers
2k views

Writing a separate package vs copy pasting small amount of reused code

I have two npm packages that build on top of our core software platform. Their core functionality is mostly different, except for how they serialize data. This is and will predictably stay identical ...
Ahri's user avatar
  • 279
1 vote
3 answers
1k views

How to handle dependencies between microservices all called within one large service

We are working on a suite of Python 'services' each of which is basically an application that does some calculations based on a domain (data) model and returns the results. These services are designed ...
Mathias A.'s user avatar
1 vote
2 answers
265 views

Standard Maven approach for large, non-Java dependencies needed for build?

I'm interested in modernizing an existing codebase for a commercial software package written in Java, in part by moving it to Maven. The primary motivator here is to shrink our git repo, which is ...
AgentOddball's user avatar
1 vote
2 answers
556 views

Where to put technical updates in git branching flow?

From time to time you need to do technical updates, like: Update versions of your dependencies Update the version of your parent POM, you build tool etc. Leave out those updates that have a firm ...
J Fabian Meier's user avatar
1 vote
4 answers
149 views

Build systems/development environments allowing alternate/backup dependencies

In most build systems and development environments, there tends to be exactly one dependency tree per project - each module depends on a constant set of other modules to do its job, with the only ...
TheHans255's user avatar
0 votes
1 answer
63 views

Design class with different dependency requirements based on configuration

I’m struggling a bit to design the following class: It’s a service class with multiple methods. It depends on a http client interface which must be created in the factory method and can’t be passed ...
user avatar
0 votes
2 answers
343 views

Use deprecated library or copy the code I need from it into my codebase?

I need some code from some deprecated libraries, one small class (150 lines) and two functions (24 lines). The libraries are part of larger set that we use a couple of but both are being deprecated. ...
cactus's user avatar
  • 111
2 votes
1 answer
185 views

What is the relation between edges in a dependency graph and the program call to create a vertex?

A Makefile is a representation of a depency graph. The files are the vertices, for example somefunctions.h, somefunctions.c and myprogram.c are the "input" vertices (is there a formal word ...
Psirus's user avatar
  • 147
1 vote
1 answer
157 views

Should I stub hidden dependencies in Python unit tests

Python is very specific language which gives developer huge flexibility. So if I have class like this: class Car: def __init__(self, engine: Engine): self._engine = engine # dependency ...
Qback's user avatar
  • 231
2 votes
1 answer
438 views

Is there a convenient way to include only a particular snapshot of a git repository inside another project?

Update: I think I may have found one possible solution for this question: git worktree. I'll have to investigate its exact workings a bit more, because I'm not entirely sure yet if it can do what I ...
Codifier's user avatar
  • 171
-3 votes
1 answer
716 views

how to manage build and deployments from Multi repos using versions

Consider you have two repos A, B. Let say repo A has some infrastructure code - not needed to be updated always- but it has the code for the service we want to deploy as infra. On the other hand, ...
Mulder's user avatar
  • 17

15 30 50 per page
1
2 3 4 5
9