Repository navigation
Expand file tree
/
Copy pathenvironment.yml
More file actions
38 lines (32 loc) · 1.54 KB
/
Copy pathenvironment.yml
File metadata and controls
38 lines (32 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: craftbot
# Conda provides the RUNTIME and system-level binaries only.
#
# Python packages are NOT listed here. They come from
# requirements/lock-<platform>-<py>.txt, installed into this env by
# app.provision's python-deps stage — the same lock the pip path and the
# installer use. This file used to carry its own copy of that list and the
# two drifted badly, so `install.py --conda` built a broken environment.
# One list, one lock, no drift.
channels:
- conda-forge
- defaults
dependencies:
- python=3.10.19
- pip=26.0.1
# PINNED: openssl 3.6.3 / 3.5.7 regress the Windows cert-store load
# (ssl.SSLError ASN1: NOT_ENOUGH_DATA in _load_windows_store_certs, crashes
# aiohttp at import). Broke 2026-06-22 and AGAIN 2026-08-19 when a nodejs
# install transitively bumped it — keep this pin, verify before raising:
# conda run -n craftbot python -c "import ssl; ssl.create_default_context()"
- openssl=3.6.2
# Agent App builds: the agent-app CLI is TypeScript run by Node's native type
# stripping — needs Node >= 24 (older majors ERR_UNKNOWN_FILE_EXTENSION).
# Inside the env this leads PATH when CraftBot runs, so node_runtime
# resolves it and the sidecar download is skipped.
- nodejs>=24
# The tesseract BINARY (pytesseract, the Python wrapper, is in the lock).
# Conda is the only one of our install paths that can provide it.
- tesseract=5.5.2
# conda-forge's tesseract build links libcurl.dll but doesn't declare it —
# without this, tesseract.exe dies with 0xC0000135 (DLL not found) on Windows.
- libcurl