Changes between Initial Version and Version 1 of Ticket #2077, comment 19


Ignore:
Timestamp:
2015-10-29T01:07:23Z (8 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2077, comment 19

    initial v1  
    1717* The file that the user downloads must contain only source; no binary blobs. It's acceptable for precompiled binaries of dependencies to be downloaded from other sites over https. Ideally this download would be separable from build or install, although `python setup.py build` should download dependencies by default. (There may be a different download that includes all dependencies, but that is a "nice to have", not a required feature.)
    1818
    19 8. We don't trust `pkg_resources` to correctly set up a `sys.path` that will result in importing the versions of dependencies asked for in `setup_requires` (there are several known cases where it doesn't, and these are ''not'' only associated with the use of eggs, nor are they easily fixable given the variety of ways in which dependent packages may have been installed on a user's system). To work around this problem, we explicitly check the versions that were actually imported. We do this in a way that does not involve duplicating information about version requirements in multiple places, and we would not want to lose that property.
     198. We don't trust `pkg_resources` to correctly set up a `sys.path` that will result in importing the versions of dependencies asked for in ~~setup_requires~~ install_requires (there are several known cases where it doesn't, and these are ''not'' only associated with the use of eggs, nor are they easily fixable given the variety of ways in which dependent packages may have been installed on a user's system). To work around this problem, we explicitly check the versions that were actually imported. We do this in a way that does not involve duplicating information about version requirements in multiple places, and we would not want to lose that property.