文件历史

提交图

56 次代码提交

作者 SHA1 备注 提交日期
Ulyana 7f3e90a34c update tests 2026-01-09 10:38:41 -08:00
Ulyana 6008ee9aa2 set to release python only 2026-01-09 10:24:32 -08:00
Ulyana cad39bb801 just test for latest 2026-01-09 10:04:19 -08:00
Ulyana 90106e972a update workflow to test bleeding edge on cron 2026-01-09 09:47:46 -08:00
Ulyana c1937e771b Merge branch 'master' into update-stale-ci-dependencies 2026-01-08 21:10:10 -08:00
Ulyana 32646b168c test bleeding edge + max version 2026-01-08 21:09:47 -08:00
Ulyana 04d9ad51d1 Remove Tensorflow from docs + code (#1289) 2026-01-08 20:25:06 -08:00
Ulyana d9c6640986 add dependency vulnerabilities 2026-01-08 20:17:51 -08:00
Ulyana 5ec1d4789a update dependencies to latest versions 2026-01-08 16:07:55 -08:00
Ulyana 30b35f4252 Add back CI for core functionality (#1279) 2026-01-07 18:12:14 -08:00
Ulyana cbe0e7e049 Fix docs for 2.8.0 release (#1278) 2026-01-07 18:04:56 -08:00
Ulyana 980c6ddc07 Extend package support Python 10-14 + relax dependencies (#1276) 2026-01-07 14:11:40 -08:00
Elías Snorrason 39a46bc2d6 Update Python version requirements to 3.10 in pyproject.toml, README.md, and CI configuration (#1268)
Drop Python versions that have reached EOL
2025-12-17 16:42:50 +00:00
Jonas Mueller 381af9345b Update CI to macos-13 instead of 12 (#1219)
macos-12 now deprecated in GH actions
2024-12-25 14:32:50 -05:00
Duke bf41a3a844 Consolidate test jobs (#1198) 2024-09-05 19:17:17 +00:00
Elías Snorrason a68b2c17f9 Pin codecov-action to version "v0.7.3" in CI workflow (#1184) 2024-08-05 19:01:11 +00:00
Jonas Mueller a02093bf15 Move models.fasttext wrapper to examples repo (#1173) 2024-07-08 22:10:52 -07:00
Elías Snorrason 70ae424689 Pin fasttext in CI (#1144) 2024-06-13 18:17:31 +00:00
Elías Snorrason 5bece29fc8 Temporarily Revert to macOS 12 in CI due to Incompatibility with Python 3.8 and 3.9 (#1110)
Due to a migration in our CI environment from `macos-latest` to macOS 14 runner images, we've encountered a compatibility issue with Python 3.8 and 3.9. The new architecture of macOS 14 does not currently support these Python versions. While we expect future updates to resolve this, we will temporarily revert our CI to use macOS 12 to ensure continuity in our workflows.
2024-04-23 13:49:45 +00:00
Elías Snorrason a259d26d7c Update tensorflow version to <2.16, also for Windows in CI 2024-03-13 17:19:03 +00:00
Elías Snorrason bad83457f3 Drop Python 3.7 support and add Python 3.11 support (#980) 2024-02-07 14:46:58 -07:00
Elías Snorrason 070b6e5b42 Fix dev dependencies (pytest and black formatter) (#975) 2024-02-01 17:42:56 +00:00
Aditya Thyagarajan b2de6bbefb add property based test for multilabel classification (#945)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-10 14:55:09 +00:00
Ganesh Tata 3fb20e9596 CI: Run slowest tests at the end and fail early (#900) 2023-12-14 17:59:28 +00:00
Sanjana 944c61379d Cleanvision Integration (#679)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-07-25 15:51:53 +00:00
Ulyana 5f3de05e9e Temporary Github Actions workaround: Pin Python 3.7.16 (#748)
Co-authored-by: Sanjana Garg <garg.sanjana.95@gmail.com>
2023-06-22 16:30:24 -07:00
Sanjana a3ae30f1a4 CI tests without optional dependencies and min-versions installed (#701) 2023-05-09 14:09:01 -07:00
Hui Wen 6aaee8332b Create new cleanlab.models module (#601)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-02-07 10:03:32 -08:00
Ulyana c191d8781d Fix format compatibility with latest black==23. release (#620) 2023-02-07 10:01:45 -08:00
Jonas Mueller 6ed61e0bb3 cap black version in CI (#618) 2023-02-02 01:13:59 -08:00
Ulyana 7caed93784 Update github actions (#589)
update: github actions to v3, codecov to v3, setup-python to v4, setup node v2 to v3, setup cache v2 to v3
2023-01-05 21:42:34 -08:00
Jonas Mueller 2c69094da1 drop python 3.6 from CI (#577)
followup PR will remove mentions of 3.6 support
2022-12-28 14:40:56 -08:00
Elías Snorrason 0a3344726f chore: 🔥 remove .pylintrc (#564)
flake8 should be used instead
2022-12-13 00:58:22 -08:00
Anish Athalye 0e4e38a9ef Add back testing Python 3.6 (#562)
If we want to continue supporting Python 3.6 (as we claim in the
README), we should make sure we keep testing with it.
2022-12-11 17:57:23 -08:00
Hui Wen d7723d5159 change nblint to gh actions (#560) 2022-12-09 00:41:41 -08:00
Jonas Mueller 7b1946e75b remove python 3.6 testing in CI (#558) 2022-12-06 13:29:45 -08:00
Anish Athalye ecefdbf3d6 Switch CI cron schedule (#548)
Previously, the CI cron schedule, copy-pasted from a personal project,
ran jobs at 8am UTC (3am EST or 4am EDT) on Saturday. This isn't a great
time to get emails about CI breakages.

This patch switches the schedule so it runs on Monday morning (7am EST /
8am EDT).

[skip ci]
2022-11-26 14:43:55 +00:00
Anish Athalye 91b5b40ff7 Move mypy configuration to config file (#545)
This patch moves the `--allow-redefinition` into the `.mypi.ini` file.
Centralizing our mypy config in a single file makes sense, and this way,
if people want to run mypy locally, they don't need to remember to
supply this command-line argument.
2022-11-26 08:07:38 -05:00
Ilnar 10abd7d191 replace pylint --> flake8 in CI (#531)
* add flake8 configuration in setup.cfg
2022-11-08 16:08:57 +00:00
Jonas Mueller 9da372bb4d typecheck with python v3.10 (#521)
Thanks @huiwengoh for diagnosing this problem!
2022-11-03 23:17:41 -07:00
Ulyana a6d71bf2a0 CI: check cleanlab imports without optional dependencies installed (#470)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2022-09-29 13:06:43 -07:00
Mohit Saxena 57adf33369 Adding pylint CI checks (#465)
* Update ci.yml

* remove unused import

* 💚 merge pylint jobs

* 🔧 add .pylintrc

* 🚨 handle pylint errors

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2022-09-23 16:10:03 +00:00
Jonas Mueller a4ad6460a2 Format return docstrings and add typing (#437)
* typing and return docstrings

* address typing complaints

* allow redefinition

* typing complains for pandas

* .values -> to_numpy()
2022-09-15 11:46:14 +00:00
Jonas Mueller b93fdebf30 Add compatibility for tensorflow and pytorch Dataset objects (#311)
* validation_func docstring

* torch,tf compatibility+tests

* keras test

* skip tests if python < 3.7

* pytorch numpy int bug on windows

* make tensorflow test work on windows

* move tf env variable setting

* pytorch test increase epochs

* install cpu-tensorflow on windows CI

* torch test optimizer to adam

* fix bugs in shuffled TF dataset

* dummy unit test for TF on windows

* dummy code for TF windows testing

* deal with np.int bug on windows

* remove windows debugging code

* docstrings for new functionality

* address merge conflicts

* reformat after merge

* addressed comments
2022-07-27 21:42:13 -07:00
Anish Athalye 0705ff2d0a Add static type checking
Our package doesn't have type annotations everywhere, so we can't use
mypy in strict mode just yet. Still, adding type checking in CI is
valuable, so we don't have unchecked annotations in our code.

This patch includes basic fixes to make type checking pass, including
switching the incorrect `np.array` type annotation for `np.ndarray` and
adding some assertions for flow-sensitive typing.
2022-07-06 17:21:56 -04:00
Anish Athalye 6cac342613 Add CI check that .ipynb outputs are empty
Preserving the output cells in Jupyter notebooks that are checked in to
this repo bloat the repo size, and keeping the output is not necessary
because the notebooks are run as part of the CI for producing docs.

For example, in https://github.com/cleanlab/cleanlab/pull/165, the
`audio.ipynb` is 112K (and now part of the repo history forever), while
clearing the output cells reduces that size down to 24K. I suspect that
Git's delta compression will also work better without the output cells
there as we make changes to the notebook. Also, the diffs will be more
readable.
2022-04-05 08:15:54 -04:00
Anish Athalye c73336cb3a Merge branch 'development-guide' 2022-04-03 19:53:50 -04:00
Anish Athalye 9101b85e68 Add development guide
This patch also adds a pre-commit hook that runs Black.
2022-04-03 19:31:05 -04:00
Anish Athalye 78c30b04f7 Add Python 3.10 to CI 2022-04-03 14:22:49 -04:00
Anish Athalye 11dff1faf4 Standardize code style to Black (#107)
* Set up Black as the code style

* Migrate code style to Black
2022-03-16 21:27:36 -04:00