Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

debian package: symlink to python-3.X #4433

Merged
merged 2 commits into from
Jan 23, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 22, 2019

In the debian package, make the virtualenv symlink python to /usr/bin/python3.X rather than /usr/bin/python3. Also make sure we depend on the right python3.x package.

This might help a bit with subtle failures when people install a package from the wrong distro (#4431).

(aside: this stuff really ought to go into the debian changelog, rather than the main changelog. how hard would it be to make the CI check if debian/changelog is updated when the debian directory is updated, instead of changelog.d?)

In the debian package, make the virtualenv symlink python to /usr/bin/python3.X
rather than /usr/bin/python3. Also make sure we depend on the right python3.x
package.

This might help a bit with subtle failures when people install a package from
the wrong distro (#4431).
@codecov-io
Copy link

Codecov Report

Merging #4433 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #4433   +/-   ##
========================================
  Coverage    73.68%   73.68%           
========================================
  Files          300      300           
  Lines        29703    29703           
  Branches      4882     4882           
========================================
  Hits         21887    21887           
- Misses        6386     6387    +1     
+ Partials      1430     1429    -1

@richvdh richvdh requested a review from a team January 22, 2019 15:50
@erikjohnston
Copy link
Member

My only concern is that if people upgrade/replace their python version things will break? But from the bug it sounds like that would break already?

@richvdh
Copy link
Member Author

richvdh commented Jan 23, 2019

My only concern is that if people upgrade/replace their python version things will break? But from the bug it sounds like that would break already?

Yes it would. Better to make the dependency explicit.

Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

@richvdh richvdh merged commit 2f88881 into develop Jan 23, 2019
@richvdh richvdh deleted the rav/debian_python_dep branch December 1, 2020 12:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants