pre-commit-ci[bot]
f2c1cb7a8c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-05 20:28:56 +00:00
Yuvi Panda
b52ea663ac
Merge pull request #1248 from minrk/memoize-getters
...
avoid duplicate log statements by memoizing getters
2023-03-28 20:49:13 +05:30
Min RK
70a2de4e12
@lru_cache requires Python 3.8, use older @lru_cache()
2023-03-23 16:00:23 +01:00
Min RK
1e1d6ac20f
memoize all getters explicitly
...
rather than automatically
2023-03-23 15:58:27 +01:00
Min RK
66b8765c69
Remove unspecified Python version case
...
- removes lockfile copies without version
- enforces that `buildpack.python_version` is always specified (major_pythons['3'] in cases where it could have been falsy before)
- warns when Python version is unspecified, which ensures future reproducibility failures
2023-02-17 13:00:27 +01:00
Min RK
b8c76448a3
generalize separate kernel environment from server for old Python
...
replaces `.py2` special-case with a general `separate_kernel_env` flag,
currently triggered by requesting Python < 3.7.
Python 3.6 and 3.5 are now treated as Python 2.7
2023-02-03 15:27:07 +01:00
pre-commit-ci[bot]
27c2b403db
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
Erik Sundell
15a1fb6e2d
refactor: manually add transitions to f-strings
2022-10-31 21:22:32 +01:00
pre-commit-ci[bot]
5a93542321
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
paugier
fadb3c8dc8
Bump Black version (20.8b1) and use --target-version=py36
2020-09-10 08:11:29 +02:00
GeorgianaElena
95fd0e5b81
Don't change file encoding
2019-08-29 15:13:33 +03:00
GeorgianaElena
3752fa1868
Added function to handle different file encodings
2019-08-28 16:25:12 +03:00
Min RK
3da5543bfc
check for local pip requirements in conda environments
2019-07-18 14:39:35 +02:00
Min RK
d6e66c886d
preassemble python
2019-07-16 15:52:39 +02:00
Min RK
b6ab2a9986
check requirements.txt for local references
...
allows assemble_from_subset when requirements.txt doesn't contain any local references
2019-07-16 07:56:11 +02:00
Tim Head
8b004e06dc
Apply auto formatting
...
Apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-06-03 21:37:25 +02:00
Joseph Hamman
c230c70f4e
support for .binder directory
2019-04-27 17:01:20 -07:00
Tim Head
843b7a5e30
Unpin pip again
2019-04-16 21:49:37 +02:00
Maksim Rakitin
38422f1aa7
FIX: a temporary workaround for pip-19.0.1 issues
2019-02-07 15:16:30 -05:00
Tim Head
0ef79326e5
Escape environment variable when using Python string formatting
2018-08-18 12:50:31 +02:00
Min RK
69a116a07f
handle runtime not being Python in Python BuildPack
...
because R buildpack subclasses the Python buildpack,
where runtime.txt should be ignored for retrieving the Python version
2018-04-18 12:40:04 +02:00
Min RK
6d12d2d807
always use $KERNEL_PYTHON_PREFIX/bin/pip
...
it's always defined and always right for the pip for the kernel env,
whether it's separate from the notebook or not.
2018-04-16 16:58:01 +02:00
Min RK
211a6978c6
clarify comments about requirements3.txt
2018-04-16 16:58:01 +02:00
Min RK
647d04cbc8
Fix detect docstring for Python
...
since it's not just about Python 3 anymore
2018-04-16 10:57:42 +02:00
Min RK
6b15b01fbd
inherit PythonBuildPack from conda buildpack
...
- sets up base env with conda
- installs packages with pip
- eliminates duplicate frozen envs for pip
- py3/py2 split happens in one class, not separate classes
2018-04-16 10:56:39 +02:00
Chris Holdgraf
02970c8413
Merge pull request #289 from GladysNalvarte/setup.py
...
Support setup.py in Python buildpacks
2018-04-14 15:53:42 -07:00
Gladys Nalvarte
9394393f7c
Improve the error message for unsupported python2
2018-04-11 10:33:21 +02:00
Gladys Nalvarte
5f702d6983
Corrects __init__.py
...
It will install setup.py file only when binder folder does not exist.
2018-04-03 15:49:09 +02:00
Kyle Kelley
bd0f31c81c
update nteract_on_jupyter to 1.6.0
2018-04-02 01:33:56 -06:00
Gladys Nalvarte
821514c474
Support setup.py in Python buildpacks
2018-03-27 15:33:42 +02:00
Carol Willing
cb766589e1
Merge branch 'master' into enab-python2
2018-03-26 11:36:41 -07:00
Gladys Nalvarte
cd9011d128
Corrects typos in Python buildpacks
2018-03-26 12:38:35 +02:00
Gladys Nalvarte
5611d7c836
Enables Python2 just with runtime.txt file
2018-03-23 15:25:38 +01:00
Chris Holdgraf
2d0772afb4
fixing python2 search
2018-03-20 21:34:17 +00:00
Carol Willing
a2ebe316e4
Refreeze environments
2018-03-19 17:57:49 -07:00
Carol Willing
550fd2875d
Reword per @betatim review
2018-03-16 15:02:12 -07:00
Carol Willing
3aa407b3ff
add docstring to python3 and python2 buildpacks
2018-03-16 09:27:26 -07:00
Tim Head
ed717955b1
Fix detecting dependency files in binder/ subidr
2018-03-15 16:22:01 +01:00
Min RK
abe57f1c00
refreeze environments
...
- bump ipykernel to 4.8.2
- pin tornado to 4.5.3
2018-03-15 12:54:50 +01:00
Kyle Kelley
3658d7584d
upgrade nteract_on_jupyter to 1.5.0
2018-03-07 14:05:40 -08:00
Chris Holdgraf
98483d2c8e
bumping ipywidgets version
2018-02-14 08:56:42 -08:00
Tim Head
a50f061a1f
Bump jupyterlab and jupyter notebook to latest versions
2018-02-08 10:27:15 +01:00
Kyle Kelley
2b3e3d39dc
pin nteract_on_jupyter to 1.4.0
2018-02-06 16:47:18 -08:00
Min RK
26dac5cc9b
Merge pull request #207 from yuvipanda/inheritance
...
Use inheritance to define composed buildpacks
2018-02-02 09:36:38 +01:00
yuvipanda
d438ad7091
Add nteract jupyter extension to requirements.txt based setups
...
Didn't add to conda, since there is currently no way to add
pip packages to our conda frozen setup (due to
https://github.com/conda/conda/pull/6438 ).
This means nteract will be available only when used with
requirement.txt, and not when used with environment.yml files.
2018-02-01 04:29:41 -08:00
yuvipanda
91065eb11a
Fix tautology
2018-02-01 04:27:55 -08:00
yuvipanda
be10cadbcb
Remove traitlet imports from all buildpacks
2018-02-01 04:23:34 -08:00
yuvipanda
4d19924180
Use inheritance to define composed buildpacks
...
- This is much cleaner to understand than traitlets
- Remove 'name' and 'component' traitlets
2018-02-01 04:23:34 -08:00
yuvipanda
28bccecfff
Switch assemble_scripts to use methods instead of traitlets
2018-02-01 01:43:14 -08:00
yuvipanda
42eb8e573c
Convert build_script & build_script files to methods
2018-02-01 01:39:36 -08:00