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

Ensure pip modules are caching between builds #24

Open
tylerflint opened this issue Feb 12, 2017 · 3 comments
Open

Ensure pip modules are caching between builds #24

tylerflint opened this issue Feb 12, 2017 · 3 comments

Comments

@tylerflint
Copy link
Contributor

There is some suspicion that pip modules aren't being reserved between runtime builds. This needs to be investigated.

@notxarb
Copy link

notxarb commented Mar 23, 2017

Output from a first run pip install:

  - Running pip install :
    Collecting colorama==0.3.7 (from -r requirements.txt (line 1))
      Downloading colorama-0.3.7-py2.py3-none-any.whl
    Collecting Django==1.10.5 (from -r requirements.txt (line 2))
      Downloading Django-1.10.5-py2.py3-none-any.whl (6.8MB)
        100% |████████████████████████████████| 6.8MB 166kB/s 
    Collecting django-webpack-loader==0.4.1 (from -r requirements.txt (line 3))
      Downloading django_webpack_loader-0.4.1-py2.py3-none-any.whl
    Collecting djangorestframework==3.5.3 (from -r requirements.txt (line 4))
      Downloading djangorestframework-3.5.3-py2.py3-none-any.whl (709kB)
        100% |████████████████████████████████| 716kB 397kB/s 
    Collecting psycopg2==2.6.2 (from -r requirements.txt (line 5))
      Downloading psycopg2-2.6.2.tar.gz (376kB)
        100% |████████████████████████████████| 378kB 553kB/s 
    Collecting pymssql==2.1.3 (from -r requirements.txt (line 6))
      Downloading pymssql-2.1.3.tar.gz (897kB)
        100% |████████████████████████████████| 901kB 788kB/s 
    Collecting pypyodbc==1.3.3.1 (from -r requirements.txt (line 7))
      Downloading pypyodbc-1.3.3.1.zip
      Requested pypyodbc==1.3.3.1 from https://pypi.python.org/packages/5a/04/623370ba35a1e48fd64cdf247bec19495cc3a7f2f2f602a0d48aed80d612/pypyodbc-1.3.3.1.zip#md5=4752bfb7d3574d99b13b6836f755f346 (from -r   requirements.txt (line 7)), but installing version None
    Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 8))
      Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
        100% |████████████████████████████████| 194kB 1.9MB/s 
    Collecting six==1.10.0 (from -r requirements.txt (line 9))
      Downloading six-1.10.0-py2.py3-none-any.whl
    Collecting termcolor==1.1.0 (from -r requirements.txt (line 10))
      Downloading termcolor-1.1.0.tar.gz
    Collecting virtualenv==15.1.0 (from -r requirements.txt (line 11))
      Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
        100% |████████████████████████████████| 1.8MB 402kB/s 
    Collecting setuptools (from pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Downloading setuptools-34.3.2-py2.py3-none-any.whl (389kB)
        100% |████████████████████████████████| 399kB 524kB/s 
    Collecting appdirs>=1.4.0 (from setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Downloading appdirs-1.4.3-py2.py3-none-any.whl
    Collecting packaging>=16.8 (from setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Downloading packaging-16.8-py2.py3-none-any.whl
    Collecting pyparsing (from packaging>=16.8->setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
        100% |████████████████████████████████| 61kB 568kB/s 
    Installing collected packages: colorama, Django, django-webpack-loader, djangorestframework, psycopg2, pymssql, appdirs, pyparsing, six, packaging, setuptools, pypyodbc, python-dateutil, termcolor,   virtualenv
      Running setup.py install for psycopg2 ... done
      Running setup.py install for pymssql ... done
      Running setup.py install for pypyodbc ... done
      Running setup.py install for termcolor ... done
    Successfully installed Django-1.10.5 appdirs-1.4.3 colorama-0.3.7 django-webpack-loader-0.4.1 djangorestframework-3.5.3 packaging-16.8 psycopg2-2.6.2 pymssql-2.1.3 pyparsing-2.2.0 pypyodbc-1.3.3 python-dateutil-2.6.0 setuptools-34.3.2 six-1.10.0 termcolor-1.1.0 virtualenv-15.1.0

Output from pip install after the first:

  - Running pip install :
    Collecting colorama==0.3.7 (from -r requirements.txt (line 1))
      Using cached colorama-0.3.7-py2.py3-none-any.whl
    Collecting Django==1.10.5 (from -r requirements.txt (line 2))
      Using cached Django-1.10.5-py2.py3-none-any.whl
    Collecting django-webpack-loader==0.4.1 (from -r requirements.txt (line 3))
      Using cached django_webpack_loader-0.4.1-py2.py3-none-any.whl
    Collecting djangorestframework==3.5.3 (from -r requirements.txt (line 4))
      Using cached djangorestframework-3.5.3-py2.py3-none-any.whl
    Collecting psycopg2==2.6.2 (from -r requirements.txt (line 5))
      Using cached psycopg2-2.6.2.tar.gz
    Collecting pymssql==2.1.3 (from -r requirements.txt (line 6))
      Using cached pymssql-2.1.3.tar.gz
    Collecting pypyodbc==1.3.3.1 (from -r requirements.txt (line 7))
      Using cached pypyodbc-1.3.3.1.zip
      Requested pypyodbc==1.3.3.1 from https://pypi.python.org/packages/5a/04/623370ba35a1e48fd64cdf247bec19495cc3a7f2f2f602a0d48aed80d612/pypyodbc-1.3.3.1.zip#md5=4752bfb7d3574d99b13b6836f755f346 (from -r   requirements.txt (line 7)), but installing version None
    Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 8))
      Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
    Collecting six==1.10.0 (from -r requirements.txt (line 9))
      Using cached six-1.10.0-py2.py3-none-any.whl
    Collecting termcolor==1.1.0 (from -r requirements.txt (line 10))
      Using cached termcolor-1.1.0.tar.gz
    Collecting virtualenv==15.1.0 (from -r requirements.txt (line 11))
      Using cached virtualenv-15.1.0-py2.py3-none-any.whl
    Collecting setuptools (from pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Using cached setuptools-34.3.2-py2.py3-none-any.whl
    Collecting appdirs>=1.4.0 (from setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Using cached appdirs-1.4.3-py2.py3-none-any.whl
    Collecting packaging>=16.8 (from setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Using cached packaging-16.8-py2.py3-none-any.whl
    Collecting pyparsing (from packaging>=16.8->setuptools->pypyodbc==1.3.3.1->-r requirements.txt (line 7))
      Using cached pyparsing-2.2.0-py2.py3-none-any.whl
    Installing collected packages: colorama, Django, django-webpack-loader, djangorestframework, psycopg2, pymssql, appdirs, pyparsing, six, packaging, setuptools, pypyodbc, python-dateutil, termcolor,   virtualenv
      Running setup.py install for psycopg2 ... done
      Running setup.py install for pymssql ... done
      Running setup.py install for pypyodbc ... done
      Running setup.py install for termcolor ... done
    Successfully installed Django-1.10.5 appdirs-1.4.3 colorama-0.3.7 django-webpack-loader-0.4.1 djangorestframework-3.5.3 packaging-16.8 psycopg2-2.6.2 pymssql-2.1.3 pyparsing-2.2.0 pypyodbc-1.3.3   python-dateutil-2.6.0 setuptools-34.3.2 six-1.10.0 termcolor-1.1.0 virtualenv-15.1.0

please provide the output from nanobox build-runtime -v

@benspaulding
Copy link

I think #43 will handle this, so I just wanted to mention it here so things can be updated or closed as needed.

@hyusetiawan
Copy link

any update on this?

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

No branches or pull requests

4 participants