dependency-management

Remove transitive classpath dependency in gradle

吃可爱长大的小学妹 提交于 2020-08-24 06:25:41
问题 we're running a spring-boot app with gradle. In order to include the spring-boot plugin we add it as dependency: buildscript { dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.2.RELEASE") } } Unfortunately this plugin ships with a dependency to org.apache.logging.log4j:log4j-slf4j-impl:2.4.1 Which I'd like to exclude. Already tried that by adding: dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.2.RELEASE") { exclude group: 'org

How does PIP determine the version of a dependency of multiple dependents

最后都变了- 提交于 2020-07-31 03:46:27
问题 Let's assume we have the following dependency tree in Python using PIP as package installer: A==1.2.1: | - B==1.5.4 | - C==?.?.? D==1.3.0: | - C==?.?.? Let's also assume that the existing versions of package C are the followings: - 0.0.8 - 1.0.2 As we know, PIP will not install different versions of the same package into an environment. Which means it has to pick one suitable version for all dependents. What I simply cannot understand how PIP determines the suitable version. If package A

How does PIP determine the version of a dependency of multiple dependents

99封情书 提交于 2020-07-31 03:46:27
问题 Let's assume we have the following dependency tree in Python using PIP as package installer: A==1.2.1: | - B==1.5.4 | - C==?.?.? D==1.3.0: | - C==?.?.? Let's also assume that the existing versions of package C are the followings: - 0.0.8 - 1.0.2 As we know, PIP will not install different versions of the same package into an environment. Which means it has to pick one suitable version for all dependents. What I simply cannot understand how PIP determines the suitable version. If package A

How To Handle Shared Library Version Bump In a Multi Repo?

有些话、适合烂在心里 提交于 2020-07-23 06:35:15
问题 Little context - today I have a monolith application that I am planning to split into micro-services due to it's growth and the need to partial re-deployments. I'm designing a development process where I have a number micro-services in a multi repo environment (All written in python). There is a one "Foundation" repository that stores ~30 different packages of shared code. Each micro-service is stored in a different repo. The plan to share the code is using a package manager ("private" PyPi)

How To Handle Shared Library Version Bump In a Multi Repo?

随声附和 提交于 2020-07-23 06:33:32
问题 Little context - today I have a monolith application that I am planning to split into micro-services due to it's growth and the need to partial re-deployments. I'm designing a development process where I have a number micro-services in a multi repo environment (All written in python). There is a one "Foundation" repository that stores ~30 different packages of shared code. Each micro-service is stored in a different repo. The plan to share the code is using a package manager ("private" PyPi)

Dependency issue with Pyspark running on Kubernetes using spark-on-k8s-operator

半世苍凉 提交于 2020-07-05 10:11:07
问题 I have spent days now trying to figure out a dependency issue I'm experiencing with (Py)Spark running on Kubernetes. I'm using the spark-on-k8s-operator and Spark's Google Cloud connector. When I try to submit my spark job without a dependency using sparkctl create sparkjob.yaml ... with below .yaml file, it works like a charm. apiVersion: "sparkoperator.k8s.io/v1beta2" kind: SparkApplication metadata: name: spark-job namespace: my-namespace spec: type: Python pythonVersion: "3" hadoopConf:

Is it possible to add a local dependency to .podspec file?

生来就可爱ヽ(ⅴ<●) 提交于 2020-07-04 06:58:32
问题 I'm using cocoapods now I would like to add a local pod dependency in my project, something like: s.dependency = 'my pod', :path => '' but I think is not possibile, some ideas? 回答1: I have faced with the same issue and after lot of googling and asking on the CocoaPods github I have finally found the suitable answer. It's not possible to set a local pod as a dependency, but it's possible to set a pod's source for a specific Podfile, which will work the same way. E.g., in your podspec, you

What is the best way to authomatically update project dependecnies

独自空忆成欢 提交于 2020-06-17 09:43:15
问题 I want some of my dependencies to be up-to-date and I want to make sure whenever there is a new version of my dependencies, my project uses the last version of that dependencies. I want to run a job in my Continuous Integration pipeline in order to update my dependencies and run all test in my project to make sure nothing bad happened during update. It can help us to overcome security vulnerabilities sooner And make changes to my project continuously. 回答1: Fortunately after a lot of search

Xamarin bug happens when linker is set to “Link All”. Can't use DependencyService

帅比萌擦擦* 提交于 2020-06-17 03:42:11
问题 Right now, I have to have my linker set to "Link All" in order to submit to the App Store because of the deprecated UIWebView. While doing this, I had to add [Preserve(AllMembers = true)] to my DataStores to make them work this way, but then I ran into this issue. The following line will return null: var dp = DependencyService.Get<ITextMeter>(); After looking into the solution, it seemed the best answer would be to add the following line into the AppDelegate: DependencyService.Register