File tree Expand file tree Collapse file tree 9 files changed +14
-139
lines changed
Expand file tree Collapse file tree 9 files changed +14
-139
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3737 platform : linux
3838 - os : windows
3939 ls : dir
40- interpreter : 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3. 9 pypy3.10
40+ interpreter : 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
4141 - os : windows
4242 ls : dir
4343 target : x86_64
5454 # interpreter: 3.11 3.12
5555 - os : macos
5656 target : aarch64
57- interpreter : 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3. 9 pypy3.10
57+ interpreter : 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
5858 - os : ubuntu
5959 platform : linux
6060 target : i686
Original file line number Diff line number Diff line change 5555 steps :
5656 - name : Checkout repository
5757 uses : actions/checkout@v4
58+
5859
5960 - name : Install Rust
6061 uses : actions-rs/toolchain@v1
7677
7778
7879 - name : Cache Cargo Registry
79- uses : actions/cache@v1
80+ uses : actions/cache@v4
8081 with :
8182 path : ~/.cargo/registry
8283 key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
@@ -107,7 +108,7 @@ jobs:
107108 uses : actions-rs/cargo@v1
108109 with :
109110 command : audit
110- args : -D warnings -f ./bindings/python/Cargo.lock
111+ args : -D warnings -f ./bindings/python/Cargo.lock --ignore RUSTSEC-2024-0436 --ignore RUSTSEC-2025-0014
111112
112113 - name : Install
113114 working-directory : ./bindings/python
Original file line number Diff line number Diff line change 9494 uses : actions-rs/cargo@v1
9595 with :
9696 command : audit
97- args : -D warnings -f ./tokenizers/Cargo.lock
97+ args : -D warnings -f ./tokenizers/Cargo.lock --ignore RUSTSEC-2024-0436 --ignore RUSTSEC-2025-0014
9898
9999 # Verify that Readme.md is up to date.
100100 - name : Make sure, Readme generated from lib.rs matches actual Readme
Original file line number Diff line number Diff line change 1212 with :
1313 fetch-depth : 0
1414 - name : Secret Scanning
15- uses : trufflesecurity/trufflehog@main
15+ uses : trufflesecurity/trufflehog@853e1e8d249fd1e29d0fcc7280d29b03df3d643d
16+ with :
17+ # exclude buggy postgres detector that is causing false positives and not relevant to our codebase
18+ extra_args : --results=verified,unknown --exclude-detectors=postgres
Original file line number Diff line number Diff line change 22authors = [" Nicolas Patry <nicolas@huggingface.co>" ]
33edition = " 2021"
44name = " node"
5- version = " 0.21.0 -dev.0"
5+ version = " 0.21.2 -dev.0"
66
77# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88
Original file line number Diff line number Diff line change 11[package ]
22name = " tokenizers-python"
3- version = " 0.21.0 -dev.0"
3+ version = " 0.21.2 -dev.0"
44authors = [" Anthony MOI <m.anthony.moi@gmail.com>" ]
55edition = " 2021"
66
Original file line number Diff line number Diff line change 22authors = [" Anthony MOI <m.anthony.moi@gmail.com>" , " Nicolas Patry <patry.nicolas@protonmail.com>" ]
33edition = " 2018"
44name = " tokenizers"
5- version = " 0.21.0 -dev.0"
5+ version = " 0.21.2 -dev.0"
66homepage = " https://github.com/huggingface/tokenizers"
77repository = " https://github.com/huggingface/tokenizers"
88documentation = " https://docs.rs/tokenizers/"
Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ impl TemplateProcessingBuilder {
466466 }
467467
468468 fn validate ( & self ) -> std:: result:: Result < ( ) , String > {
469- let pair_has_both = self . pair . as_ref ( ) . map_or ( true , |pair| {
469+ let pair_has_both = self . pair . as_ref ( ) . is_none_or ( |pair| {
470470 let mut has_a = false ;
471471 let mut has_b = false ;
472472 for piece in & pair. 0 {
You can’t perform that action at this time.
0 commit comments