9 Matching Annotations
  1. Oct 2020
    1. Is the project receiving any financial support from the USG? How is this information disclosed? Is the project receiving any other financial support? How is this information disclosed? Can we discuss the project with existing financial supporters?

      This is my third annotation

    1. pip also supports credentials
      When globally installed packages are on the python path, and they conflict with the installation requirements, they are ignored, and not uninstalled.
      
      When globally installed packages are on the python path, and they satisfy the installation requirements, pip does nothing, and reports that requirement is satisfied (similar to how global packages can satisfy requirements when installing packages in a --system-site-packages virtualenv).
      
      pip will not perform a --user install in a --no-site-packages virtualenv (i.e. the default kind of virtualenv), due to the user site not being on the python path. The installation would be pointless.
      
      In a --system-site-packages virtualenv, pip will not install a package that conflicts with a package in the virtualenv site-packages. The --user installation would lack sys.path precedence and be pointless.
      

      To make the rules clearer, here are some examples:

      From within a --no-site-packages virtualenv (i.e. the default kind):

    2. If no credentials are part of the URL, pip will attempt to get authentication credentials for the URL’s hostname from the user’s .netrc file. This behaviour comes from the underlying use of requests which in turn delegates it to the Python standard library. The .netrc file contains login and initialization information used by the auto-login process. It resides in the user’s home directory. The .netrc file format is simple. You specify lines with a machine name and follow that with lines for the login and password that are associated with that machine. Machine name is the hostname in your URL. An example .netrc for the host example.com with a user named ‘daniel’, using the password ‘qwerty’ would look like:

      If no credentials are part of the URL, pip will attempt to get authentication credentials for the URL’s hostname from the user’s .netrc file. This behaviour comes from the underlying use of requests which in turn delegates it to the Python standard library.

      The .netrc file contains login and initialization information used by the auto-login process. It resides in the user’s home directory. The .netrc file format is simple. You specify lines with a machine name and follow that with lines for the login and password that are associated with that machine. Machine name is the hostname in your URL.

      An example .netrc for the host example.com with a user named ‘daniel’, using the password ‘qwerty’ would look like: