Commit Graph

3968 Commits

Author SHA1 Message Date
Ayaz Salikhov
8432e5741c Refactor CondaPackageHelper: cached_property, better typing, no state 2025-03-26 12:05:05 +00:00
Ayaz Salikhov
de8a1349ae Try to unmark tests as flaky (#2268) 2025-03-25 21:10:11 +00:00
Ayaz Salikhov
100187f79d Make free_host_port a fixture (#2267)
* Make free_host_port a fixture

* Remove redundant comment
2025-03-25 15:33:26 +00:00
Ayaz Salikhov
2ce2c06a22 Improve test_spark_r_nbconvert: add local_sparklyr back, test all output formats 2025-03-25 15:04:58 +00:00
Ayaz Salikhov
2766279baf Unify how we use volumes: mount files, use pathlib.Path without str 2025-03-25 14:49:50 +00:00
Ayaz Salikhov
1af2bfc070 Add check_nbconvert function and run tests for appropriate images (#2266) 2025-03-25 13:00:19 +00:00
Ayaz Salikhov
57ce6e3f05 Reduce indirection when running docker commands (#2265) 2025-03-25 09:40:27 +00:00
Ayaz Salikhov
834b6c7e03 Error logs on error/warn in logs 2025-03-25 09:39:02 +00:00
Ayaz Salikhov
de998c41eb Log errors on docker run/exec failure 2025-03-25 08:46:26 +00:00
dependabot[bot]
c135254c87 Bump docker/login-action from 3.3.0 to 3.4.0 (#2264)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](9780b0c442...74a5d14239)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 18:32:19 +00:00
Ayaz Salikhov
4a60b44886 Fix broken tidymodels link 2025-03-24 15:03:26 +00:00
Ayaz Salikhov
33d3b308c4 Use mamba to install jupyter-server-proxy (#2262)
* Use mamba to install jupyter-server-proxy

* Update changelog
2025-03-23 13:59:59 +00:00
Ayaz Salikhov
b3669ac716 Fix information about affected images in changelog 2025-03-23 12:29:52 +00:00
Ayaz Salikhov
08dae88c5b Update changelog 2025-03-23 12:27:00 +00:00
Ayaz Salikhov
bc3baf8ad8 Improve logs around running docker (#2261) 2025-03-23 11:09:53 +00:00
Ayaz Salikhov
28070e6022 Remove example from test_packages as it is out-of-date 2025-03-22 17:49:19 +00:00
Ayaz Salikhov
23c6f42a6f Remove container directly in run_and_wait 2025-03-22 17:47:45 +00:00
Ayaz Salikhov
f47292edc0 Use tty for running docker commands by default (#2260)
* Use tty for running docker commands by default

* Add comment about using tty=False

* Remove unrelated part
2025-03-22 17:46:38 +00:00
Ayaz Salikhov
929ebdb758 Flush output in Python before running execvp (#2258) 2025-03-21 13:50:35 +00:00
Ayaz Salikhov
95aa99dd85 Do not allocate TTY in tests if not needed (#2257) 2025-03-21 12:15:16 +00:00
Ayaz Salikhov
f0ef7e30b2 Use simpler API to get health of container 2025-03-21 10:11:19 +00:00
Ayaz Salikhov
dcd1c457d3 Refactor TrackedContainer run_detached/exec_cmd functions (#2256)
* Refactor TrackedContainer run_detached/exec_cmd functions

* Add get_logs() method

* Small fixes

* Make get_health() a method

* Remove kwargs, always print output

* Small fixes
2025-03-21 10:05:00 +00:00
Ayaz Salikhov
a916806f2e Update changelog 2025-03-20 17:17:05 +00:00
Ayaz Salikhov
b35f1554d6 Test server listening on IPv4/IPv6 (#2255)
* Test server listening on IPv4/IPv6

* Set up Docker in create-dev-env

* Show docker version

* Add info about docker client

* Check requests

* Show docker client version

* Try to pass docker sock

* Fix

* Break fast

* Revert

* Cleanup

* Better naming

* Always use docker.from_env

* Revert "Always use docker.from_env"

This reverts commit d03069ac28.

* Use custom docker client for only one test

* More logs

* Use cont_data_dir in test, so workdir doesn't matter

* Use common variable names

* Move patch to a separate function

* Try to use set-host option

* Use the same docker client in get_health

* Use .api

* Rewrite check_listening.py to use one function for both ipv4 and ipv6

* Add links to explain why we need to set up docker manually
2025-03-20 17:12:22 +00:00
Ayaz Salikhov
951dec9330 Refactor healthcheck tests to use one function (#2254) 2025-03-20 15:53:06 +00:00
Ayaz Salikhov
ea8faad1d3 Update tag example 2025-03-16 20:56:58 +00:00
Ayaz Salikhov
8beda2345d Suggest to search all issues, not just open 2025-03-14 16:01:55 +00:00
Ayaz Salikhov
2e1ff718a3 Fix GitHub issue links rendered by sphinx 2025-03-14 15:56:50 +00:00
Ayaz Salikhov
2175e3ed1a Use shellcheck source to point the sourced file 2025-03-14 12:44:23 +00:00
Ayaz Salikhov
81bb00eb4a Reorder contributing sections 2025-03-12 20:56:09 +00:00
Ayaz Salikhov
5a5bebaa0d Shorten new-images-and-packages-policy header 2025-03-12 20:49:27 +00:00
Ayaz Salikhov
7e47ecb13e Improve taggers and manifests docs 2025-03-12 20:46:39 +00:00
Ayaz Salikhov
7a5244b7d1 Mention proper hierarchy files in tagging.md 2025-03-12 16:11:26 +00:00
Ayaz Salikhov
2c1df4020a Make taggers manifest functions (#2252)
* Make taggers and manifests functions

* Add changelog
2025-03-12 16:05:09 +00:00
Ayaz Salikhov
48b065050c Add tags for mamba and conda versions (#2251)
* Add tags for mamba and conda versions

* Update changelog
2025-03-12 14:56:39 +00:00
Ayaz Salikhov
9e445b50a2 Do not explicitly specify files for yamllint pre-commit 2025-03-11 13:34:17 +00:00
Ayaz Salikhov
3dea76fa66 Use textwrap.dedent in quoted_output 2025-03-10 23:35:44 +00:00
Ayaz Salikhov
c90fc06a46 Do not compress images in actions/upload-artifact (#2249) 2025-03-10 04:12:20 +00:00
Ayaz Salikhov
22efe37e40 Better workflow names 2025-03-10 01:05:13 +00:00
Ayaz Salikhov
f7d59ceffe Better logs in DockerRunner 2025-03-10 00:54:15 +00:00
Ayaz Salikhov
0510a43920 Refactor container.exec_run usages 2025-03-10 00:49:28 +00:00
Ayaz Salikhov
f2b42fd461 Make sure build info works properly for messages with more than one line
Test on this commit
2025-03-10 00:27:05 +00:00
Ayaz Salikhov
18ff4a3fb1 Small updates related to Makefile 2025-03-09 23:24:03 +00:00
Ayaz Salikhov
29240ab803 Better wording about hadolint ignore 2025-03-09 22:49:47 +00:00
Ayaz Salikhov
3e3e3e651d Fix typo 2025-03-08 22:45:05 +00:00
Ayaz Salikhov
afdc806119 Move tagging/utils/config to tagging/apps/config 2025-03-05 02:01:07 +00:00
pre-commit-ci[bot]
f8f489beea [pre-commit.ci] pre-commit autoupdate (#2248)
updates:
- [github.com/PyCQA/isort: 6.0.0 → 6.0.1](https://github.com/PyCQA/isort/compare/6.0.0...6.0.1)
- [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.15.0)
- [github.com/rbubley/mirrors-prettier: v3.4.2 → v3.5.3](https://github.com/rbubley/mirrors-prettier/compare/v3.4.2...v3.5.3)
- [github.com/PyCQA/flake8: 7.1.1 → 7.1.2](https://github.com/PyCQA/flake8/compare/7.1.1...7.1.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-03 21:02:57 +00:00
Ayaz Salikhov
01e1bc157c Use double quotes in binder example 2025-03-03 20:29:33 +00:00
Ayaz Salikhov
8f03304445 Add pre-commit hooks to check shebangs (#2247) 2025-03-03 17:30:57 +00:00
Ayaz Salikhov
cf453282a0 Use {} instead of dict() 2025-03-03 16:22:42 +00:00