Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdeb seems to be adding too many Python dependencies #49

Closed
bmhatfield opened this issue Aug 20, 2012 · 6 comments
Closed

stdeb seems to be adding too many Python dependencies #49

bmhatfield opened this issue Aug 20, 2012 · 6 comments

Comments

@bmhatfield
Copy link

Built on a recent Ubuntu, stdeb is adding a false dependency on Python 2.7 to a build I am running, even when I override it via XS-Python-Version:

Depends: python2.7 | python2.6, python (>= 2.7.1-0ubuntu2), python (<< 2.8)

How do I tell stdeb not to include the system version of Python as a dependency?

@wITTus
Copy link

wITTus commented May 6, 2013

I just had the same problem. Did you find an answer?

@dbarnett
Copy link

I think I'm having the same problem. No matter what I've tried, my debian/$pkgname.substvars file has
python3:Depends=python3, python3:any (>= 3.3.2-2~)
which makes my package unusable for systems that only have python 3.2. I've tried setting Depends3, X-Python3-Version, and XS-Python3-Version. I have python 3.2 installed on the host system and I don't understand where the ">= 3.3.2-2~" is coming from.

Can someone help?

@dbarnett
Copy link

This StackOverflow question seems to be asking the same thing: http://stackoverflow.com/q/16404530/307705

@astraw
Copy link
Owner

astraw commented Oct 25, 2014

For your Python 3 issue, this is exactly the same thing we're discussing at #83 . In short, it is added by the Debian machinery on your build machine and stdeb can only workaround with some ugliness. I plan to merge that pull request after verifying it works for me. Can you send me what versions of Debian/Ubuntu you're building and testing on and what package you're trying with so I can verify the patch's generality?

@dbarnett
Copy link

Oh, thanks. Missed that one.

I'd like to build https://github.com/google/vroom for Ubuntu 12.04 from a Ubuntu 14.04 system. Travis CI uses 12.04 environments and I'm seeing these errors for the packages I'm currently building:

dpkg: dependency problems prevent configuration of vroom:
 vroom depends on python3:any (>= 3.3.2-2~); however:
  Version of python3 on system is 3.2.3-0ubuntu1.2.

@dirk-thomas
Copy link
Collaborator

Closing due to age.

Please feel free to comment if this is still a problem and the ticket can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants