Wykres commitów

35 Commity (f2c1cb7a8c27726450a6bbbded5099478c8a8994)

Autor SHA1 Wiadomość Data
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
Erik Sundell 15a1fb6e2d refactor: manually add transitions to f-strings 2022-10-31 21:22:32 +01:00
Min RK e7c93b0fc8
update pipenv to 2022.1.8
pipenv 2018 doesn't actually clear its cache when asked to

2021.5.29 is the last to support 2.7, 3.5
2022-10-31 15:23:35 +01:00
Min RK 757799516d
ensure some cache files are cleaned up 2022-10-31 15:23:35 +01:00
Erik Sundell 9a80e95600 pipfile: pass --clear flag, and do it separetely to not be ignored
Maybe --clear flag works as part of `pipenv install` now, but code
inspection indicates to me it still don't. This resolves the issue with
the pipenv versions we currently use in tests at least.
2022-10-31 14:54:54 +01:00
paugier fadb3c8dc8 Bump Black version (20.8b1) and use --target-version=py36 2020-09-10 08:11:29 +02:00
Tim Head 6c5c09b62b
Merge pull request #743 from minrk/conda-env-first-again-again
[MRG] preassembly for conda/python
2019-07-19 10:36:15 +02:00
Min RK 8236dc8ae1 only install pipenv in preassemble
save preassembly of pipenv for a later patch
2019-07-18 16:25:04 +02:00
Min RK 79c2617873 parse pipfiles to determine Python version
these are structured files, no need to use regular expressions to parse them
2019-07-18 16:13:41 +02:00
Min RK 4f3f192d2f preassembly for pipfiles 2019-07-16 15:52:39 +02:00
Erik Sundell ec7f20e1a8 Add inline comment about '\' 2019-06-25 21:21:46 +02:00
Erik Sundell 397cb939bc Correct path typo and add note about '//' 2019-06-25 19:02:17 +02:00
Erik Sundell 7dbee81af6 Syntax typo fix 2019-06-25 17:18:10 +02:00
Erik Sundell 6d508ac5e2 Autoformatting 2019-06-25 16:57:11 +02:00
Erik Sundell b4249db4ad Pin pipenv utilized to version: 2018.11.26 2019-06-25 16:39:48 +02:00
Erik Sundell 09558802d1 Formatting opinion
The '//' will render to '/' in the Dockerfile that allows the RUN
command to continue on a new line. I initially added a '//' within a
python string on a blank line in order to format things within the
Python file to look potentially nicer, but this is of little importance
and I have now removed it again.
2019-06-25 16:34:15 +02:00
Erik Sundell 8eae91bc67 Install pipenv in the kernel environ 2019-06-25 16:32:47 +02:00
Erik Sundell e5d2d4dd85 Make the python environment explicit during pip install 2019-06-25 16:30:02 +02:00
Erik Sundell 61a00f7929 Improve code readability 2019-06-24 07:35:31 +02:00
Erik Sundell e5160e4b3f Autoformatting 2019-06-23 06:38:31 +02:00
Erik Sundell fe2d9b9e0d Pipfile support for Python 2 as well 2019-06-23 06:29:15 +02:00
Erik Sundell 7bb5a92ff8 Fix Pipfile buildpacks python version detection 2019-06-22 18:07:17 +02:00
Erik Sundell 2189777198 Fix Pipfile buildpack's docstring 2019-06-22 17:58:36 +02:00
Erik Sundell c9fd0a99c8 Clarify Pipfile's use of relative paths 2019-06-22 17:51:48 +02:00
Erik Sundell a8c232e6a5 Adjust copied notes to the Pipfile buildpack 2019-06-22 17:35:35 +02:00
Erik Sundell 8153fd9b4d
Fix typo
Co-Authored-By: Tim Head <betatim@gmail.com>
2019-06-22 16:03:44 +02:00
Erik Sundell 6de7a8c97a Black formatting applied 2019-06-04 09:14:32 +02:00
Erik Sundell 9faeaefcf4 extract pipfile: get binder_dir right finally
While trying to update the buildpack for changes in the PR that added
support for using a .binder directory I regressed to faulty logic. This
PR fixes that, adds some comments to avoid it, and get's things right
enough to manage to get the tests to succeed.
2019-05-12 17:26:52 +02:00
Erik Sundell 258271f780 extract pipfile: refine PipfileBuildPack 2019-05-12 15:36:42 +02:00
Erik Sundell c25aa81c2a extract pipfile: copy PythonBuildPack 2019-05-12 15:09:14 +02:00