john-bodley commented on issue #4552: [travis/tox] Restructuring configuration 
and testing
URL: 
https://github.com/apache/incubator-superset/pull/4552#issuecomment-378998654
 
 
   @mistercrunch it would be good to understand how Lyft creates these 
different files (though your hypothesis seems valid). It seems you maybe able 
to achieve this in conjunction with pyenv. I can also explore pipenv, though it 
would need to play well with tox, Travis, etc. 
   
   Also if we went down the virtualenv route one would need to activate it for 
the various services or wrap existing command via pipenv run.
   
   Finally the setup.py/requirements.txt relationship is well defined, in 
essence setup.py should never pin packages but merely provide the list of 
required dependencies, with version restrictions were appropriate. I realize 
that Superset is an application rather than a package, but this allows 
individual instances to configure their Python environment how they see 
appropriate, i.e., a custom plugin may require a different version of 
dependency. The requirements.txt simply provides a deterministic environment 
using package versions which we’ve certified/tested.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to