gasparka / pyha

Describe, simulate and debug hardware in Python
Other
9 stars 1 forks source link

Update tqdm to 4.65.1 #877

Closed pyup-bot closed 1 year ago

pyup-bot commented 1 year ago

This PR updates tqdm from 4.25.0 to 4.65.1.

Changelog ### 4.65.1 ``` - migrate `setup.{cfg,py}` => `pyproject.toml` (1490) + fix `asv` benchmarks + update docs - fix snap build (1490) - fix & update tests (1490) + fix flaky notebook tests + bump `pre-commit` + bump workflow actions ``` ### 4.65.0 ``` - add Python 3.11 and drop Python 3.6 support (1439, 1419, 502 <- 720, 620) - misc code & docs tidy - fix & update CI workflows & tests ``` ### 4.64.1 ``` - support `ipywidgets>=8` (1366, 1361 <- 1310, 1359, 1360, 1364) + fix jupyter lab display + update notebook tests ``` ### 4.64.0 ``` - add `contrib.slack` (1313) ``` ### 4.63.2 ``` - `rich`: expose `options` kwargs (1282) - `autonotebook`: re-enable VSCode (1309) - misc docs typos (1301, 1299) - update dev dependencies (1311) ``` ### 4.63.1 ``` - fix stderr/stdout missing `flush()` (1248 <- 1177) - misc speed improvements/optimisations ``` ### 4.63.0 ``` - add `__reversed__()` - add efficient `__contains__()` - improve CLI startup time (replace `pkg_resources` => `importlib`) - `tqdm.autonotebook` warning & `std` fallback on missing `ipywidgets` (1218 <- 1082, 1217) - warn on positional CLI arguments - misc build/test framework updates + enable `py3.10` tests + add `conda` dependencies + update pre-commit hooks + fix `pytest` config (`nbval`, `asyncio`) + fix dependencies & tests + fix site deployment ``` ### 4.62.3 ``` - fix minor typo (1246) - minor example fix (1246) - misc tidying & refactoring - misc build/dev framework updates + update dependencies + update linters + update docs deployment branches - misc test/ci updates + test forks + tidy OS & Python version tests + bump primary python version 3.7 => 3.8 + beta py3.10 testing + fix py2.7 tests + better timeout handling ``` ### 4.62.2 ``` - fix notebook memory leak (1216) - fix `contrib.concurrent` with generators (1233 <- 1231) ``` ### 4.62.1 ``` - `contrib.logging`: inherit existing handler output stream (1191) - fix `PermissionError` by using `weakref` in `DisableOnWriteError` (1207) - fix `contrib.telegram` creation rate limit handling (1223, 1221 <- 1220, 1076) - tests: fix py27 `keras` dependencies (1222) - misc tidy: use relative imports (1222) - minor documentation updates (1222) ``` ### 4.62.0 ``` - `asyncio.gather` API consistency with stdlib (1212) - fix shutdown exception (1209 <- 1198) - misc build framework updates (1209) - add [GH Sponsors](https://github.com/sponsors/tqdm/dashboard/tiers?frequency=one-time) & [merch](https://tqdm.github.io/merch) links ``` ### 4.61.2 ``` - install `colorama` on Windows (1139, 454) - add telegram support for `leave=False` (1189) - support `pandas==1.3.0` (1199) - fix `keras` potential `AttributeError` (1184 <- 1183) - fix py3.10 `asyncio` tests (1176) - flush `stdout`/`err` before first render (1177) - misc minor build & test framework updates (1180) ``` ### 4.61.1 ``` - fix `utils._screen_shape_linux()` sometimes raising `ValueError` (1174) - minor build/CI framework updates (1175) - minor documentation updates - fix typo (1178) - link to [merch](https://tqdm.github.io/merch)! :billed_cap: :shirt: ``` ### 4.61.0 ``` - `keras` support for `initial_epoch` (1150 <- 1138) - misc documentation updates + update & shorten URLs (1163) + fix typos (1162) - fix & update tests (1163) - minor framework updates (1163) ``` ### 4.60.0 ``` - add `contrib.logging` helpers for redirecting to `tqdm.write()` (1155 <- 786) - support `delay` in `notebook` (1142) - fix `contrib.tmap`, `tzip` not using `tqdm_class` (1148) - add `notebook` tests (1143) - updates & misc minor fixes for documentation ``` ### 4.59.0 ``` - add `tqdm.dask.TqdmCallback` (1079, 279 <- 278) - add `asyncio.gather()` (1136) - add basic support for `length_hint` (1068) - add & update tests - misc documentation updates (1132) + update contributing guide + update URLs + bash completion: add missing `--delay` - misc code tidy - add `[notebook]` extra (1135) ``` ### 4.58.0 ``` - add start `delay` in seconds (836 <- 1069, 704) - add tests - misc code tidy (1130) - misc documentation updates ``` ### 4.57.0 ``` - add line buffering for `DummyTqdmFile` (960) - fix & update demo notebook (1127) - fix py3 urllib examples (1127) - suppress deprecated `pandas` warnings (824, 1094) - misc framework updates - misc tests updates - misc code tidy ``` ### 4.56.2 ``` - fix attribute errors when disabled (1126) + `reset()` (1125) + `unpause()` - add tests ``` ### 4.56.1 ``` - fix `repr()` & `format_dict` when disabled (1113 <- 624) - rename `__repr__()` => `__str__()` - minor documentation updates (1113) + fix Binder demo notebook (1119) + remove explicit Dockerfile + move some images to external repo - add & update tests ``` ### 4.56.0 ``` - add `tqdm.tk` (1006) - add `tqdm.rich` - minor formatting improvements for `tqdm.gui` - fix `display()` inheritance/override - add tests - add documentation ``` ### 4.55.2 ``` - update tests (1108) + make pre-commit `pytest` quicker + switch pre-commit from `make` to `python` + add and update (auto) formatters & CI (1108, 1093) - update contributing guidelines (1108) + fix formatting + test dependencies (1109) - update `.gitignore` - fix (auto & manual) formatting - fix minor detected bugs - misc build/CI framework upgrades ``` ### 4.55.1 ``` - fix `(Rolling|Expanding).progress_apply()` on `pandas==1.2.0` (1106) - minor documentation updates ``` ### 4.55.0 ``` - fix ASCII notebook export (937, 1035, 1098) - fix notebook gui-mode extra spaces (433, 479, 550, 935) - better ETA for early iterations (1101) - better ETA for wildly varying iteration rates (1102) - update submodule inheritance + `tqdm.gui` + `tqdm.notebook` + `tqdm.contrib.telegram` + `tqdm.contrib.discord` - documentation updates - misc code optimisations - add tests - framework updates + build + CI & test - misc code linting/formatting ``` ### 4.54.1 ``` - drop `py3.4` (no longer tested) (1091) - misc CI updates (1091) + update `snap` build & deploy method + bot releases ``` ### 4.54.0 ``` - get rid of `get_new` (1085 <- 1084, 509) - minor CI framework optimisations ``` ### 4.53.0 ``` - provide `get_new()` helper for mixed subclasses in nested mode (509) - fix nested `asyncio` (1074) + document async `break` hazard - add tests - drop py2.6/3.2/3.3 and distutils (no longer tested) + drop py2.6 (502 <- 620, 127) + drop `distutils` in favour of `setuptools`/`setup.cfg` (723, 721) - CI framework overhaul + drop appveyor (Windows already tested by GHA) + skip `devel` PRs + automate linting comments on failure - use `setuptools_scm` (722) + fix & update tests + fix & upgrade snap build + update CONTRIBUTING docs ``` ### 4.52.0 ``` - allow delaying `display()` to a different notebook cell (1059 <- 909, 954) + add `notebook` argument `display=True` (use `display=False` with `display(tqdm_object.container)`) + add `keras.TqdmCallback` support for initialiser arguments (use `display=False` with `tqdm_callback_object.display()`) (1059 <- 1065) + add documentation - add CI on windows (507) - enable CI on OSX - migrate CI Travis => GHA + add tests for MacOS & Windows + add tests for py3.9 (1073) + update documentation - minify docker build - update tests - misc tidy ``` ### 4.51.0 ``` - add `{eta}` datetime `bar_format` argument (1055 <- 1051) + e.g. `bar_format='{l_bar}{bar}| {n_fmt}/{total_fmt} [{rate_fmt} ETA:{eta:%y-%m-%d %H:%M}{postfix}]'` - fix py3 CLI `--update` & `--update_to` - replace `nosetests` with `pytest` (1052, 1045) - add & update tests ``` ### 4.50.2 ``` - fixed `platform.system()` causing `fork()` warnings (691) - fixed `contrib.concurrent.process_map` pickling error with `threading.RLock` (920) - updated documentation & examples - updated CI framework - updated tests - misc code tidy ``` ### 4.50.1 ``` - fix multiprocessing lock creation leak (982, 936, 759) + fixes 617 which introduced this bug (v4.29.0, released 2019-01-06, undiagnosed until now) where multiple threads could concurrently create and append process locks to a global list, then try to release them without first acquiring :imp: - major test overhaul: fix, update, and speed up - misc CI framework updates - code linting - minor documentation tidy ``` ### 4.50.0 ``` - add bar `colour` option (1040 <- 450) + for `notebook` as well as `std`/CLI + plain text as well as hex (e.g. 'green' or '00ff00') - `notebook` improvements (1032 <- 1031) + split bar description into separate widget + improve `reset()` (handle width and colour) - fix exceptions when `file` is closed (1041, 1036 <- 1033) - add & update tests - minor documentation updates - move and configure issue/pr templates ``` ### 4.49.0 ``` - CLI: add `--tee` (1014 <- 1013) - CLI: add `--update` and `--update_to` (996 <- 975) - CLI: add `--null` (996) - CLI: accept `-` instead of `_` in options (e.g. `--update-to`) - make `update()` return `True` on `display` to ease efficient use of custom callbacks (845) - fix `py>=3` CLI `--delim` encoding error - fix `py>=3.5` version detection in `tqdm.auto` (1029 <- 1028) - fix final ETA when using `initial` (1021 <- 689) - update documentation + add & update custom callback examples + improve help formatting of boolean CLI options - add & update tests ``` ### 4.48.2 ``` - fix `notebook` formatting ``` ### 4.48.1 ``` - fix ANSI escape codes breaking `tqdm.write` (692, 777) - fix long-lived strongref (1007, https://bugs.python.org/issue39093) - fix cli `--version` crash on missing `git/refs/heads` (635) - fix `contrib.tenumerate` ignoring `total` (1017) - fix potential deep => shallow `kwargs` copy issues - improve `notebook` display for unknown `total` (1015) - make `asyncio` inherit from `std` rather than `auto` - make `auto` multi-inherit from `autonotebook`, `asyncio` on Python3.5+ - misc documentation & examples updates + mention `docker-compose` requirements (771) - misc linting & tidy - misc minor testing framework updates ``` ### 4.48.0 ``` - add `tqdm.asyncio` (1004, 772, 91 <- 65) + supports async iterables (`async for row in tqdm(iterable)`) + supports iterables + supports `coroutine.send` (`tqdm(coroutine).send`) + add `as_completed` wrapper (`for f in tqdm.as_completed(fs)`) - reduce `contrib.discord` logging verbosity - fix potential `pandas()` modifying `**kwargs` bug - update documentation + add missing inline docstrings + update contributing notes + update readme + add to `examples/` folder * async_coroutines * coroutine_pipe + standardise variable naming - add tests + add benchmark tests against popular alternative libraries + test new functionality + more thorough `miniters` test (1003) - misc framework updates + tidy changelog helper + add helper bots * comment-bot `/tag` * post-release-bot - wiki updater - website updater * benchmark regressions - full/thorough test on schedule & release - quick test on PR ``` ### 4.47.0 ``` - add `contrib.discord` (similar to `contrib.telegram`) (976) - add `contrib.bells` to auto-enable all extras - add `contrib.utils_worker` for common slow tasks (e.g. web I/O) + fix lazy large memory usage & discard unsent messages (unprocessed tasks) - fix slow notebook imports (955 <- 709) - fix `gui` `TypeError` on unknown `len()` (971) - misc documentation/error message updates + more succinct ImportError on missing `ipywidgets` (872) + fix broken/deprecated link (981) + add inline usage for `contrib.discord` and `contrib.telegram` - misc framework updates + add official `py3.8` support (986) + fix `snap` builds ![contrib.discord](https://img.tqdm.ml/screenshot-discord.png) ![contrib.telegram](https://img.tqdm.ml/screenshot-telegram.gif) ``` ### 4.46.1 ``` - fix missing `sys.setcheckinterval` in py3.9 (978) - fix `keras.TqdmCallback` compatibility with `tensorflow==2.2.0` (979) - update documentation + correct `contrib.concurrent` correct `max_workers` (977) + drop prominent mention of `xrange` (965) - minor linting ``` ### 4.46.0 ``` - add `contrib.telegram` 949 <- 948 - add `bash` tab completion and `--comppath` 946, 947 <- 858 - fix exception safety in `external_write_mode` 940 - add `requests` examples (242) - update documentation ``` ### 4.45.0 ``` - propagate and `close()` on exceptions (926 <- 548) - fix nested `clear()` - rework nested `close()` (930 <- 924 <- 918, 677) + reduces screen flicker/blank space at the cost of ordering - update all documentation & demos - add and update tests - dev framework: add pre-commit helper ``` ### 4.44.1 ``` - fix `_utils` `ImportError` => `DeprecationWarning` (928 <- 927) ``` ### 4.44.0 ``` - add automatic `nrows` and expose for manual override (918 -> 924) - expose and warn about small `chunksize` in `tqdm.contrib.concurrent.process_map` (912) - fix py2 file stream comparison (727 -> 730) - deprecate `utils._environ_cols_wrapper` - add and update tests - add documentation ``` ### 4.43.0 ``` - fix `notebook` exceptions (669 <- 650) + `set_description()` when `disable=True` - `contrib.concurrent`: avoid unnecessary `len(iterable)` (893) - update documentation + clarify etymology (895) + fix minor typo (890) + update contributors and years - update tests - fix CI tests for PRs ``` ### 4.42.1 ``` - support `pandas==1.0.0` (780, 555) - minor metadata updates - minor CI test update ``` ### 4.42.0 ``` - `notebook`: update `disable=None` behaviour (880) - `tqdm.keras`: support `tensorflow.keras` as well as `keras` (885) - add `contrib` (882) + `tenumerate` (840 <- 480, 402) + `tzip` <= `zip` + `tmap` <= `map` + add `concurrent` module * `thread_map` <= `concurrent.futures.ThreadPoolExecutor.map` * `process_map` <= `concurrent.futures.ProcessPoolExecutor.map` + add `itertools` module (225) stub * `product` - add & update tests - add & update documentation + [README](https://github.com/tqdm/tqdm#tqdm) + [examples/](https://github.com/tqdm/tqdm/tree/master/examples) - update CI framework ``` ### 4.41.1 ``` - `keras` module tidy and fixes + fix `batch_size=None` (869) + add missing `pop('size')` ``` ### 4.41.0 ``` - trim on `ncols` overflow with ANSI handling (850, 716 <- 690) - add `notebook.reset()` (864) - add `keras.TqdmCallback` (867 <- 835) - documentation updates + document newly added features (above) + notebook `ncols` percentage/pixels (276) - test updates + test newly added features (above) + add CI for `win` and `osx` (841) + `py2` threading ``` ### 4.40.2 ``` - fix `pandas` unhashable func (862 -> 863) + add tests ``` ### 4.40.1 ``` - fix floating point imprecision raising errors (859) - fix auto gh releases ([travis-ci/dpl914](https://github.com/travis-ci/dpl/issues/914)) - update CONTRIBUTING ([84 (comment)](https://github.com/tqdm/tqdm/issues/84#issuecomment-167516992)) ``` ### 4.40.0 ``` - officially support `float` for `n` and `total` (802) + `notebook`: use `FloatProgress` <= `IntProgress` (471, 456) + allow imprecision (`n <= total + epsilon`) (849) - fix unicode bar format arguments (803 -> 851) - add `contrib` submodule (815) - add `wrapattr`, `utils.CallbackIOWrapper`, `contrib.DummyTqdmFile` (84 -> 844) - update tests - update documentation - tidy automatic `snap` deployments - minor doc update (854) ``` ### 4.39.0 ``` - add `pandas` builtin operations check (843 <- 697) - avoid unnecessary `dedent` (837) - remove unneeded bar logic - misc code tidy - update documentation + document default argument overriding (370) + add missing `isatty()` (713) + update badges + add code of conduct - update framework + clean CI stages + update CI default `py3.6` => `py3.7` + automate snap releases (686 <- 685) ``` ### 4.38.0 ``` - support `lock_args` for e.g. non-blocking intermediate writes (838 -> 839) + use `self.refresh()` in more places + add and update performance tests + support args for `TqdmDefaultWriteLock.acquire()` - fix colorama on win (678, 764) - framework updates + CI cleanup * move to stages (check/test/deploy) * auto deploy notes * deploy only on parent repo * separate docker deploy + update documentation sync/generation - update examples - update documentation - add and update tests - misc tidy and linting ``` ### 4.37.0 ``` - potential future pandas fix (824) - better unicode widechar support (803 -> 410, 805) - fix example/tqdm_wget unknown total (826) - add `stacklevel=2` to warnings (821) - misc framework updates + snapcraft version fix + update issue/pr templates (830) + update unit tests - misc documentation updates + update parallel (multiprocessing, ThreadPoolExecutor) example (407) + add slides, video images + add CII Best Practices badge + add repology badge + update badge icons ``` ### 4.36.1 ``` - fix CLI entrypoint ``` ### 4.36.0 ``` - expose more custom format params - potential thread safety fix (548) - update submodule architecture (198 -> 800) + backward-compatibility + expose `utils` + rename `main` -> `cli` + add/fix tests + fix minor cached var optimisation + `gui` partial upgrade (790) + `notebook` upgrade (790) * support `{bar}` in `bar_format` (594) * inherit methods including `set_*(refresh)` (740 -> 741) + ready for `contrib` releases (252) - support custom `bar_format` with unknown `total` - fix `tqdm_notebook` red block on explicit `file=None` (791) - update notebook to fully support custom `bar_format` (594, 649) - misc tidy + warnings + linting + update submodule contribution guide (252) + parallel `(py)make test` + fix Zenodo metadata - update documentation + `pandas`, `notebook`, `gui` (245) + indentation + update multiprocessing and multithreading examples (796) ``` ### 4.35.0 ``` - add `{bar}` format specifier (623 -> 799) + `[width][type]` - add tests and documentation - update performance tests ``` ### 4.34.0 ``` - add `leave=None` convenience option for `leave = position == 0` - ensure nested completed bars respect `leave=True` (230) - ensure nested bars are cleared before being moved up (795) - support both ` ` and `=` syntax for CLI options (761 -> 774) - misc documentation updates (778, 782) - fix/update tests - update GitHub docker package deployment ``` ### 4.33.0 ``` - fix `pandas==0.25` API change (780) - add contributor badges (`sourcerer`) - fix py26 travis CI - metadata fixes + `.zenodo.json` + `CODEOWNERS` - GitHub package registry docker deployment - minor linting - documentation updates (773) ``` ### 4.32.2 ``` - fix 'Set changed size during iteration' (481 -> 700, 754) - add `tqdm.autonotebook` check for `$VSCODE_PID` (747 -> 751) - fix missing `multiprocessing` in Jython (698) - make `bool(tqdm(iter))` consistent with `bool(iter)` (353 -> 694) - add and update unit tests - add and update documentation & framework + update notable contributors list + update usage docstrings (714, 715) + add funding + add `awesome-python` badge + trove classifier update + update demo notebook badges + add JOSS DOI + add Zenodo metadata + move unnecessary root clutter ``` ### 4.32.1 ``` - fix `notebook` with unknown `total` (743) ``` ### 4.32.0 ``` - support `unit_scale` in `notebook` - support negative update (432, 545) - add `reset()` function (547, 545) - add `[python setup.py] make run` - add and update documentation - example of dynamic usage (735, 545, 547, 432, 374) - note writing issues (737) - update badges - add [PyData2019 slides link](https://tqdm.github.io/PyData2019/slides.html) - add [JOSS paper](https://github.com/openjournals/joss-papers/blob/joss.01277/joss.01277/10.21105.joss.01277.pdf) - update manpages - add docker install - add snapcraft install - notebooks: add binder, rename RMOTR => notebooks.ai (679) - prettify and unify contributors/maintainers/authors - CI and release framework updates - add snapcraft snaps (647) - add travis auto-deployment (685) + PyPI releases + docker devel/releases - update deployment dev docs - fix travis deploy pymake - update .gitinore - add & update unit tests - automate more documentation ``` ### 4.31.1 ``` - fix `file.encoding==None` caused by 598 (673 -> 676) + add tests - tidy code, update authors and tests + add `setup.py` test to CI ``` ### 4.31.0 ``` - Write bytes to `stdout`/`stderr` in py2 (https://bugs.python.org/issue21363, #589 -> 598) - Add `write_bytes` parameter for py2/3 default override - support custom bar characters vias `ascii` parameter (223 -> 227) - implement, document and test custom bar spinners - support custom `bar_format` with unknown `total` (282 -> 284) - fix `TypeError` when `unit_scale` and unknown `total` - document `format_dict` - expose `elapsed_s`, `remaining_s` to `bar_format` - add `unit` option to `bar_format` (368) - auto `README.rst` generation framework - add notes in `CONTRIBUTING.md` - update tests - update documentation - misc code tidy ``` ### 4.30.0 ``` - avoid moving when `leave=False` - generalise nested bar tests - add `display()` helper function - add and expose `format_dict` (562, 482, 494, 656) + allow arbitrary keyword arguments for `format_meter` + document `format_dict` overriding + add tests for overriding + related: 660 172 587 - add and tidy developer documentation - fix py3 CLI pipe decoding error (663) - framework overhaul (developing, testing, Travis CI updates) - tidy code and style (flake8) - `setup.py` refactor + `setup.py make` * add support for multi-line commands * tidy and efficiency + replace `setup.py`'s built-in `make` -> `py-make>=0.1.9` (290) + add `requirements-dev.txt` and `extras_require[dev]` - add, update and tidy tests - include interactive Jupyter demonstration (652 -> 659) - update documentation + add FAQ about py2 pipes (359) + add badges + update examples + update authors ``` ### 4.29.1 ``` - fix `classmethod` lock bug (617: 457 -> 658) - add unit test to prevent regression ``` ### 4.29.0 ``` - Avoid global multiprocessing locks (611 -> 617) - Add support for infinite iterables (651) - Fix missing attr pos when used in multi-threaded environment (573) - Do not join `TMonitor` if it is the current thread (613 -> 641) - Add OpenBSD NIX support (638) - Unit tests, general documentation fixes and tidying (e.g. 642) - CI travis improvements + `py37-dev` -> `py37` (622) + fix `py26` ``` ### 4.28.1 ``` - fix `--manpath` file not found - expose `main():argv` - add unit tests - release framework tidy + update .`gitattributes` + remove deprecated `make`/`dist` options ``` ### 4.28.0 ``` - remove installation of man pages by default (460, 628) - CLI:add `--manpath` option (629) - documentation additions and fixes ``` ### 4.27.0 ``` - fix `str.isnumeric` 605 - fix `WeakSet` `KeyError` 548, 553, 596 -> 607 - stop `tqdm_notebook` description truncation 582 -> 599 - include `unit_scale` for `rate` 608 - add `auto` -> nowarning `autonotebook` - add better postfix numeric formatting 621 - minor refactoring 609 -> 616 - update documentation - add unit tests - fix py26 CI ``` ### 4.26.0 ``` - fix `smoothing` (566 -> 601) - `pandas` updates + address the `FutureWarning` in `pandas`, drop `pandas` test in py34, add in py37 (603) + support `pandas` `axis='index' or 'columns'` (570) - minor documentation updates (597, 600, 606) + developer notes ```
Links - PyPI: https://pypi.org/project/tqdm - Changelog: https://pyup.io/changelogs/tqdm/
pyup-bot commented 1 year ago

Closing this in favor of #878