Skip to content

Commit

Permalink
use github sources to be able to run test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Mar 21, 2022
1 parent 9f76815 commit 941e52c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{% set name = "tokenizers" %}
{% set version = "0.11.6" %}

package:
name: {{ name|lower }}
name: tokenizers
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 562b2022faf0882586c915385620d1f11798fc1b32bac55353a530132369a6d0
url: https://github.com/huggingface/tokenizers/archive/refs/tags/python-v{{ version }}.tar.gz
sha256: 39f33cbfa7408fad08c01a46fa4d7c50b6b17b37f1d0a5bc7efbdd8128dab4ec
patches:
# backport huggingface/tokenizers#650
- patches/0001-Upgrade-pyo3-to-0.15.patch # [build_platform != target_platform]
Expand Down

0 comments on commit 941e52c

Please sign in to comment.