Questions tagged [multiple-versions]

139 questions
474
votes
21 answers

Mac OS X and multiple Java versions

How can I install an additional java on MacOS? I installed jdk8 and that works fine. But now I need a jdk7 installation for development purposes. When trying to install the old version via DMG file, i get a warning, that there is already a newer…
Dakkar
  • 5,682
  • 5
  • 22
  • 28
405
votes
4 answers

How to pip install a package with min and max version range?

I'm wondering if there's any way to tell pip, specifically in a requirements file, to install a package with both a minimum version (pip install package>=0.2) and a maximum version which should never be installed (theoretical api: pip install…
coredumperror
  • 8,471
  • 6
  • 33
  • 42
107
votes
6 answers

Git log between tags

I'm trying to output the log between two tagged commits. mbell@cheetah [12:07:22] [/var/www/html/brone] [dev] -> % git tag…
digital
  • 2,079
  • 3
  • 25
  • 35
76
votes
4 answers

Bower: Install 2 versions of jQuery

How would I go about installing 2 versions of jQuery using bower? I want to have v2.0 as well as 1.9.1 for browser support fallback The issue I'm having is that if you run bower install jquery#1.9.1 jquery#2.0.0 the first version gets overwritten…
Adam Coulombe
  • 1,505
  • 1
  • 11
  • 11
68
votes
3 answers

Using different versions of the same assembly in the same folder

I have the following situation Project A - Uses Castle Windsor v2.2 - Uses Project B via WindsorContainer Project B - Uses NHibernate - Uses Castle Windsor v2.1 In the bin folder of Project A I have the dll Castle.DynamicProxy2.dll v2.2 and…
Hemanshu Bhojak
  • 16,972
  • 16
  • 49
  • 64
26
votes
1 answer

Git - Same file with different versions on two branches, when merge do not want to overwrite

We have two branches -- 'master' and 'release' And we have one file, like fileA, we want to keep different version on these two branches. But each time, we have to merge 'release' into 'master', how can we achieve, the fileA in 'master' will not be…
LongYang0806
  • 835
  • 1
  • 8
  • 9
24
votes
5 answers

Tell Apache to use a specific PHP version installed using phpbrew

I had the PHP, MySQL, and Apache stack installed for development. That installation is using configuration files from: /etc/apache2/ /etc/php5/ Later I installed multiple PHP version using phpbrew. All versions are accessible and switchable from…
Vinay Aggarwal
  • 1,565
  • 1
  • 10
  • 19
19
votes
3 answers

Best practices for Python deployment -- multiple versions, standard install locations, packaging tools etc

Many posts on different aspects of this question but I haven't seen a post that brings it all together. First a subjective statement: it seems like the simplicity we experience when working with the Python language is shot to pieces when we move…
Chris Johnson
  • 20,650
  • 6
  • 81
  • 80
19
votes
3 answers

Loading multiple versions of the same assembly

I'm working with a third-party assembly and unfortunately I now need to load their latest and a previous version into my project so at runtime I can decide which one to load. I only ever need one, not both. With this in mind, I am also dependent…
GT.
  • 545
  • 1
  • 8
  • 18
18
votes
6 answers

How should I install more than one version of Perl?

I want to install, from source, Perl versions 5.005, v5.6, v5.8, v5.10 Right now I have 'v5.10.0' installed. /opt/perl/bin /opt/perl/html /opt/perl/lib /opt/perl/man /opt/perl/lib/5.10.0 /opt/perl/lib/site_perl /opt/perl/lib/site_perl/5.10.0 Will…
Brad Gilbert
  • 33,846
  • 11
  • 78
  • 129
16
votes
2 answers

Different package versions for Android and iOS

I am developing an app for both Android and iOS using React Native. One of the libraries I'm using is a bit problematic because the app only compiles correctly: ...on Android when using "react-native": "0.42.0". ...on iOS when using…
Dev-iL
  • 23,742
  • 7
  • 57
  • 99
14
votes
1 answer

Gradle multiple versions OF GRADLE

For the sake of clarity: this is NOT about multiple versions of dependencies, it's about multiple versions of Gradle's own jars. I thought this might have the answer... but there aren't any! This is Gradle 2.14, with a Windows 10 OS. I found that…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
10
votes
8 answers

How to maintain long-lived python projects w.r.t. dependencies and python versions?

short version: how can I get rid of the multiple-versions-of-python nightmare ? long version: over the years, I've used several versions of python, and what is worse, several extensions to python (e.g. pygame, pylab, wxPython...). Each time it was…
Gyom
  • 3,773
  • 5
  • 29
  • 38
9
votes
1 answer

closed source library includes boost distribution

I'm using a closed source library (by Activ financial) that includes with their API a boost distribution, both some boost header files and boost library files. I also use Boost in my existing codebase, and I need to use Activ from my existing…
Scott
  • 1,176
  • 2
  • 13
  • 19
9
votes
6 answers

Supporting different versions of Python

This subject has been disturbing me for some time. For my Python project I wanted to be able to support Python versions 2.4 to 3.1. I thought a bit about how to do this, and eventually decided to have four separate forks of the source code for four…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
1
2 3
9 10