conda-forge / quarto-feedstock

A conda-smithy repository for quarto.
BSD 3-Clause "New" or "Revised" License
4 stars 9 forks source link

Does not work when environment is activated in non-Bourne shells #30

Open mdekstrand opened 12 months ago

mdekstrand commented 12 months ago

Solution to issue cannot be found in the documentation.

Update: it seems the real problem isn't Mac, but the fish shell — quarto depends on environment variables that are only set when the Conda environment is activated in a Bourne-compatible shell.

Issue

After shimming in a version of pandoc to allow quarto to install (working around #22), running Quarto produced the following error:

/Users/mde48/mambaforge/envs/bookdata/bin/quarto: line 158: /Users/mde48/mambaforge/envs/bookdata/bin/tools/deno-aarch64-apple-darwin/deno: No such file or directory
ERROR: failed to reproduce 'ClusterStats': failed to run: quarto render ClusterStats.qmd, exited with 127

It seems that the Quarto script on osx-arm64 is looking in the wrong place for deno (there is a deno in the bin directory, so it should work).

Installed packages

# packages in environment at /Users/mde48/mambaforge/envs/bookdata:
#
# Name                    Version                   Build  Channel
_r-mutex                  1.0.1               anacondar_1    conda-forge
aiobotocore               2.5.4              pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.5           py310h2aa6e3c_0    conda-forge
aiohttp-retry             2.8.3              pyhd8ed1ab_0    conda-forge
aioitertools              0.11.0             pyhd8ed1ab_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
alabaster                 0.7.13             pyhd8ed1ab_0    conda-forge
amqp                      5.1.1              pyhd8ed1ab_0    conda-forge
annotated-types           0.5.0              pyhd8ed1ab_0    conda-forge
antlr-python-runtime      4.9.3              pyhd8ed1ab_1    conda-forge
anyconfig                 0.13.0             pyhd8ed1ab_0    conda-forge
anyio                     4.0.0              pyhd8ed1ab_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
argon2-cffi               23.1.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310h2aa6e3c_4    conda-forge
arrow                     1.3.0              pyhd8ed1ab_0    conda-forge
asttokens                 2.4.0              pyhd8ed1ab_0    conda-forge
async-lru                 2.0.4              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.3              pyhd8ed1ab_0    conda-forge
asyncssh                  2.14.0             pyhd8ed1ab_0    conda-forge
atk-1.0                   2.38.0               hcb7b3dd_1    conda-forge
atpublic                  3.0.1              pyhd8ed1ab_0    conda-forge
attrs                     23.1.0             pyh71513ae_1    conda-forge
aws-c-auth                0.7.4                h2ed40ff_1    conda-forge
aws-c-cal                 0.6.2                h12c43c8_2    conda-forge
aws-c-common              0.9.3                hb547adb_0    conda-forge
aws-c-compression         0.2.17               h12c43c8_3    conda-forge
aws-c-event-stream        0.3.2                h88fe898_1    conda-forge
aws-c-http                0.7.13               he062130_1    conda-forge
aws-c-io                  0.13.32              h13ba428_4    conda-forge
aws-c-mqtt                0.9.6                h3ffe4bb_2    conda-forge
aws-c-s3                  0.3.17               hf064be9_3    conda-forge
aws-c-sdkutils            0.1.12               h12c43c8_2    conda-forge
aws-checksums             0.1.17               h12c43c8_2    conda-forge
aws-crt-cpp               0.23.1               h96fc18d_5    conda-forge
aws-sdk-cpp               1.11.156             he831950_3    conda-forge
babel                     2.12.1             pyhd8ed1ab_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.functools_lru_cache 1.6.5              pyhd8ed1ab_0    conda-forge
backports.zoneinfo        0.2.1           py310hbe9552e_8    conda-forge
beautifulsoup4            4.12.2             pyha770c72_0    conda-forge
billiard                  4.1.0           py310h2aa6e3c_1    conda-forge
bleach                    6.0.0              pyhd8ed1ab_0    conda-forge
boto3                     1.28.17            pyhd8ed1ab_0    conda-forge
botocore                  1.31.17            pyhd8ed1ab_3    conda-forge
brotli                    1.1.0                hb547adb_1    conda-forge
brotli-bin                1.1.0                hb547adb_1    conda-forge
brotli-python             1.1.0           py310h1253130_1    conda-forge
bwidget                   1.9.14               hce30654_1    conda-forge
bzip2                     1.0.8                h3422bc3_4    conda-forge
c-ares                    1.19.1               hb547adb_0    conda-forge
ca-certificates           2023.7.22            hf0a4a13_0    conda-forge
cachecontrol              0.13.1             pyhd8ed1ab_0    conda-forge
cachecontrol-with-filecache 0.13.1             pyhd8ed1ab_0    conda-forge
cached-property           1.5.2                hd8ed1ab_1    conda-forge
cached_property           1.5.2              pyha770c72_1    conda-forge
cachy                     0.3.0              pyhd8ed1ab_1    conda-forge
cairo                     1.16.0            hc5b65c1_1017    conda-forge
cctools_osx-arm64         973.0.1             h62378fb_14    conda-forge
celery                    5.3.4              pyhd8ed1ab_1    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.16.0          py310hdcd7c05_0    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
clang                     16.0.6               he79909e_1    conda-forge
clang-16                  16.0.6          default_h07b2d96_1    conda-forge
clang_osx-arm64           16.0.6               hc421ffc_1    conda-forge
clangxx                   16.0.6          default_h298e243_1    conda-forge
clangxx_osx-arm64         16.0.6               hcd7bac0_1    conda-forge
click                     8.1.7           unix_pyh707e725_0    conda-forge
click-default-group       1.2.4              pyhd8ed1ab_0    conda-forge
click-didyoumean          0.3.0              pyhd8ed1ab_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
click-repl                0.3.0              pyhd8ed1ab_0    conda-forge
clikit                    0.6.2              pyhd8ed1ab_2    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.1.4              pyhd8ed1ab_0    conda-forge
compiler-rt               16.0.6               hf8d1dfb_0    conda-forge
compiler-rt_osx-arm64     16.0.6               hf8d1dfb_0    conda-forge
conda-lock                2.3.0              pyhd8ed1ab_0    conda-forge
configobj                 5.0.8              pyhd8ed1ab_0    conda-forge
contourpy                 1.1.1           py310h38f39d4_1    conda-forge
crashtest                 0.4.1              pyhd8ed1ab_0    conda-forge
cryptography              41.0.4          py310hdd3b5e7_0    conda-forge
curl                      8.3.0                hc52a3a8_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
dart-sass                 1.58.3               hce30654_1    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
debugpy                   1.8.0           py310h1253130_1    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
deno                      1.28.2               hce30654_0    conda-forge
deno-dom                  0.1.35               hb9e0d3b_1    conda-forge
dictdiffer                0.9.0              pyhd8ed1ab_0    conda-forge
diskcache                 5.6.3              pyhd8ed1ab_0    conda-forge
distlib                   0.3.7              pyhd8ed1ab_0    conda-forge
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
docopt                    0.6.2                      py_1    conda-forge
docutils                  0.17.1          py310hbe9552e_4    conda-forge
dpath                     2.1.6              pyha770c72_0    conda-forge
dulwich                   0.21.6          py310h2aa6e3c_0    conda-forge
dvc                       3.22.1             pyhd8ed1ab_0    conda-forge
dvc-data                  2.16.4             pyhd8ed1ab_0    conda-forge
dvc-http                  2.30.2             pyhd8ed1ab_2    conda-forge
dvc-objects               1.0.1              pyhd8ed1ab_0    conda-forge
dvc-render                0.6.0              pyhd8ed1ab_0    conda-forge
dvc-s3                    2.23.0             pyhd8ed1ab_0    conda-forge
dvc-studio-client         0.15.0             pyhd8ed1ab_0    conda-forge
dvc-task                  0.3.0              pyhd8ed1ab_0    conda-forge
ensureconda               1.4.3              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
esbuild                   0.19.2               hce30654_0    conda-forge
exceptiongroup            1.1.3              pyhd8ed1ab_0    conda-forge
executing                 1.2.0              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                hb7217d7_1    conda-forge
filelock                  3.12.4             pyhd8ed1ab_0    conda-forge
flake8                    6.1.0              pyhd8ed1ab_0    conda-forge
flatten-dict              0.4.2              pyhd8ed1ab_1    conda-forge
flufl.lock                7.1                pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h82840c6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.43.0          py310h2aa6e3c_0    conda-forge
fqdn                      1.5.1              pyhd8ed1ab_0    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
frozenlist                1.4.0           py310h2aa6e3c_1    conda-forge
fsspec                    2023.9.2           pyh1a96a4e_0    conda-forge
funcy                     2.0                pyhd8ed1ab_0    conda-forge
furo                      2023.5.20          pyhd8ed1ab_0    conda-forge
future                    0.18.3             pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.10              h15fa40c_4    conda-forge
gettext                   0.21.1               h0186832_0    conda-forge
gflags                    2.2.2             hc88da5d_1004    conda-forge
gfortran_impl_osx-arm64   12.3.0               hbbb9e1e_1    conda-forge
gfortran_osx-arm64        12.3.0               h57527a5_1    conda-forge
giflib                    5.2.1                h1a8c8d9_3    conda-forge
gitdb                     4.0.10             pyhd8ed1ab_0    conda-forge
gitpython                 3.1.37             pyhd8ed1ab_0    conda-forge
glog                      0.6.0                h6da1cb0_0    conda-forge
gmp                       6.2.1                h9f76cd9_0    conda-forge
grandalf                  0.7                pyhd8ed1ab_0    conda-forge
graphite2                 1.3.13            h9f76cd9_1001    conda-forge
graphviz                  8.1.0                h10878c0_0    conda-forge
greenlet                  2.0.2           py310h1253130_1    conda-forge
gtk2                      2.24.33              h57013de_2    conda-forge
gts                       0.7.6                he42f4ea_4    conda-forge
harfbuzz                  8.2.1                hf1a6348_0    conda-forge
html5lib                  1.1                pyh9f0ad1d_0    conda-forge
hydra-core                1.3.2              pyhd8ed1ab_0    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
imagesize                 1.4.1              pyhd8ed1ab_0    conda-forge
importlib-metadata        6.8.0              pyha770c72_0    conda-forge
importlib_metadata        6.8.0                hd8ed1ab_0    conda-forge
importlib_resources       6.1.0              pyhd8ed1ab_0    conda-forge
ipycytoscape              1.3.3              pyhd8ed1ab_1    conda-forge
ipykernel                 6.25.2             pyh1050b4e_0    conda-forge
ipython                   8.16.1             pyh31c8845_0    conda-forge
ipywidgets                8.1.1              pyhd8ed1ab_0    conda-forge
isl                       0.25                 h9a09cb3_0    conda-forge
isoduration               20.11.0            pyhd8ed1ab_0    conda-forge
iterative-telemetry       0.0.8              pyhd8ed1ab_0    conda-forge
jaraco.classes            3.3.0              pyhd8ed1ab_0    conda-forge
jedi                      0.19.1             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jmespath                  1.0.1              pyhd8ed1ab_0    conda-forge
json5                     0.9.14             pyhd8ed1ab_0    conda-forge
jsonpointer               2.4             py310hbe9552e_3    conda-forge
jsonschema                4.19.1             pyhd8ed1ab_0    conda-forge
jsonschema-specifications 2023.7.1           pyhd8ed1ab_0    conda-forge
jsonschema-with-format-nongpl 4.19.1             pyhd8ed1ab_0    conda-forge
jupyter-cache             0.6.1              pyhd8ed1ab_0    conda-forge
jupyter-lsp               2.2.0              pyhd8ed1ab_0    conda-forge
jupyter_client            8.3.1              pyhd8ed1ab_0    conda-forge
jupyter_core              5.3.2           py310hbe9552e_0    conda-forge
jupyter_events            0.7.0              pyhd8ed1ab_2    conda-forge
jupyter_server            2.7.3              pyhd8ed1ab_1    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyterlab                4.0.6              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.25.0             pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        3.0.9              pyhd8ed1ab_0    conda-forge
jupytext                  1.15.2             pyh5da7574_0    conda-forge
keyring                   24.2.0          py310hbe9552e_1    conda-forge
kiwisolver                1.4.5           py310h38f39d4_1    conda-forge
kombu                     5.3.2           py310hbe9552e_1    conda-forge
krb5                      1.21.2               h92f50d5_0    conda-forge
latexcodec                2.0.1              pyh9f0ad1d_0    conda-forge
lcms2                     2.15                 hf2736f0_3    conda-forge
ld64_osx-arm64            609                 ha4bd21c_14    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20230802.1      cxx17_h13dd4ca_0    conda-forge
libarrow                  13.0.0           h0c25ffe_5_cpu    conda-forge
libblas                   3.9.0           18_osxarm64_openblas    conda-forge
libbrotlicommon           1.1.0                hb547adb_1    conda-forge
libbrotlidec              1.1.0                hb547adb_1    conda-forge
libbrotlienc              1.1.0                hb547adb_1    conda-forge
libcblas                  3.9.0           18_osxarm64_openblas    conda-forge
libclang-cpp16            16.0.6          default_h07b2d96_1    conda-forge
libcrc32c                 1.1.2                hbdafb3b_0    conda-forge
libcurl                   8.3.0                hc52a3a8_0    conda-forge
libcxx                    16.0.6               h4653b0c_0    conda-forge
libdeflate                1.19                 hb547adb_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h642e427_1    conda-forge
libevent                  2.1.12               h2757513_1    conda-forge
libexpat                  2.5.0                hb7217d7_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgd                     2.3.3                hfdf3952_9    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_1    conda-forge
libgfortran-devel_osx-arm64 12.3.0               hc62be1c_1    conda-forge
libgfortran5              13.2.0               hf226fd6_1    conda-forge
libgit2                   1.7.1                h2940a35_0    conda-forge
libglib                   2.78.0               h24e9cb9_0    conda-forge
libgoogle-cloud           2.12.0               hde42cda_2    conda-forge
libgrpc                   1.57.0               hdbe17d8_1    conda-forge
libiconv                  1.17                 he4db4b2_0    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
liblapack                 3.9.0           18_osxarm64_openblas    conda-forge
libllvm16                 16.0.6               he79909e_2    conda-forge
libnghttp2                1.52.0               hae82a92_0    conda-forge
libopenblas               0.3.24          openmp_hd76b1f2_0    conda-forge
libpng                    1.6.39               h76d750c_0    conda-forge
libprotobuf               4.23.4               hf590ac1_6    conda-forge
librsvg                   2.56.3               h0db3404_0    conda-forge
libsodium                 1.0.18               h27ca646_1    conda-forge
libsqlite                 3.43.0               hb31c410_0    conda-forge
libssh2                   1.11.0               h7a5bd25_0    conda-forge
libthrift                 0.19.0               h026a170_1    conda-forge
libtiff                   4.6.0                ha8a6c65_2    conda-forge
libtool                   2.4.7                hb7217d7_0    conda-forge
libutf8proc               2.8.0                h1a8c8d9_0    conda-forge
libwebp                   1.3.2                hf30222e_1    conda-forge
libwebp-base              1.3.2                hb547adb_0    conda-forge
libxcb                    1.15                 hf346824_0    conda-forge
libxml2                   2.11.5               h25269f3_1    conda-forge
libzlib                   1.2.13               h53f4e23_5    conda-forge
livereload                2.6.3              pyh9f0ad1d_0    conda-forge
llvm-openmp               16.0.6               h1c12783_0    conda-forge
llvm-tools                16.0.6               he79909e_2    conda-forge
lz4-c                     1.9.4                hb7217d7_0    conda-forge
make                      4.3                  he57ea6c_1    conda-forge
markdown-it-py            2.2.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.3           py310h2aa6e3c_1    conda-forge
matplotlib-base           3.8.0           py310hd1c642d_1    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mccabe                    0.7.0              pyhd8ed1ab_0    conda-forge
mdit-py-plugins           0.4.0              pyhd8ed1ab_0    conda-forge
mdurl                     0.1.0              pyhd8ed1ab_0    conda-forge
mistune                   3.0.1              pyhd8ed1ab_0    conda-forge
more-itertools            10.1.0             pyhd8ed1ab_0    conda-forge
mpc                       1.3.1                h91ba8db_0    conda-forge
mpfr                      4.2.0                he09a6ba_0    conda-forge
msgpack-python            1.0.6           py310h38f39d4_0    conda-forge
multidict                 6.0.4           py310h8e9501a_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
myst-nb                   0.17.2             pyhd8ed1ab_0    conda-forge
myst-parser               0.18.1             pyhd8ed1ab_0    conda-forge
nanotime                  0.5.2                      py_0    conda-forge
nbclient                  0.7.4              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.8.0              pyhd8ed1ab_0    conda-forge
nbformat                  5.9.2              pyhd8ed1ab_0    conda-forge
ncurses                   6.4                  h7ea286d_0    conda-forge
nest-asyncio              1.5.6              pyhd8ed1ab_0    conda-forge
networkx                  3.1                pyhd8ed1ab_0    conda-forge
notebook                  7.0.4              pyhd8ed1ab_0    conda-forge
notebook-shim             0.2.3              pyhd8ed1ab_0    conda-forge
numpy                     1.26.0          py310he2cad68_0    conda-forge
omegaconf                 2.3.0              pyhd8ed1ab_0    conda-forge
openjpeg                  2.5.0                h4c1507b_3    conda-forge
openssl                   3.1.3                h53f4e23_0    conda-forge
orc                       1.9.0                hbfdecac_2    conda-forge
orjson                    3.9.7           py310h3f0a850_0    conda-forge
overrides                 7.4.0              pyhd8ed1ab_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pandas                    1.5.3           py310h2b830bf_1    conda-forge
pandoc                    3.1.1                         0    mdekstrand/label/depfix
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pango                     1.50.14              hcf40dda_2    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pastel                    0.2.1              pyhd8ed1ab_0    conda-forge
pathlib2                  2.3.7.post1     py310hbe9552e_3    conda-forge
pathspec                  0.11.2             pyhd8ed1ab_0    conda-forge
patsy                     0.5.3              pyhd8ed1ab_0    conda-forge
pcre2                     10.40                hb34f9b4_0    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    10.0.1          py310hdfbc14a_2    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
pixman                    0.42.2               h13dd4ca_0    conda-forge
pkginfo                   1.9.6              pyhd8ed1ab_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_1    conda-forge
platformdirs              3.11.0             pyhd8ed1ab_0    conda-forge
polars                    0.19.3          py310h49106b5_0    conda-forge
prometheus_client         0.17.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.39             pyha770c72_0    conda-forge
prompt_toolkit            3.0.39               hd8ed1ab_0    conda-forge
psutil                    5.9.5           py310h2aa6e3c_1    conda-forge
pthread-stubs             0.4               h27ca646_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyarrow                   13.0.0          py310h382c99a_5_cpu    conda-forge
pybtex                    0.24.0             pyhd8ed1ab_2    conda-forge
pybtex-docutils           1.0.3           py310hbe9552e_1    conda-forge
pycodestyle               2.11.0             pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydantic                  2.4.2              pyhd8ed1ab_0    conda-forge
pydantic-core             2.10.1          py310had9acf8_0    conda-forge
pydot                     1.4.2           py310hbe9552e_4    conda-forge
pyflakes                  3.1.0              pyhd8ed1ab_0    conda-forge
pygit2                    1.13.1          py310h2aa6e3c_0    conda-forge
pygments                  2.16.1             pyhd8ed1ab_0    conda-forge
pygtrie                   2.5.0              pyhd8ed1ab_0    conda-forge
pylev                     1.4.0              pyhd8ed1ab_0    conda-forge
pyobjc-core               10.0            py310hd07e440_0    conda-forge
pyobjc-framework-cocoa    10.0            py310hd07e440_1    conda-forge
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pyparsing                 3.1.1              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.12         h01493a6_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.18.1             pyhd8ed1ab_0    conda-forge
python-gssapi             1.8.2           py310h4660a2d_3    conda-forge
python-json-logger        2.0.7              pyhd8ed1ab_0    conda-forge
python-tzdata             2023.3             pyhd8ed1ab_0    conda-forge
python_abi                3.10                    4_cp310    conda-forge
pytz                      2023.3.post1       pyhd8ed1ab_0    conda-forge
pywin32-on-windows        0.1.0              pyh1179c8e_3    conda-forge
pyyaml                    6.0.1           py310h2aa6e3c_1    conda-forge
pyzmq                     25.1.1          py310h30b7201_1    conda-forge
quarto                    1.3.450              hce30654_0    conda-forge
r-arrow                   13.0.0            r43hb765f3a_0    conda-forge
r-askpass                 1.2.0             r43h21dc0da_0    conda-forge
r-assertthat              0.2.1             r43hc72bb7e_4    conda-forge
r-backports               1.4.1             r43h21dc0da_2    conda-forge
r-base                    4.3.1                haf7632b_6    conda-forge
r-base64enc               0.1_3           r43h21dc0da_1006    conda-forge
r-bit                     4.0.5             r43h21dc0da_1    conda-forge
r-bit64                   4.0.5             r43h21dc0da_2    conda-forge
r-blob                    1.2.4             r43hc72bb7e_1    conda-forge
r-brew                    1.0_8             r43hc72bb7e_2    conda-forge
r-broom                   1.0.5             r43hc72bb7e_1    conda-forge
r-bslib                   0.5.1             r43hc72bb7e_0    conda-forge
r-cachem                  1.0.8             r43h21dc0da_1    conda-forge
r-callr                   3.7.3             r43hc72bb7e_1    conda-forge
r-cellranger              1.1.0           r43hc72bb7e_1006    conda-forge
r-cli                     3.6.1             r43he62749d_1    conda-forge
r-clipr                   0.8.0             r43hc72bb7e_2    conda-forge
r-codetools               0.2_19            r43hc72bb7e_1    conda-forge
r-collections             0.3.7             r43h21dc0da_1    conda-forge
r-colorspace              2.1_0             r43h21dc0da_1    conda-forge
r-commonmark              1.9.0             r43h21dc0da_1    conda-forge
r-conflicted              1.2.0             r43h785f33e_1    conda-forge
r-cpp11                   0.4.6             r43hc72bb7e_0    conda-forge
r-crayon                  1.5.2             r43hc72bb7e_2    conda-forge
r-curl                    5.1.0             r43h867807f_0    conda-forge
r-cyclocomp               1.1.1             r43hc72bb7e_0    conda-forge
r-data.table              1.14.8            r43h5bdffde_2    conda-forge
r-dbi                     1.1.3             r43hc72bb7e_2    conda-forge
r-dbplyr                  2.3.4             r43hc72bb7e_0    conda-forge
r-desc                    1.4.2             r43hc72bb7e_2    conda-forge
r-digest                  0.6.33            r43he62749d_0    conda-forge
r-dplyr                   1.1.3             r43he62749d_0    conda-forge
r-dtplyr                  1.3.1             r43hc72bb7e_1    conda-forge
r-ellipsis                0.3.2             r43h21dc0da_2    conda-forge
r-evaluate                0.22              r43hc72bb7e_0    conda-forge
r-fansi                   1.0.4             r43h21dc0da_1    conda-forge
r-farver                  2.1.1             r43he62749d_2    conda-forge
r-fastmap                 1.1.1             r43he62749d_1    conda-forge
r-fontawesome             0.5.2             r43hc72bb7e_0    conda-forge
r-forcats                 1.0.0             r43hc72bb7e_1    conda-forge
r-fs                      1.6.3             r43he62749d_0    conda-forge
r-gargle                  1.5.2             r43h785f33e_0    conda-forge
r-generics                0.1.3             r43hc72bb7e_2    conda-forge
r-ggplot2                 3.4.3             r43hc72bb7e_0    conda-forge
r-glue                    1.6.2             r43h21dc0da_2    conda-forge
r-googledrive             2.1.1             r43hc72bb7e_1    conda-forge
r-googlesheets4           1.1.1             r43h785f33e_1    conda-forge
r-gtable                  0.3.4             r43hc72bb7e_0    conda-forge
r-haven                   2.5.3             r43he62749d_0    conda-forge
r-highr                   0.10              r43hc72bb7e_1    conda-forge
r-hms                     1.1.3             r43hc72bb7e_1    conda-forge
r-htmltools               0.5.6             r43he62749d_0    conda-forge
r-httr                    1.4.7             r43hc72bb7e_0    conda-forge
r-ids                     1.0.1             r43hc72bb7e_3    conda-forge
r-irdisplay               1.1               r43hd8ed1ab_2    conda-forge
r-irkernel                1.3.2             r43h785f33e_1    conda-forge
r-isoband                 0.2.7             r43he62749d_2    conda-forge
r-jquerylib               0.1.4             r43hc72bb7e_2    conda-forge
r-jsonlite                1.8.7             r43h21dc0da_0    conda-forge
r-knitr                   1.44              r43hc72bb7e_0    conda-forge
r-labeling                0.4.3             r43hc72bb7e_0    conda-forge
r-languageserver          0.3.16            r43h21dc0da_0    conda-forge
r-lattice                 0.21_9            r43h21dc0da_0    conda-forge
r-lazyeval                0.2.2             r43h21dc0da_4    conda-forge
r-lifecycle               1.0.3             r43hc72bb7e_2    conda-forge
r-lintr                   3.1.0             r43hc72bb7e_0    conda-forge
r-lubridate               1.9.3             r43h21dc0da_0    conda-forge
r-magrittr                2.0.3             r43h21dc0da_2    conda-forge
r-mass                    7.3_60            r43h21dc0da_1    conda-forge
r-matrix                  1.6_1.1           r43hdce2eb6_0    conda-forge
r-memoise                 2.0.1             r43hc72bb7e_2    conda-forge
r-mgcv                    1.9_0             r43h8420647_0    conda-forge
r-mime                    0.12              r43h21dc0da_2    conda-forge
r-modelr                  0.1.11            r43hc72bb7e_1    conda-forge
r-munsell                 0.5.0           r43hc72bb7e_1006    conda-forge
r-nlme                    3.1_163           r43h81fe24e_0    conda-forge
r-openssl                 2.1.1             r43h138cb08_0    conda-forge
r-pbdzmq                  0.3_10            r43h2561c83_0    conda-forge
r-pillar                  1.9.0             r43hc72bb7e_1    conda-forge
r-pkgbuild                1.4.2             r43hc72bb7e_0    conda-forge
r-pkgconfig               2.0.3             r43hc72bb7e_3    conda-forge
r-pkgload                 1.3.3             r43hc72bb7e_0    conda-forge
r-prettyunits             1.2.0             r43hc72bb7e_0    conda-forge
r-processx                3.8.2             r43h21dc0da_0    conda-forge
r-progress                1.2.2             r43hc72bb7e_4    conda-forge
r-ps                      1.7.5             r43h21dc0da_1    conda-forge
r-purrr                   1.0.2             r43h21dc0da_0    conda-forge
r-r.cache                 0.16.0            r43hc72bb7e_2    conda-forge
r-r.methodss3             1.8.2             r43hc72bb7e_2    conda-forge
r-r.oo                    1.25.0            r43hc72bb7e_2    conda-forge
r-r.utils                 2.12.2            r43hc72bb7e_1    conda-forge
r-r6                      2.5.1             r43hc72bb7e_2    conda-forge
r-ragg                    1.2.5             r43hf038ccb_4    conda-forge
r-rappdirs                0.3.3             r43h21dc0da_2    conda-forge
r-rcolorbrewer            1.1_3             r43h785f33e_2    conda-forge
r-rcpp                    1.0.11            r43he62749d_0    conda-forge
r-readr                   2.1.4             r43he62749d_1    conda-forge
r-readxl                  1.4.3             r43h9c2710d_0    conda-forge
r-rematch                 2.0.0             r43hc72bb7e_0    conda-forge
r-rematch2                2.1.2             r43hc72bb7e_3    conda-forge
r-remotes                 2.4.2.1           r43hc72bb7e_0    conda-forge
r-repr                    1.1.6             r43h785f33e_1    conda-forge
r-reprex                  2.0.2             r43hc72bb7e_2    conda-forge
r-rex                     1.2.1             r43hc72bb7e_2    conda-forge
r-rlang                   1.1.1             r43he62749d_1    conda-forge
r-rmarkdown               2.25              r43hc72bb7e_0    conda-forge
r-roxygen2                7.2.3             r43he62749d_1    conda-forge
r-rprojroot               2.0.3             r43hc72bb7e_0    conda-forge
r-rstudioapi              0.15.0            r43hc72bb7e_0    conda-forge
r-rvest                   1.0.3             r43hc72bb7e_2    conda-forge
r-sass                    0.4.7             r43he62749d_0    conda-forge
r-scales                  1.2.1             r43hc72bb7e_2    conda-forge
r-selectr                 0.4_2             r43hc72bb7e_3    conda-forge
r-stringi                 1.7.12            r43h31e90fb_3    conda-forge
r-stringr                 1.5.0             r43h785f33e_1    conda-forge
r-styler                  1.10.2            r43hc72bb7e_0    conda-forge
r-sys                     3.4.2             r43h21dc0da_1    conda-forge
r-systemfonts             1.0.4             r43h4f0b353_2    conda-forge
r-textshaping             0.3.6             r43h059379e_7    conda-forge
r-tibble                  3.2.1             r43h21dc0da_2    conda-forge
r-tidyr                   1.3.0             r43he62749d_1    conda-forge
r-tidyselect              1.2.0             r43h011812f_1    conda-forge
r-tidyverse               2.0.0             r43h785f33e_1    conda-forge
r-timechange              0.2.0             r43he62749d_1    conda-forge
r-tinytex                 0.47              r43hc72bb7e_0    conda-forge
r-tzdb                    0.4.0             r43he62749d_1    conda-forge
r-utf8                    1.2.3             r43h21dc0da_1    conda-forge
r-uuid                    1.1_1             r43h21dc0da_0    conda-forge
r-vctrs                   0.6.3             r43he62749d_0    conda-forge
r-viridislite             0.4.2             r43hc72bb7e_1    conda-forge
r-vroom                   1.6.4             r43he62749d_0    conda-forge
r-withr                   2.5.1             r43hc72bb7e_0    conda-forge
r-xfun                    0.40              r43he62749d_0    conda-forge
r-xml2                    1.3.5             r43h77ef413_0    conda-forge
r-xmlparsedata            1.0.5             r43hc72bb7e_2    conda-forge
r-yaml                    2.3.7             r43h21dc0da_1    conda-forge
re2                       2023.03.02           hc5e2d97_0    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
referencing               0.30.2             pyhd8ed1ab_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4              pyhd8ed1ab_0    conda-forge
rfc3986-validator         0.1.1              pyh9f0ad1d_0    conda-forge
rich                      13.6.0             pyhd8ed1ab_0    conda-forge
rpds-py                   0.10.3          py310had9acf8_1    conda-forge
ruamel.yaml               0.17.33         py310h2aa6e3c_1    conda-forge
ruamel.yaml.clib          0.2.7           py310h2aa6e3c_2    conda-forge
rust                      1.72.1               h4ff7c5d_0    conda-forge
rust-std-aarch64-apple-darwin 1.72.1               hf1a8007_0    conda-forge
s3fs                      2023.9.2           pyhd8ed1ab_0    conda-forge
s3transfer                0.6.2              pyhd8ed1ab_0    conda-forge
scipy                     1.11.3          py310hd1cfc7d_0    conda-forge
scmrepo                   1.3.1              pyhd8ed1ab_1    conda-forge
seaborn                   0.13.0               hd8ed1ab_0    conda-forge
seaborn-base              0.13.0             pyhd8ed1ab_0    conda-forge
seedbank                  0.1.3              pyhd8ed1ab_0    conda-forge
send2trash                1.8.2              pyhd1c38e8_0    conda-forge
setuptools                68.2.2             pyhd8ed1ab_0    conda-forge
shortuuid                 1.0.11             pyhd8ed1ab_0    conda-forge
shtab                     1.6.4              pyhd8ed1ab_1    conda-forge
sigtool                   0.1.3                h44b9a77_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
snappy                    1.1.10               h17c5cce_0    conda-forge
sniffio                   1.3.0              pyhd8ed1ab_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.5                pyhd8ed1ab_1    conda-forge
spectate                  1.0.1              pyhd8ed1ab_0    conda-forge
sphinx                    5.3.0              pyhd8ed1ab_0    conda-forge
sphinx-autobuild          2021.3.14          pyhd8ed1ab_0    conda-forge
sphinx-basic-ng           1.0.0b2            pyhd8ed1ab_1    conda-forge
sphinx-inline-tabs        2023.4.21          pyhd8ed1ab_0    conda-forge
sphinxcontrib-applehelp   1.0.7              pyhd8ed1ab_0    conda-forge
sphinxcontrib-bibtex      2.6.1              pyhd8ed1ab_1    conda-forge
sphinxcontrib-devhelp     1.0.5              pyhd8ed1ab_0    conda-forge
sphinxcontrib-htmlhelp    2.0.4              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1              pyhd8ed1ab_0    conda-forge
sphinxcontrib-mermaid     0.7.1              pyhd8ed1ab_0    conda-forge
sphinxcontrib-qthelp      1.0.6              pyhd8ed1ab_0    conda-forge
sphinxcontrib-serializinghtml 1.1.9              pyhd8ed1ab_0    conda-forge
sqlalchemy                2.0.21          py310h2aa6e3c_0    conda-forge
sqltrie                   0.7.0              pyhd8ed1ab_0    conda-forge
stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
statsmodels               0.14.0          py310ha11ecec_1    conda-forge
tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
tapi                      1100.0.11            he4954df_0    conda-forge
tcllib                    1.21                 hb119156_1    conda-forge
terminado                 0.17.1             pyhd1c38e8_0    conda-forge
tinycss2                  1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.13               hb31c410_0    conda-forge
tktable                   2.10                 hd996620_5    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tomlkit                   0.12.1             pyha770c72_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tornado                   6.3.3           py310h2aa6e3c_1    conda-forge
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.10.1             pyhd8ed1ab_0    conda-forge
types-python-dateutil     2.8.19.14          pyhd8ed1ab_0    conda-forge
typing-extensions         4.8.0                hd8ed1ab_0    conda-forge
typing_extensions         4.8.0              pyha770c72_0    conda-forge
typing_utils              0.1.0              pyhd8ed1ab_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
unicodedata2              15.1.0          py310h2aa6e3c_0    conda-forge
uri-template              1.3.0              pyhd8ed1ab_0    conda-forge
urllib3                   1.26.16            pyhd8ed1ab_0    conda-forge
vine                      5.0.0              pyhd8ed1ab_1    conda-forge
virtualenv                20.24.4            pyhd8ed1ab_0    conda-forge
voluptuous                0.13.1             pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.8              pyhd8ed1ab_0    conda-forge
webcolors                 1.13               pyhd8ed1ab_0    conda-forge
webencodings              0.5.1              pyhd8ed1ab_2    conda-forge
websocket-client          1.6.3              pyhd8ed1ab_0    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
widgetsnbextension        4.0.9              pyhd8ed1ab_0    conda-forge
wrapt                     1.15.0          py310h2aa6e3c_1    conda-forge
xorg-libxau               1.0.11               hb547adb_0    conda-forge
xorg-libxdmcp             1.1.3                h27ca646_0    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yarl                      1.9.2           py310h2aa6e3c_0    conda-forge
zc.lockfile               3.0.post1          pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                hbdafb3b_1    conda-forge
zipp                      3.17.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h53f4e23_5    conda-forge
zstd                      1.5.5                h4f39d0f_0    conda-forge

Environment info

active environment : bookdata
    active env location : /Users/mde48/mambaforge/envs/bookdata
            shell level : 1
       user config file : /Users/mde48/.condarc
 populated config files : /Users/mde48/mambaforge/.condarc
                          /Users/mde48/.condarc
          conda version : 23.7.3
    conda-build version : 3.26.1
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=arm64
                          __osx=13.6=0
                          __unix=0=0
       base environment : /Users/mde48/mambaforge  (writable)
      conda av data dir : /Users/mde48/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/mde48/mambaforge/pkgs
                          /Users/mde48/.conda/pkgs
       envs directories : /Users/mde48/mambaforge/envs
                          /Users/mde48/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.7.3 requests/2.31.0 CPython/3.10.12 Darwin/22.6.0 OSX/13.6
                UID:GID : 1168167957:1823260766
             netrc file : None
           offline mode : False
mfisher87 commented 12 months ago

Thank you for your report!

I lack an OSX system for testing this. Is anyone else willing to take this challenge on?

kelly-sovacool commented 11 months ago

I'm also seeing this problem on Linux x86_64

mfisher87 commented 11 months ago

Thank you for reporting, @kelly-sovacool ! I am able to test on that platform, so I hope I can help you.

Can you provide more detail? I'm working with the Quarto conda package often on Linux x86_64 and haven't seen this issue yet. What version of the Quarto conda package (including build number) do you have installed?

Could you please open a new issue with requested details, and we'll continue discussing there?

Thanks again!

kelly-sovacool commented 11 months ago

@mfisher87 Thanks for following up! I realized my problem was due to a version installed from source clashing with the latest version installed from conda-forge. If I can figure out a reasonable reprex I'll open a new issue for it.

mfisher87 commented 11 months ago

Very much appreciated, Kelly :)

