conda-forge / conda-forge/awscli2-feedstock
awscli 2.34.31: SyntaxWarning related to docutils
- Dominant language
- No language data
- Stars
- 2
- Forks
- 6
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 20
Description
### Solution to issue cannot be found in the documentation.
- [x] I checked the documentation.
### Issue
Hi, I'm seeing this SyntaxWarning pop up on macOS with awscli 2.34.31:
```sh
aws s3 ls
```
```
.../lib/python3.14/site-packages/docutils/utils/math/latex2mathml.py:954: SyntaxWarning: "\i" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\i"? A raw string is also an option.
node = parse_latex_math(node, '\int\dotsi\int')
```
This warning can be suppressed temporarily with:
```sh
export PYTHONWARNINGS="ignore::SyntaxWarning"
```
Is this fix needed directly in the awscli Python package or can we resolve this specifically for the conda-forge recipe?
Best,
Mike
### Installed packages
```shell
aws-c-auth artifactory/conda-conda-forge-remote/osx-arm64::aws-c-auth-0.9.6-ha02d361_1
aws-c-cal artifactory/conda-conda-forge-remote/osx-arm64::aws-c-cal-0.9.13-h6ee9776_1
aws-c-common artifactory/conda-conda-forge-remote/osx-arm64::aws-c-common-0.12.6-hc919400_0
aws-c-compression artifactory/conda-conda-forge-remote/osx-arm64::aws-c-compression-0.3.2-h3e7f9b5_0
aws-c-event-stream artifactory/conda-conda-forge-remote/osx-arm64::aws-c-event-stream-0.5.9-hd533cd8_2
aws-c-http artifactory/conda-conda-forge-remote/osx-arm64::aws-c-http-0.10.10-ha1850f6_0
aws-c-io artifactory/conda-conda-forge-remote/osx-arm64::aws-c-io-0.26.1-h4137820_2
aws-c-mqtt artifactory/conda-conda-forge-remote/osx-arm64::aws-c-mqtt-0.14.0-h5721393_1
aws-c-s3 artifactory/conda-conda-forge-remote/osx-arm64::aws-c-s3-0.11.5-h7d214dc_3
aws-c-sdkutils artifactory/conda-conda-forge-remote/osx-arm64::aws-c-sdkutils-0.2.4-h16f91aa_4
aws-checksums artifactory/conda-conda-forge-remote/osx-arm64::aws-checksums-0.2.10-h3e7f9b5_0
awscli artifactory/conda-conda-forge-remote/osx-arm64::awscli-2.34.31-py314hcec6336_0
awscrt artifactory/conda-conda-forge-remote/osx-arm64::awscrt-0.31.2-py314hf65a4ee_3
backports.zstd artifactory/conda-conda-forge-remote/noarch::backports.zstd-1.3.0-py314h680f03e_0
brotli-python artifactory/conda-conda-forge-remote/osx-arm64::brotli-python-1.2.0-py314h3daef5d_1
bzip2 artifactory/conda-conda-forge-remote/osx-arm64::bzip2-1.0.8-hd037594_9
ca-certificates artifactory/conda-conda-forge-remote/noarch::ca-certificates-2026.4.22-hbd8a1cb_0
colorama artifactory/conda-conda-forge-remote/noarch::colorama-0.4.6-pyhd8ed1ab_1
distro artifactory/conda-conda-forge-remote/noarch::distro-1.8.0-pyhd8ed1ab_0
docutils artifactory/conda-conda-forge-remote/osx-arm64::docutils-0.18.1-py314h4dc9dd8_1
h2 artifactory/conda-conda-forge-remote/noarch::h2-4.3.0-pyhcf101f3_0
hpack artifactory/conda-conda-forge-remote/noarch::hpack-4.1.0-pyhd8ed1ab_0
hyperframe artifactory/conda-conda-forge-remote/noarch::hyperframe-6.1.0-pyhd8ed1ab_0
jmespath artifactory/conda-conda-forge-remote/noarch::jmespath-1.0.1-pyhd8ed1ab_1
libcxx artifactory/conda-conda-forge-remote/osx-arm64::libcxx-22.1.4-h55c6f16_0
libexpat artifactory/conda-conda-forge-remote/osx-arm64::libexpat-2.7.5-hf6b4638_0
libffi artifactory/conda-conda-forge-remote/osx-arm64::libffi-3.5.2-hcf2aa1b_0
liblzma artifactory/conda-conda-forge-remote/osx-arm64::liblzma-5.8.3-h8088a28_0
libmpdec artifactory/conda-conda-forge-remote/osx-arm64::libmpdec-4.0.0-h84a0fba_1
libsqlite artifactory/conda-conda-forge-remote/osx-arm64::libsqlite-3.53.0-h1b79a29_0
libzlib artifactory/conda-conda-forge-remote/osx-arm64::libzlib-1.3.2-h8088a28_2
ncurses artifactory/conda-conda-forge-remote/osx-arm64::ncurses-6.5-h5e97a16_3
openssl artifactory/conda-conda-forge-remote/osx-arm64::openssl-3.6.2-hd24854e_0
pip artifactory/conda-conda-forge-remote/noarch::pip-26.0.1-pyh145f28c_0
prompt-toolkit artifactory/conda-conda-forge-remote/noarch::prompt-toolkit-3.0.51-pyha770c72_0
pysocks artifactory/conda-conda-forge-remote/noarch::pysocks-1.7.1-pyha55dd90_7
python artifactory/conda-conda-forge-remote/osx-arm64::python-3.14.4-h4c637c5_100_cp314
python-dateutil artifactory/conda-conda-forge-remote/noarch::python-dateutil-2.9.0-pyhd8ed1ab_0
python_abi artifactory/conda-conda-forge-remote/noarch::python_abi-3.14-8_cp314
readline artifactory/conda-conda-forge-remote/osx-arm64::readline-8.3-h46df422_0
ruamel.yaml artifactory/conda-conda-forge-remote/noarch::ruamel.yaml-0.19.1-pyhcf101f3_0
ruamel.yaml.clib artifactory/conda-conda-forge-remote/osx-arm64::ruamel.yaml.clib-0.2.15-py314ha14b1ff_1
six artifactory/conda-conda-forge-remote/noarch::six-1.17.0-pyhe01879c_1
tk artifactory/conda-conda-forge-remote/osx-arm64::tk-8.6.13-h010d191_3
tzdata artifactory/conda-conda-forge-remote/noarch::tzdata-2025c-hc9c84f9_1
urllib3 artifactory/conda-conda-forge-remote/noarch::urllib3-2.6.3-pyhd8ed1ab_0
wcwidth artifactory/conda-conda-forge-remote/noarch::wcwidth-0.2.14-pyhd8ed1ab_0
zstd artifactory/conda-conda-forge-remote/osx-arm64::zstd-1.5.7-hbf9d68e_6
```
### Environment info
```shell
active environment : None
shell level : 0
user config file : /.condarc
populated config files : /.local/share/koopa/app/conda/26.1.1-1/.condarc
/.local/share/koopa/app/conda/26.1.1-1/condarc.d/anaconda-auth.yml
/.condarc
conda version : 26.1.1
conda-build version : not installed
python version : 3.12.12.final.0
solver : libmamba (default)
virtual packages : __archspec=1=m1
__conda=26.1.1=0
__osx=26.4.1=0
__unix=0=0
base environment : /.local/share/koopa/app/conda/26.1.1-1 (writable)
conda av data dir : /.local/share/koopa/app/conda/26.1.1-1/etc/conda
conda av metadata url : None
channel URLs : https://artifacts.XXX.com/artifactory/conda-conda-forge-remote/osx-arm64
https://artifacts.XXX.com/artifactory/conda-conda-forge-remote/noarch
https://artifacts.XXX.com/artifactory/conda-bioconda-remote/osx-arm64
https://artifacts.XXX.com/artifactory/conda-bioconda-remote/noarch
https://conda.anaconda.org/nodefaults/osx-arm64
https://conda.anaconda.org/nodefaults/noarch
package cache : /.conda/pkgs
envs directories : /.conda/envs
/.local/share/koopa/app/conda/26.1.1-1/envs
temporary directory : /var/folders/pt/1g5629f1699dfjwdfh32q50m0000gn/T
platform : osx-arm64
user-agent : conda/26.1.1 requests/2.32.5 CPython/3.12.12 Darwin/25.4.0 OSX/26.4.1 solver/libmamba conda-libmamba-solver/25.11.0 libmambapy/2.3.2 aau/0.7.5 c/. s/. e/.
UID:GID : 501:20
netrc file : None
offline mode : False
```
Contributor guide
Research direction
Reproduce the warning with `aws s3 ls` in the listed macOS arm64 conda environment, then inspect the awscli2-feedstock recipe and its docutils 0.18.1 dependency. Determine whether the fix belongs in the AWS CLI package or the conda-forge recipe; done means the warning is resolved for this installation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100