Simon Li
8f818645f9
Raise error if Python 2.7 is used on arm64
2023-01-04 15:08:26 +00:00
Simon Li
cdd0d56342
OSX reports arm64 (Linux reports aarch64)
2023-01-04 15:04:49 +00:00
Simon Li
8f3f57ada7
Make platform configurable instead of only auto-detecting
2023-01-02 19:51:51 +00:00
Simon Li
064d91ae22
BuildPacks: support arm64 where possible (i.e. not R)
2023-01-02 19:51:51 +00:00
Simon Li
33eee4a440
refreeze
2023-01-02 19:51:51 +00:00
Simon Li
e774709744
Update freeze.py to handle linux-aarch64
2023-01-02 19:51:51 +00:00
Simon Li
d0d55c07ba
Rename `environment*.lock` ➡️ `environment*-linux-64.lock`
2023-01-02 19:51:51 +00:00
Erik Sundell
9be3ac697c
Merge pull request #1216 from frankier/julia-binder-dir-project-toml
...
Create Julia projects based on binder/Project.toml when found
2022-11-09 17:40:10 +01:00
Erik Sundell
37ce79a5d4
Merge pull request #1211 from minrk/cli-defaults
...
reconcile CLI/config priority
2022-11-09 17:26:00 +01:00
Min RK
31e9722c82
add --clean
...
for consistency with other both-ways boolean flags
2022-11-09 16:31:20 +01:00
Min RK
d5f291bec1
move cleanup_checkout / local repo, dry_run/push/run relationships to app
...
so app behaves more consistently when run without cli
2022-11-08 16:27:45 +01:00
Min RK
98724fb255
handle more options from config
...
- warn if repo is specified in config, because it doesn't make sense and will be ignored
- only override config for ref/image/run/build if specified on the cli
requires both-directions config for run and build, to handle the default being inverted in a config file
2022-11-08 15:40:23 +01:00
Min RK
b841dea4ac
reconcile CLI/config priority
...
- avoid CLI defaults clobbering values from config.
Mostly by using `default=None`, and adding `if args.name is not None` checks
before assigning attributes
2022-11-08 15:25:27 +01:00
Frankie Robertson
61b76f622d
Create Julia projects based on binder/Project.toml when found
2022-11-08 14:48:47 +02:00
Sylvain Corlay
3e5a64f82f
Upgrade to mamba 1.0
2022-11-03 00:50:34 +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
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
Min RK
6b0291551d
Make sure we delete /tmp/shiny.deb
...
revealed by check-tmp
2022-10-31 15:22:55 +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
Erik Sundell
2f13af8a29
Apply suggestions from code review
2022-10-31 13:09:17 +01:00
Nicholas Bollweg
df733fc81b
normalize ENV syntax, combine more layers
2022-10-31 13:09:17 +01:00
Nicholas Bollweg
803a1c223b
ensure existence/permissions on custom target dir, if doesn't exist, repo copy slash
2022-10-31 13:09:17 +01:00
Erik Sundell
b3234b54f0
Refactor to f-strings to comply with pyupgrade
2022-10-31 12:57:23 +01:00
Min RK
6826d72aa2
allow user to specify a single port with default command
...
Allows specifying `-p9999` or `-p5555:9999` without also needing to override the default command
app retrieves port arguments from length-1 port mapping for default command,
instead of requiring random port OR overriding the whole command
2022-10-31 12:57:23 +01:00
Yuvi Panda
380f8177d0
Merge pull request #1188 from consideRatio/pr/ci-speedup
...
ci: refactor julia/r/conda tests - now ~25 min instead of ~50 min
2022-10-17 22:09:35 -07:00
Jeremy Tuloup
f572c3a9de
Update Jupyter dependencies
2022-10-13 14:43:36 +00:00
Erik Sundell
a6af244605
ci: refactor julia tests, from 5 to 4 (~5 min saved)
2022-10-10 11:15:56 +02:00
Erik Sundell
2c0b14c7da
ci: refactor r tests, from 8 to 5 (~15 min saved)
2022-10-10 09:15:17 +02:00
Erik Sundell
4540bf1cc9
Remove conda buildpacks pin of r-irkernel to 1.2
...
If r-base is pinned, r-irkernel will resolve to a version that is
compatible with it. But if we pin r-irkernel and not r-base, the
opposite will happen and we will end up with an older version of r-base
than is supported by r-irkernel's modern versions.
I find debugging how versions resolve with conda is really tricky, so
unless we have clear principles of what the pin should be and why, I
strongly advocate we don't have it pinned here.
In this case, having r-irkernel pinned to 1.2 caused us to get stuck at
R version 4.1 instead of going to R 4.2 that is now available.
2022-10-10 01:56:16 +02:00
Erik Sundell
b3de499659
Merge pull request #1165 from yuvipanda/bump
...
Bump default R version to 4.2 from 4.1, and let R 3.4 go from 3.4.0 to 3.4.4
2022-10-09 10:06:36 +02:00
Erik Sundell
7e517cfb0a
Update R 3.4 from 3.4.0 to 3.4.4
2022-10-08 14:07:00 +02:00
Erik Sundell
fc08ee1c58
Update R 4.2 from 4.2.0 to 4.2.1 and fix tests
2022-10-08 14:06:29 +02:00
Simon Li
1735925116
Use enum to standardise `phase`
2022-10-03 22:49:22 +01:00
Min RK
1841bf7130
fail on unsupported Python
...
rather than warning (which users won't see) and building with the wrong version of Python
2022-09-06 10:22:27 +02:00
Simon Li
0f52247b93
Merge pull request #1177 from minrk/logs
...
consistent log handling when not using JSON loggers
2022-08-24 14:37:02 +01:00
Min RK
996beea228
missing f in the f-string
...
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
2022-08-24 13:06:42 +02:00
Simon Li
c5246cd963
Merge pull request #1175 from minrk/3.10
...
add Python 3.10 base environment
2022-08-23 23:47:54 +01:00
Min RK
8bf808bd4c
consistent log handling when not using JSON loggers
...
our logger was never being quite hooked up when not using JSON loggers,
meaning that log messages (such as those fixed here to include newlines) were never shown.
2022-08-22 15:16:40 +02:00
Min RK
2af4d3d46b
explicitly build linux/amd64 images
...
our base-env setup assumes amd64, so avoid platform issues on e.g. ARM
2022-08-22 15:12:53 +02:00
Min RK
cac960d10d
add Python 3.10 base environment
2022-08-22 15:09:02 +02:00
YuviPanda
d6f5c95e52
bump lock files
2022-08-01 19:51:31 -07:00
YuviPanda
5738d4161c
Bump version of nodejs
...
16 is also an LTS, and is the current active LTS.
Triggered by code-server package needing a newer version of nodejs!
2022-08-01 19:51:31 -07:00
Yuvi Panda
e725b079da
Merge pull request #1173 from manics/freezepy-update
...
Freeze.py update
2022-08-01 16:58:52 -07:00
Yuvi Panda
42bb1a0383
Merge pull request #1171 from SylvainCorlay/update-mamba
...
Update mamba
2022-08-01 16:48:25 -07:00
Simon Li
7eff2e6c6c
freeze.py: Remove `3.6`
...
The 3.6 lockfile was removed in https://github.com/jupyterhub/repo2docker/pull/1149 but freeze.py wasn't updated
2022-08-02 00:04:53 +01:00
Simon Li
671636b9f1
`freeze.py`: needs `--kind=explicit`
...
See https://github.com/conda-incubator/conda-lock#pre-10-compatible-usage-explicit-per-platform-locks
2022-08-02 00:04:11 +01:00
Sylvain Corlay
8a4c48e88f
Update mamba
2022-08-01 23:03:15 +02:00