Erik Sundell
330ac775d3
Add Pipfile + runtime.txt test
2019-04-21 21:46:52 +02:00
Erik Sundell
33970685bd
Add Pipfile + Pipfile.lock BuildPack logic
...
This is the actual meat while most previous commits were tests to verify
that this worked as intented. The tests paid off quickly as this was
quite hard to get working at all.
- We can not use `pipenv shell` inside this script.
- We must use `--system` and therefore `pipenv install` that supports it
rather than `pipenv sync` that doesn.
- We must generate a `Pipfile.lock` if there are none.
- We must use `--ignore-pipfile` and `--deploy` on the `pipenv install`
command in order to mimic how a `pipenv sync` would have worked.
2019-04-21 17:37:14 +02:00
Erik Sundell
97c26641c3
Optimize Pipfile + environment.yml test
...
Why install a big package when we can install a trivial one?
2019-04-21 17:34:29 +02:00
Erik Sundell
e107360d97
Improve Pipfile + requirements.txt test
...
Previously we did not check that requirements.txt was ignored properly,
now we do.
2019-04-21 17:33:44 +02:00
Erik Sundell
d019f4980a
Clarify Pipfile + Pipfile.lock test
2019-04-21 17:32:46 +02:00
Erik Sundell
a59e169e2f
Fix the Pipfile + setup.py tests
...
Apparently testing to import the package will work no matter what as we
will find it locally so setup.py may not need to run. By adding a small
dependency I could check if the dependency is installed and now the
tests actually tests what they should.
2019-04-21 17:30:36 +02:00
Erik Sundell
d9e58c2634
Fix test description
2019-04-21 14:59:38 +02:00
Erik Sundell
d8cfc50c50
Add test for Pipfile + Pipfile.lock
...
We want to use the more specific version, Pipfile.lock, if it is
available. Are we ignoring the Pipfile if it is, as we should?
2019-04-21 14:55:00 +02:00
Erik Sundell
dff18e840d
Add test for Pipfile + setup.py
...
We want to ignore the setup.py file if it is around along with a
Pipfile.
2019-04-21 14:53:05 +02:00
Erik Sundell
4b74a13364
Rethink setup.py with Pipfile
...
As setup.py can be explicitly installed or not from a Pipfile I reasoned
that it should not be installed by default after pipenv has used
relevant Pipfiles.
2019-04-21 14:51:11 +02:00
Erik Sundell
c5dd7c8e45
Update .gitignore to avoid pytest scrap
2019-04-21 14:48:13 +02:00
Erik Sundell
f995a995a9
Add Pipfile vs requirements.txt logic
2019-04-21 11:30:50 +02:00
Erik Sundell
301d1524cb
Add Pipfile's to PythonBuildPack's detect()
2019-04-21 11:12:50 +02:00
Erik Sundell
4c69bf1dfd
Add tests for Pipenv
2019-04-21 01:06:37 +02:00
Erik Sundell
5df7a3628c
Document pipfile(.lock) as an option
2019-04-21 00:30:11 +02:00
Tim Head
843b7a5e30
Unpin pip again
2019-04-16 21:49:37 +02:00
Yuvi Panda
746e4d92e0
Merge pull request #646 from betatim/fix-server-proxy
...
[MRG] Fix up the server proxy package to get websockets back
2019-04-15 15:09:07 -07:00
Tim Head
bfa26bdf42
Fix up the server proxy package to get websockets back
2019-04-15 22:58:38 +02:00
Tim Head
0fb6797783
Merge pull request #642 from jupyter/choldgraf-patch-1
...
mentioning s2i in faq
2019-04-12 22:59:23 +02:00
Chris Holdgraf
2db2f4683c
mentioning s2i in faq
2019-04-12 11:46:13 -07:00
Lindsey Heagy
f936cf566c
Merge pull request #640 from betatim/fix-spinx-deprecation
...
[MRG] Fix sphinx deprecation for recommonmark
2019-04-09 18:34:23 -07:00
Min RK
89fb7a8cf9
Merge pull request #638 from betatim/just-delete-it
...
[MRG] Remove conda download cache explicitly
2019-04-09 09:04:37 +02:00
Tim Head
9bcc41af82
Merge pull request #641 from betatim/changes-changes-changes
...
[MRG] Update change log
2019-04-08 16:45:30 +02:00
Tim Head
f4e3754434
Update change log
2019-04-08 16:43:49 +02:00
Tim Head
f3c7bf7169
Merge pull request #639 from djhoese/git-update-submodules-alimanfoo-20181224-merry-xmas
...
[MRG] Ensure git submodules are updated and initialized
2019-04-08 16:38:45 +02:00
David Hoese
ec6973c5fd
Fix git submodule test sha comparison
2019-04-08 08:26:44 -05:00
David Hoese
4bd1d23469
Add tests for git submodule handling
2019-04-08 08:09:23 -05:00
Alistair Miles
62005f6f15
ensure git submodules are updated and initialised
2019-04-08 08:09:19 -05:00
Tim Head
cbb375e156
Black-ify the sphinx configuration code
2019-04-08 07:52:25 +02:00
Tim Head
da9f8de0e3
Update recommonmark ocnfiguration
...
In new versions of SPhinx the way we were configuring the recommonmark
extension has become deprecated. This switches us to the new way of
configuring it.
2019-04-08 07:51:30 +02:00
Tim Head
405a0f6bbb
Remove conda download cache explicitly
2019-04-04 23:04:37 +02:00
Joseph Hamman
f9620edd8e
freeze versions
2019-04-04 13:35:12 -07:00
Joseph Hamman
bf3d0c133c
fallback to 4.6.10
2019-04-04 12:29:34 -07:00
Joseph Hamman
a3d4f95de0
changelog addition
2019-04-04 11:54:33 -07:00
Joseph Hamman
7e75f9f915
update checksum for conda installer
2019-04-04 11:36:54 -07:00
Joseph Hamman
fb335af9b3
bump miniconda and conda versions
2019-04-04 11:32:50 -07:00
Min RK
8d8c21e55e
Merge pull request #631 from jtpio/docs-default-py37
...
[MRG] Python 3.7 as the default in the docs
2019-03-29 16:01:44 +01:00
Min RK
d889653542
Merge pull request #633 from betatim/fix-debian-build
...
[MRG] Update the source links used by the legacy buildpack
2019-03-29 16:01:18 +01:00
Tim Head
03bea07334
Update the source links used by the legacy buildpack
...
Debian Jessie is now "archived" so we need to update the links to the
sources.
2019-03-29 09:40:10 +01:00
Tim Head
053a623f13
Merge pull request #612 from davidanthoff/change-julia-env-handling
...
Use JULIA_PROJECT env variable to activate julia env
2019-03-29 07:58:01 +01:00
Jeremy Tuloup
177ee4b650
Python 3.7 as default in the docs
2019-03-27 21:54:50 +01:00
Tim Head
f18835fd06
Merge pull request #628 from betatim/bump-notebook2
...
[MRG] Bump notebook package version
2019-03-24 08:09:34 +01:00
Tim Head
649225166a
Update test of editable flag
...
For some reason the notebook server doesn't exit when we send the
SIGTERM signal to the container and as a result waiting for the
container to shutdown leads to an exit code of 137 (the notebook server
gets kill by SIGKILL).
2019-03-23 22:07:36 +01:00
Tim Head
4a9f4a5594
Simplify relative path handling
2019-03-23 19:07:01 +01:00
Tim Head
3e1863cd0a
Add auto-generated frozen dependency files
2019-03-23 19:07:01 +01:00
Tim Head
4e8b1f9e74
Update default packages
2019-03-23 18:01:16 +01:00
Tim Head
50627eb520
Change path handling in the freeze.py script
2019-03-23 17:46:33 +01:00
David Anthoff
787afc43ea
Add some code documentation
2019-03-21 12:55:34 -07:00
David Anthoff
65d4e6c034
Update changelog
2019-03-21 12:55:19 -07:00
David Anthoff
7105a8a3ef
Merge branch 'master' into change-julia-env-handling
2019-03-21 12:49:17 -07:00