Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt arg does not expand ~ #5619

Open
2 tasks done
anderslindho opened this issue Feb 12, 2025 · 0 comments
Open
2 tasks done

Opt arg does not expand ~ #5619

anderslindho opened this issue Feb 12, 2025 · 0 comments
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@anderslindho
Copy link

anderslindho commented Feb 12, 2025

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

If you run a command like conda build --output-folder=~/some-relative-path, conda build will create a new directory ./~. This does not occur if you instead do --output-folder ~/some-relative-path (i.e. only if providing =).

Conda Info

active environment : conda-build
    active env location : /Users/ades/miniconda3/envs/conda-build
            shell level : 2
       user config file : /Users/ades/.condarc
 populated config files : /Users/ades/.condarc
          conda version : 25.1.0
    conda-build version : 25.1.1
         python version : 3.11.4.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m2
                          __conda=25.1.0=0
                          __osx=15.1.1=0
                          __unix=0=0
       base environment : /Users/ades/miniconda3  (writable)
      conda av data dir : /Users/ades/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://artifactory.esss.lu.se/artifactory/api/conda/conda-forge/osx-arm64
                          https://artifactory.esss.lu.se/artifactory/api/conda/conda-forge/noarch
                          https://artifactory.esss.lu.se/artifactory/api/conda/anaconda-main/osx-arm64
                          https://artifactory.esss.lu.se/artifactory/api/conda/anaconda-main/noarch
          package cache : /Users/ades/miniconda3/pkgs
                          /Users/ades/.conda/pkgs
       envs directories : /Users/ades/miniconda3/envs
                          /Users/ades/.conda/envs
               platform : osx-arm64
             user-agent : conda/25.1.0 requests/2.32.3 CPython/3.11.4 Darwin/24.1.0 OSX/15.1.1 solver/libmamba conda-libmamba-solver/25.1.0 libmambapy/2.0.5
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Conda Config

==> /Users/ades/.condarc <==
channel_alias: https://artifactory.esss.lu.se/artifactory/api/conda
channels:
  - conda-forge
  - anaconda-main

==> envvars <==
allow_softlinks: False

Conda list

