Commit Graph

32 Commits

Author SHA1 Message Date
862046ac94 CD backports (#1318)
* CD backports

follow
huggingface/safetensors#317

* fix node bindings?

`cargo check` doesnt work on my local configuration from `tokenizers/bindings/node/native`
i don't think it will be a problem but i have difficulty telling

* backport #315

* safetensors#317 back ports
2023-08-10 18:52:22 +02:00
a03330607b Update all GH Actions with dependency on actions/checkout from v[1,2] to v3 to notably improve performance (retrieve only the commit being checked-out) (#1256) 2023-05-22 14:50:00 +02:00
daf8aebd76 Adding python 3.8 for M1 (#1147) 2023-01-16 16:40:46 +01:00
5a94a2b6e7 Add missing build targets (#1145)
* M1 3.11 was not out neither windows amd64.

* python@v4.

* Actually upload.

* Update needs.

* Preparing the actual PR.
2023-01-15 10:18:08 +01:00
11bb2e00f2 Add python 3.11 to manylinux buildwheels (#1096)
* Add python 3.11 to manylinux buildwheels

* Fixing clippy.

* Node clippy.

* Python clippy.

* Changelog + version number update.

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
2022-11-07 08:45:04 +01:00
96a9e5715c New version. (#1082)
* New version.

The actual release will happen *before* PyO3 0.17.2 because
the tests were ran before than.

* Manylinux2014 necessary now with Rust 1.64.
2022-10-06 15:45:56 +02:00
c174b5bd34 Adding m1 build to the release process for Python. (#1055)
* Adding m1 build to the release process for Python.

* typo.
2022-08-25 11:06:03 +02:00
cabbecb96c add python3.10 release (#877)
* add missing python3.9 classifier

* add python3.10 release

* run tests on 3.10

* Revert "run tests on 3.10"

This reverts commit ceed64249e54b6ec622b06c59bf47da7c6dfc1b0.
2022-01-12 09:42:13 +01:00
943f4ef469 Preparing for 0.11.0 Re-release. (#856)
* Starting from master again.

Upgrade libssl everywhere on quay

Extra is ubuntu based (running the quay in a container).

making only extra run + attempt to fix ssl update.

Extra with newer openssl versions.

`-y`.

Use checkoint@v2 + remove `-` from environment name.

Debugging back the conda release..

Attempt to use `base` env.

3.7 requires `activate-environement: true.

MacOS and windows don't run on manylinux.

Remove yum on windows/macOs.

Miniconda doesn't like manylinux2014 anymore ?

Attempting different approach for manylinux + conda.

Use wget.

Extra bracet.

Executing $filename

Activate the env.

Activate the env on eevery step that requires it.

Openssl-devel.

Activating env for extracting version ?

Retest all workflows.

Manylinux2010 requires checkout@v1

Run on tag for extra and conda again.

openssl-devel.

* Putting back into deploy state.

* Adding links in CHANGELOG.

* Remove clippy from changelog.
2021-12-23 16:43:48 +01:00
c1100ec542 Clippy fixes. (#846)
* Clippy fixes.

* Drop support for Python 3.6

* Remove other 3.6

* Re-enabling caches for build (5h + seems too long and issue seems
solved)

https://github.com/actions/virtual-environments/issues/572

* `npm audit fix`.

* Fix yaml ?

* Pyarrow issue fixed: https://github.com/huggingface/datasets/pull/2268

* Installing dev libraries.

* Install python dev elsewhere ?

* Typo.

* No sudo.

* ...

* Testing the GH again.

* Maybe v2 will fix ?

* Fixing tests on MacOS Python 3.8+
2021-12-15 15:55:48 +01:00
755e5f5c1e Remove support for Python 3.5 (#714)
* Python - remove support for python 3.5

* revert ci

* revert build-wheels.sh

* Update CHANGELOG.md
2021-05-24 17:31:01 -04:00
b122737ec6 Moving to manylinux2010 and remove nightly on Windows. (#455)
* Moving to manylinux2010 and remove nightly on Windows.

* Add build for manylinux2014 for powerpc and aarch64 + Python v3.9

* Also add support for IBM mainframe

* try with env variables

* Move extra builds to their own workflow

Co-authored-by: Anthony MOI <m.anthony.moi@gmail.com>
2020-11-09 23:23:07 -05:00
da0a5172ef Fix python-release for macOS 2020-07-20 17:01:02 -04:00
d3e1c55fb7 CI - Only support macOS 10.11+ 2020-07-17 12:11:41 -04:00
212747f7fd CI - Set MACOSX_DEPLOYMENT_TARGET=10.10 2020-07-17 12:11:41 -04:00
171c6500ec Update Python-release CI 2020-05-27 14:35:05 -04:00
50210a1486 Update Python-release CI 2020-05-27 14:27:30 -04:00
f8f5cafccd Fix CI for windows 32-bit 2020-05-21 19:26:05 -04:00
400d9545fd Update rust toolchain for now 2020-05-21 19:15:40 -04:00
b98e330418 Use older nightly on windows for now 2020-05-21 09:42:13 -04:00
afe96da7e3 Hotfix Python-release workflow 2020-03-02 15:02:26 -05:00
d073c071e3 Cleanup and restore all steps 2020-03-02 14:17:26 -05:00
fee06dd760 Re-activate other builds 2020-03-02 14:17:26 -05:00
866cff169a Try overriding rust-toolchain 2020-03-02 14:17:26 -05:00
b48280142e Try building with rust x86 2020-03-02 14:17:26 -05:00
d470222138 Use bash shell even for windows 2020-03-02 14:17:26 -05:00
f87ab05266 Do not use rename command 2020-03-02 14:17:26 -05:00
d31b0b1ace fix typo 2020-03-02 14:17:26 -05:00
680f1771a9 Update python-release with some more wheels 2020-03-02 14:17:23 -05:00
7121cab87b trigger python release action on tag push 2020-01-23 15:15:51 -05:00
c4bda752bd Fix wheels building on old versions
The CI env already had an installed version of setuptools. This old
version didn't support markdown for long description. So it built a
wrong wheel file, and twine complained.
cf. https://github.com/huggingface/tokenizers/runs/331944386
2019-12-03 17:41:43 -05:00
5f31ac3f75 Python release CI (#2) 2019-12-02 19:04:25 -05:00