mdekstrand commented 11 months ago

I can reproduce in a minimal x86-64 Linux environment:

$ micromamba create -n quarto -c conda-forge quarto
$ micromamba activate quarto
$ quarto
/home/michael/micromamba/envs/quarto/bin/quarto: line 158: /home/michael/micromamba/envs/quarto/bin/tools/deno-x86_64-unknown-linux-gnu/deno: No such file or directory
mfisher87 commented 11 months ago

Something's definitely not right, but I'm still struggling to reproduce. After failing to reproduce on my local machine, I wanted to ensure there wasn't something special about my configuration that was causing this to work for me but not for you. So I attempted to reproduce with this Dockerfile:

FROM mambaorg/micromamba:1.5.1
ARG MAMBA_DOCKERFILE_ACTIVATE=1

RUN micromamba install -y -n base -c conda-forge quarto
RUN quarto create-project

Still, everything works as expected. Can you check env | grep QUARTO with your quarto environment activated and report back what you see? The QUARTO_DENO envvar should be set by {...}/envs/quarto/etc/conda/activate.d/quarto.sh to point to the correct location.

rawlins commented 11 months ago

For what it's worth, I haven't been encountering this issue on osx with the install shim in #22, though I'm still not exactly a heavy quarto user -- but preview etc seem to work fine. I have a fair amount less in the env in question (at least: no r stuff), so I'm guessing that in the diff between our package lists lies the answer. This current env that is working started with my quarto install workaround commands, and simply adds jupyter (and some specific packages for what I'm doing, mainly svgwrite, probably irrelevant to the issue at hand).

I'm not entirely sure how helpful this will be, but here's the details. This one I just spun up today but I hadn't noticed the issue before either.

conda list:

``` # packages in environment at /Users/advil/miniforge3/envs/quarto: # # Name Version Build Channel anyio 4.0.0 pyhd8ed1ab_0 conda-forge appnope 0.1.3 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py312h02f2b3b_4 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asttokens 2.4.0 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.1.0 pyh71513ae_1 conda-forge babel 2.12.1 pyhd8ed1ab_1 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.2 pyha770c72_0 conda-forge bleach 6.1.0 pyhd8ed1ab_0 conda-forge brotli-python 1.1.0 py312h9f69965_1 conda-forge bzip2 1.0.8 h3422bc3_4 conda-forge ca-certificates 2023.7.22 hf0a4a13_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cffi 1.16.0 py312h8e38eb3_0 conda-forge charset-normalizer 3.3.0 pyhd8ed1ab_0 conda-forge comm 0.1.4 pyhd8ed1ab_0 conda-forge dart-sass 1.58.3 hce30654_1 conda-forge debugpy 1.8.0 py312h9f69965_1 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge deno 1.28.2 hce30654_0 conda-forge deno-dom 0.1.35 hb9e0d3b_1 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge esbuild 0.19.2 hce30654_0 conda-forge exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge importlib-metadata 6.8.0 pyha770c72_0 conda-forge importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge importlib_resources 6.1.0 pyhd8ed1ab_0 conda-forge ipykernel 6.25.2 pyh1050b4e_0 conda-forge ipython 8.16.1 pyh31c8845_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge json5 0.9.14 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py312h81bd7bf_3 conda-forge jsonschema 4.19.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.19.1 pyhd8ed1ab_0 conda-forge jupyter 1.0.0 pyhd8ed1ab_10 conda-forge jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge jupyter_console 6.6.3 pyhd8ed1ab_0 conda-forge jupyter_core 5.3.2 py312h81bd7bf_0 conda-forge jupyter_events 0.7.0 pyhd8ed1ab_2 conda-forge jupyter_server 2.7.3 pyhd8ed1ab_1 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyterlab 4.0.6 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.25.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge libcxx 16.0.6 h4653b0c_0 conda-forge libexpat 2.5.0 hb7217d7_1 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libsodium 1.0.18 h27ca646_1 conda-forge libsqlite 3.43.0 hb31c410_0 conda-forge libzlib 1.2.13 h8a1eda9_5 conda-forge markupsafe 2.1.3 py312h02f2b3b_1 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mistune 3.0.1 pyhd8ed1ab_0 conda-forge nbclient 0.8.0 pyhd8ed1ab_0 conda-forge nbconvert 7.9.2 pyhd8ed1ab_0 conda-forge nbconvert-core 7.9.2 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.9.2 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge ncurses 6.4 h7ea286d_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook 7.0.4 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge openssl 3.1.3 h53f4e23_0 conda-forge overrides 7.4.0 pyhd8ed1ab_0 conda-forge packaging 23.2 pyhd8ed1ab_0 conda-forge pandoc 3.1.1 h9d075a6_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.11.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.39 pyha770c72_0 conda-forge prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge psutil 5.9.5 py312h02f2b3b_1 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pygments 2.16.1 pyhd8ed1ab_0 conda-forge pyobjc-core 10.0 py312h6168cce_0 conda-forge pyobjc-framework-cocoa 10.0 py312h6168cce_1 conda-forge pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.12.0 h47c9636_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.18.1 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python_abi 3.12 4_cp312 conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py312h02f2b3b_1 conda-forge pyzmq 25.1.1 py312hd1cdde7_1 conda-forge qtconsole-base 5.4.4 pyha770c72_0 conda-forge qtpy 2.4.0 pyhd8ed1ab_0 conda-forge quarto 1.3.433 hce30654_1 conda-forge readline 8.2 h92ec313_1 conda-forge referencing 0.30.2 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rpds-py 0.10.4 py312h5280bc4_0 conda-forge send2trash 1.8.2 pyhd1c38e8_0 conda-forge setuptools 68.2.2 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge svgwrite 1.4.3 pyhd8ed1ab_0 conda-forge terminado 0.17.1 pyhd1c38e8_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.13 hb31c410_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.3.3 py312h02f2b3b_1 conda-forge traitlets 5.11.2 pyhd8ed1ab_0 conda-forge types-python-dateutil 2.8.19.14 pyhd8ed1ab_0 conda-forge typing-extensions 4.8.0 hd8ed1ab_0 conda-forge typing_extensions 4.8.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.0.6 pyhd8ed1ab_0 conda-forge wcwidth 0.2.8 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.6.3 pyhd8ed1ab_0 conda-forge wheel 0.41.2 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge yaml 0.2.5 h3422bc3_2 conda-forge zeromq 4.3.4 hbdafb3b_1 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge ```

conda info:

``` active environment : quarto active env location : /Users/advil/miniforge3/envs/quarto shell level : 2 user config file : /Users/advil/.condarc populated config files : /Users/advil/miniforge3/.condarc conda version : 23.9.0 conda-build version : not installed python version : 3.9.18.final.0 virtual packages : __archspec=1=arm64 __osx=11.7.9=0 __unix=0=0 base environment : /Users/advil/miniforge3 (writable) conda av data dir : /Users/advil/miniforge3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch package cache : /Users/advil/miniforge3/pkgs /Users/advil/.conda/pkgs envs directories : /Users/advil/miniforge3/envs /Users/advil/.conda/envs platform : osx-arm64 user-agent : conda/23.9.0 requests/2.31.0 CPython/3.9.18 Darwin/20.6.0 OSX/11.7.9 UID:GID : 501:20 netrc file : None offline mode : False ```
mfisher87 commented 11 months ago

@rawlins thank you for providing more details to help narrow this down! I don't see anything that jumps out now, but I expect this may be useful later :) I am still not certain what to ask or suggest next, so hopefully @mdekstrand 's answers to my questions above are enlightening :crossed_fingers:

Thanks also for putting the big walls of text in a <details> tag, I hadn't thought to do that before.

mdekstrand commented 11 months ago

Ahh, looking at the environment variables sheds light! It see that arm64 is a red herring — the true problem is using fish. When use bash, it works on both x86_64 Linux and OSX arm64.

Since the quarto shell script depends on environment variables set in etc/activate.d/quarto.sh to work, it only works on sh-compatible shells (bash, zsh). If I add a quarto.fish script to my Conda environment, then quarto --help works:

set -gx QUARTO_DENO /Users/michael/mambaforge/envs/quarto/bin/deno
set -gx QUARTO_DENO_DOM /Users/runner/miniforge3/conda-bld/quarto_1691275447155/_build_>
set -gx QUARTO_PANDOC /Users/michael/mambaforge/envs/quarto/bin/pandoc
set -gx QUARTO_ESBUILD /Users/michael/mambaforge/envs/quarto/bin/esbuild
set -gx QUARTO_DART_SASS /Users/michael/mambaforge/envs/quarto/bin/sass
set -gx QUARTO_SHARE_PATH /Users/michael/mambaforge/envs/quarto/share/quarto
set -gx QUARTO_CONDA_PREFIX /Users/michael/mambaforge/envs/quarto
mfisher87 commented 11 months ago

Thanks Michael for updating the issue description! I did some research, and it looks to me like this is a broader conda problem that is unsolved, so I don't think there's much as a package maintainer I can do.