# packages in environment at /Users/ades/miniconda3/envs/conda-build:
#
# Name                    Version                   Build  Channel
archspec                  0.2.5              pyhd8ed1ab_0    conda-forge
attrs                     25.1.0             pyh71513ae_0    conda-forge
backports                 1.0                pyhd8ed1ab_5    conda-forge
backports.functools_lru_cache 2.0.0              pyhd8ed1ab_1    conda-forge
backports.tempfile        1.0                        py_0    conda-forge
backports.weakref         1.0.post1       pyhd8ed1ab_1003    conda-forge
beautifulsoup4            4.13.3             pyha770c72_0    conda-forge
boltons                   24.0.0             pyhd8ed1ab_1    conda-forge
brotli-python             1.1.0           py312hde4cb15_2    conda-forge
bzip2                     1.0.8                h99b78c6_7    conda-forge
c-ares                    1.34.4               h5505292_0    conda-forge
ca-certificates           2025.1.31            hf0a4a13_0    conda-forge
cctools                   1010.6               hd01ab73_3    conda-forge
cctools_osx-arm64         1010.6               h4bc2523_3    conda-forge
certifi                   2022.9.24          pyhd8ed1ab_0    conda-e3-virtual
cffi                      1.17.1          py312h0fad829_0    conda-forge
chardet                   5.2.0           py312h81bd7bf_2    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-e3-virtual
click                     8.1.8              pyh707e725_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_1    conda-forge
conda                     25.1.1          py312h81bd7bf_0    conda-forge
conda-build               25.1.2          py312h81bd7bf_0    conda-forge
conda-index               0.5.0              pyhd8ed1ab_0    conda-forge
conda-libmamba-solver     25.1.1             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.4.0              pyh7900ff3_2    conda-forge
conda-package-streaming   0.11.0             pyhd8ed1ab_0    conda-forge
conda-verify              3.4.2                      py_1    anaconda-main
cpp-expected              1.1.0                hffc8910_0    conda-forge
distro                    1.9.0              pyhd8ed1ab_1    conda-forge
epics-base                7.0.7.0              he871e14_0    conda-forge
filelock                  3.17.0             pyhd8ed1ab_0    conda-forge
fmt                       11.0.2               h420ef59_0    conda-forge
frozendict                2.4.6           py312h0bf5046_0    conda-forge
future                    1.0.0              pyhd8ed1ab_2    conda-forge
h2                        4.2.0              pyhd8ed1ab_0    conda-forge
hpack                     4.1.0              pyhd8ed1ab_0    conda-forge
hyperframe                6.1.0              pyhd8ed1ab_0    conda-forge
icu                       75.1                 hfee45f7_0    conda-forge
idna                      3.10               pyhd8ed1ab_1    conda-forge
importlib_resources       6.5.2              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.5              pyhd8ed1ab_0    conda-forge
jsonpatch                 1.33               pyhd8ed1ab_1    conda-forge
jsonpointer               3.0.0           py312h81bd7bf_1    conda-forge
jsonschema                4.23.0             pyhd8ed1ab_1    conda-forge
jsonschema-specifications 2024.10.1          pyhd8ed1ab_1    conda-forge
krb5                      1.21.3               h237132a_0    conda-forge
ld64                      951.9                he86490a_3    conda-forge
ld64_osx-arm64            951.9                hba2f8ee_3    conda-forge
libarchive                3.7.7                h3b16cec_3    conda-forge
libcurl                   8.11.1               h73640d1_0    conda-forge
libcxx                    19.1.7               ha82da77_0    conda-forge
libedit                   3.1.20250104    pl5321hafb1f1b_0    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libexpat                  2.6.4                h286801f_0    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
liblief                   0.14.1               hf9b8971_2    conda-forge
libllvm19                 19.1.7               hc4b4ae8_1    conda-forge
liblzma                   5.6.4                h39f12f2_0    conda-forge
libmamba                  2.0.5                hdf44a08_1    conda-forge
libmambapy                2.0.5           py312h86ad8a2_1    conda-forge
libnghttp2                1.64.0               h6d7220d_0    conda-forge
libsolv                   0.7.30               h6c9b7f8_0    conda-forge
libsqlite                 3.48.0               h3f77e49_1    conda-forge
libssh2                   1.11.1               h9cc3647_0    conda-forge
libxml2                   2.13.5               h178c5d8_1    conda-forge
libzlib                   1.3.1                h8359307_2    conda-forge
llvm-tools                19.1.7               hd2aecb6_1    conda-forge
llvm-tools-19             19.1.7               h87a4c7e_1    conda-forge
lz4-c                     1.10.0               h286801f_1    conda-forge
lzo                       2.10              h93a5062_1001    conda-forge
markupsafe                3.0.2           py312h998013c_1    conda-forge
menuinst                  2.2.0           py312h81bd7bf_0    conda-forge
more-itertools            10.6.0             pyhd8ed1ab_0    conda-forge
ncurses                   6.5                  h5e97a16_3    conda-forge
nlohmann_json             3.11.3               h00cdb27_1    conda-forge
openssl                   3.4.0                h81ee809_1    conda-forge
packaging                 24.2               pyhd8ed1ab_2    conda-forge
patch                     2.7.6             h27ca646_1002    conda-forge
perl                      5.32.1          7_h4614cfb_perl5    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-e3-virtual
pkginfo                   1.12.0             pyhd8ed1ab_1    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_2    conda-forge
platformdirs              4.3.6              pyhd8ed1ab_1    conda-forge
pluggy                    1.5.0              pyhd8ed1ab_1    conda-forge
psutil                    6.1.1           py312hea69d52_0    conda-forge
py-lief                   0.14.1          py312hde4cb15_2    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.6           py312hea69d52_2    conda-forge
pycparser                 2.22               pyh29332c3_1    conda-forge
pysocks                   1.7.1              pyha55dd90_7    conda-forge
python                    3.12.8          hc22306f_1_cpython    conda-forge
python-libarchive-c       5.1             py312h81bd7bf_1    conda-forge
python_abi                3.12                    5_cp312    conda-forge
pytz                      2025.1             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0.2           py312h998013c_2    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
referencing               0.36.2             pyh29332c3_0    conda-forge
reproc                    14.2.5.post0         h5505292_0    conda-forge
reproc-cpp                14.2.5.post0         h286801f_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-e3-virtual
ripgrep                   14.1.1               h0ef69ab_0    conda-forge
rpds-py                   0.22.3          py312hcd83bfe_0    conda-forge
ruamel.yaml               0.18.10         py312hea69d52_0    conda-forge
ruamel.yaml.clib          0.2.8           py312h0bf5046_1    conda-forge
setuptools                75.8.0             pyhff2d567_0    conda-forge
sigtool                   0.1.3                h44b9a77_0    conda-forge
simdjson                  3.11.6               ha393de7_0    conda-forge
six                       1.17.0             pyhd8ed1ab_0    conda-forge
soupsieve                 2.5                pyhd8ed1ab_1    conda-forge
spdlog                    1.15.1               hed1c2b2_0    conda-forge
tapi                      1300.6.5             h03f4b80_0    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
tqdm                      4.67.1             pyhd8ed1ab_1    conda-forge
truststore                0.10.0             pyhd8ed1ab_0    conda-forge
typing-extensions         4.12.2               hd8ed1ab_1    conda-forge
typing_extensions         4.12.2             pyha770c72_1    conda-forge
tzdata                    2025a                h78e105d_0    conda-forge
urllib3                   2.3.0              pyhd8ed1ab_0    conda-forge
wheel                     0.34.2                     py_1    conda-e3-virtual
yaml                      0.2.5                h3422bc3_2    conda-forge
yaml-cpp                  0.8.0                h13dd4ca_0    conda-forge
zipp                      3.10.0             pyhd8ed1ab_0    conda-e3-virtual
zstandard                 0.23.0          py312h15fbf35_1    conda-forge
zstd                      1.5.6                hb46c0d2_0    conda-forge

Additional Context

I am using zsh on macOS.

@anderslindho anderslindho added the type::bug describes erroneous operation, use severity::* to classify the type label Feb 12, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant