damp-mouse-24788
06/15/2018, 4:52 PMenough-analyst-54434
06/15/2018, 5:12 PM[python_repos]
repos: [
'/mnt/nfs/cheeseshop',
'<https://internal.server/cheeseshop>',
]
Here I show an example of two internal repos, an NFS mount and an internal web server. You'll probably just want to use one.enough-analyst-54434
06/15/2018, 5:14 PMdamp-mouse-24788
06/15/2018, 5:29 PMdamp-mouse-24788
06/18/2018, 7:53 PM[python-repos]
repos: ['/Users/jagas005/Documents/project/incubator-airflow/dist']
indexes: ['<https://pypi.python.org/simple/>'] and have added python_requirement_library(
name='apache-airflow',
requirements=[
python_requirement(name='apache-airflow',
requirement='apache-airflow==2.0.0.dev0+incubating'),
]) to the build. I do have the egg file in that location but the build fails with ```damp-mouse-24788
06/18/2018, 7:53 PMException message: Could not satisfy all requirements for apache-airflow==2.0.0.dev0+incubating:
apache-airflow==2.0.0.dev0+incubatingdamp-mouse-24788
06/18/2018, 7:53 PMenough-analyst-54434
06/18/2018, 8:05 PM$ ./pants python-setup --help-advanced | grep -A1 resolver-allow-prereleases
--[no-]python-setup-resolver-allow-prereleases (default: None)
Whether to include pre-releases when resolving requirements.
You can set on the command line with ./pants binary --python-setup-resolver-allow-prereleases ....
You can set this in pants.ini with:
[python-setup]
resolver_allow_prereleases: Truedamp-mouse-24788
06/18/2018, 8:12 PMenough-analyst-54434
06/18/2018, 8:14 PMPEX_VERBOSE=5 ./pants ... and paste the full logdamp-mouse-24788
06/18/2018, 8:19 PMdamp-mouse-24788
06/18/2018, 8:19 PM