There is some recent activity in these discussions:

https://github.com/conda/conda/issues/7993 https://github.com/conda/conda/issues/6820

EDIT: After some deeper reading, I'm seeing a comment that suggests there is a little-known (undocumented??) way to define variables that will be set at activation time using JSON. My reading is that this issue applies regardless of whether the JSON mechanism is used or not. Migrating this feedstock to use the env_vars.d/quarto.json method would resolve this issue, I expect.

@mdekstrand what do you think? I may not have time to get to this in the next week, but if you want to give it a shot I'd be happy to support!

mdekstrand commented 11 months ago

@mfisher87 Thanks! It looks like the JSON option is quite intriguing — decreases the overhead of maintaining parallel activation scripts.

One thing I'm wondering, though — these env vars are all specifying predictable locations within the Conda environment. Would it be better to patch the quarto script to just detect these paths?

mfisher87 commented 11 months ago

decreases the overhead of maintaining parallel activation scripts.

:100:

these env vars are all specifying predictable locations within the Conda environment. Would it be better to patch the quarto script to just detect these paths?

That's a good question. I want to make sure I think carefully about that because I'm the newest maintainer to work on this feedstock and I don't have the rationale of the maintainers who came before me.

I'd speculate that the motivation was to use established interfaces (envvars) over patching to maximize compatibility with future versions of Quarto. Since the script is already looking at these envvars, we can probably trust that the Quarto devs will be motivated to avoid breaking backwards compatibility with them.

:point_up: Don't read this as an argument against your idea, I'm just reasoning through this out loud :)

mfisher87 commented 11 months ago

@mdekstrand I did some more research and opened an issue to document this feature :point_up:

Over there I've linked to a PR implementing the env_vars.d functionality in conda, and found source code which supports activating envvars specified in that manner in the Fish shell. I'm feeling confident this mechanism is the path to making this package more shell-agnostic.