Repository: huggingface/tokenizers (language: rust)

Issue:
Conda installation is broken
Hi,

The conda package from the huggingface conda repository is broken on Debian-like Linux. It seems to be compiled with "Red Hat"-like Linux and then fails to find the proper `libssl.so` to properly run on Debian-like Linux. The raised error is:
```
Traceback (most recent call last):
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/utils/import_utils.py", line 1093, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/models/__init__.py", line 19, in <module>
    from . import (
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/models/mt5/__init__.py", line 40, in <module>
    from ..t5.tokenization_t5_fast import T5TokenizerFast
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/models/t5/tokenization_t5_fast.py", line 24, in <module>
    from ...tokenization_utils_fast import PreTrainedTokenizerFast
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/tokenization_utils_fast.py", line 25, in <module>
    import tokenizers.pre_tokenizers as pre_tokenizers_fast
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/tokenizers/__init__.py", line 79, in <module>
    from .tokenizers import (
ImportError: libssl.so.10: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/jplu/dev/buster/indexing-benchmark/to_qdrant.py", line 1, in <module>
    from transformers import AutoTokenizer
  File "<frozen importlib._bootstrap>", line 1055, in _handle_fromlist
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/utils/import_utils.py", line 1083, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/home/jplu/anaconda3/envs/transformers/lib/python3.9/site-packages/transformers/utils/import_utils.py", line 1095, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.models.auto because of the following error (look up to see its traceback):
libssl.so.10: cannot open shared object file: No such file or directory
```
The conda install command is:
```
conda install -c huggingface transformers
```

When installing the `tokenizers` package from the `conda-forge` repository it works as expected.


Discussion / hints:

Fix patch:
diff --git a/.github/conda/meta.yaml b/.github/conda/meta.yaml
index 1eecd8d4c..a7161448e 100644
--- a/.github/conda/meta.yaml
+++ b/.github/conda/meta.yaml
@@ -13,6 +13,8 @@ requirements:
     - python x.x
     - setuptools
     - setuptools-rust
+    - pkg-config
+    - openssl
 
   run:
     - python x.x
diff --git a/.github/workflows/python-release-conda.yml b/.github/workflows/python-release-conda.yml
index 81a8e3691..a8726f8d9 100644
--- a/.github/workflows/python-release-conda.yml
+++ b/.github/workflows/python-release-conda.yml
@@ -14,9 +14,8 @@ jobs:
     strategy:
       matrix:
         os: [windows-latest, macos-latest]
+        # Conda does not support 3.11 yet.
         python: ["3.7", "3.8", "3.9", "3.10"]
-        # 3.11 Not yet available on Conda.
-        # python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
@@ -85,6 +84,7 @@ jobs:
           export FILENAME=Miniconda3-py${{ matrix.python }}_4.10.3-Linux-x86_64.sh
           wget https://repo.anaconda.com/miniconda/$FILENAME
           sha256sum $FILENAME | awk '$1=="${{ matrix.checksum}}"{print"good to go"}'
+          yum remove -y openssl-devel
           bash $FILENAME -b -p $HOME/miniconda
           source $HOME/miniconda/bin/activate
 


Test patch: