[Bug 1308714] Re: sudo pip install installs into the system dist-packages by default

2017-08-22 Thread j00bar
More information on https://bugs.launchpad.net/ubuntu/+source/python-
pip/+bug/1694560

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1308714

Title:
  sudo pip install installs into the system dist-packages by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1308714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1694560] Re: pip installs to /usr/lib/python-x.y/site-packages if PYTHONUSERBASE is set

2017-06-02 Thread j00bar
Based on this comment: https://bugs.launchpad.net/ubuntu/+source/python-
pip/+bug/1308714/comments/8 this seems related to #1308714.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694560

Title:
  pip installs to /usr/lib/python-x.y/site-packages if PYTHONUSERBASE is
  set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1694560/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1694560] [NEW] pip installs to /usr/lib/python-x.y/site-packages if PYTHONUSERBASE is set

2017-05-30 Thread j00bar
Public bug reported:

If the environment variables PYTHONUSERBASE is set, regardless of what
it's set to, pip3 will install packages to /usr/lib/python-x.y/site-
packages, which isn't in the interpreter's default search path.

Big-Kahuna:~ jginsberg$ docker run -it --rm=true ubuntu:xenial bash
root@5fd4377b5952:/# apt-get update && apt-get -y install python3 python3-pip
(... snip ...)
root@5fd4377b5952:/# pip3 install django
Collecting django
  Downloading Django-1.11.1-py2.py3-none-any.whl (6.9MB)
100% || 7.0MB 262kB/s 
Collecting pytz (from django)
  Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
100% || 491kB 3.2MB/s 
Installing collected packages: pytz, django
Successfully installed django-1.11.1 pytz-2017.2
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@5fd4377b5952:/# find . -type d -name django
./usr/local/lib/python3.5/dist-packages/django
./usr/local/lib/python3.5/dist-packages/django/forms/jinja2/django
./usr/local/lib/python3.5/dist-packages/django/forms/templates/django
root@5fd4377b5952:/# exit
Big-Kahuna:~ jginsberg$ docker run -it --rm=true ubuntu:xenial bash
root@446d9529fb6c:/# export PYTHONUSERBASE=/yourmom
root@446d9529fb6c:/# apt-get update && apt-get -y install python3 python3-pip
(... snip ...)
root@446d9529fb6c:/# pip3 install Django
Collecting Django
  Downloading Django-1.11.1-py2.py3-none-any.whl (6.9MB)
100% || 7.0MB 240kB/s 
Collecting pytz (from Django)
  Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
100% || 491kB 1.3MB/s 
Installing collected packages: pytz, Django
Successfully installed Django pytz
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@446d9529fb6c:/# find . -type d -name django
./usr/lib/python3.5/site-packages/django
./usr/lib/python3.5/site-packages/django/forms/jinja2/django
./usr/lib/python3.5/site-packages/django/forms/templates/django
root@446d9529fb6c:/#

** Affects: python-pip (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694560

Title:
  pip installs to /usr/lib/python-x.y/site-packages if PYTHONUSERBASE is
  set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1694560/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 666363] [NEW] unixodbc should not require x11

2010-10-25 Thread j00bar
Public bug reported:

Binary package hint: unixodbc

# apt-get install unixodbc unixodbc-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  autotools-dev fontconfig fontconfig-config libaudio2 libfontconfig1
  libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libice6 libltdl-dev libltdl7
  libmng1 libodbcinstq1c2 libqt3-mt libsm6 libtool libxcursor1 libxdamage1
  libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxrandr2 libxrender1 libxt6
  libxxf86vm1 odbcinst odbcinst1debian1 ttf-dejavu-core
Suggested packages:
  defoma nas libglide3 libtool-doc libqt3-mt-psql libqt3-mt-mysql
  libqt3-mt-odbc autoconf automaken gfortran fortran95-compiler gcj libmyodbc
  odbc-postgresql tdsodbc unixodbc-bin libqt3-mt-dev
The following NEW packages will be installed:
  autotools-dev fontconfig fontconfig-config libaudio2 libfontconfig1
  libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libice6 libltdl-dev libltdl7
  libmng1 libodbcinstq1c2 libqt3-mt libsm6 libtool libxcursor1 libxdamage1
  libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxrandr2 libxrender1 libxt6
  libxxf86vm1 odbcinst odbcinst1debian1 ttf-dejavu-core unixodbc unixodbc-dev
0 upgraded, 32 newly installed, 0 to remove and 48 not upgraded.
Need to get 12.0MB of archives.
After this operation, 63.1MB of additional disk space will be used.
Do you want to continue [Y/n]? 

It seems fairly ridiculous that a database connectivity layer should
depend on having X11 and QT. Whatever it is that's creating that
dependency ought to be split off into a separate package.

-jag

** Affects: unixodbc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
unixodbc should not require x11
https://bugs.launchpad.net/bugs/666363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs