mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 16:49:27 +00:00
Fixing conda ssl location (#1124)
* Fixing conda build ? * Reduce the scope to speedup testing. * Reduce more. * Trying to link to conda lib. * Trying to enable `pkg-config` on the codna env. * Really publish. * Update conda builds. * Remove 3.11 * Putting releases back onto release track.
This commit is contained in:
2
.github/conda/meta.yaml
vendored
2
.github/conda/meta.yaml
vendored
@ -13,6 +13,8 @@ requirements:
|
|||||||
- python x.x
|
- python x.x
|
||||||
- setuptools
|
- setuptools
|
||||||
- setuptools-rust
|
- setuptools-rust
|
||||||
|
- pkg-config
|
||||||
|
- openssl
|
||||||
|
|
||||||
run:
|
run:
|
||||||
- python x.x
|
- python x.x
|
||||||
|
4
.github/workflows/python-release-conda.yml
vendored
4
.github/workflows/python-release-conda.yml
vendored
@ -14,9 +14,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, macos-latest]
|
os: [windows-latest, macos-latest]
|
||||||
|
# Conda does not support 3.11 yet.
|
||||||
python: ["3.7", "3.8", "3.9", "3.10"]
|
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:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -85,6 +84,7 @@ jobs:
|
|||||||
export FILENAME=Miniconda3-py${{ matrix.python }}_4.10.3-Linux-x86_64.sh
|
export FILENAME=Miniconda3-py${{ matrix.python }}_4.10.3-Linux-x86_64.sh
|
||||||
wget https://repo.anaconda.com/miniconda/$FILENAME
|
wget https://repo.anaconda.com/miniconda/$FILENAME
|
||||||
sha256sum $FILENAME | awk '$1=="${{ matrix.checksum}}"{print"good to go"}'
|
sha256sum $FILENAME | awk '$1=="${{ matrix.checksum}}"{print"good to go"}'
|
||||||
|
yum remove -y openssl-devel
|
||||||
bash $FILENAME -b -p $HOME/miniconda
|
bash $FILENAME -b -p $HOME/miniconda
|
||||||
source $HOME/miniconda/bin/activate
|
source $HOME/miniconda/bin/activate
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user