Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tqdm to 4.66.4 #476

Closed
wants to merge 1 commit into from
Closed

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented May 3, 2024

This PR updates tqdm from 4.35.0 to 4.66.4.

Changelog

4.66.4

- `rich`: fix completion (1395 <- 1306)
- minor framework updates & code tidy (1578)

4.66.3

- `cli`: `eval` safety (fixes CVE-2024-34062, GHSA-g7vv-2v7x-gj9p)

4.66.2

- `pandas`: add `DataFrame.progress_map` (1549)
- `notebook`: fix HTML padding (1506)
- `keras`: fix resuming training when `verbose>=2` (1508)
- fix `format_num` negative fractions missing leading zero (1548)
- fix Python 3.12 `DeprecationWarning` on `import` (1519)
- linting: use f-strings (1549)
- update tests (1549)
+ fix `pandas` warnings
+ fix `asv` (https://github.com/airspeed-velocity/asv/issues/1323)
+ fix macos `notebook` docstring indentation
- CI: bump actions (1549)

4.66.1

- fix `utils.envwrap` types (1493 <- 1491, 1320 <- 966, 1319)
+ e.g. cloudwatch & kubernetes workaround: `export TQDM_POSITION=-1`
- drop mentions of unsupported Python versions

4.66.0

- environment variables to override defaults (`TQDM_*`) (1491 <- 1061, 950 <- 614, 1318, 619, 612, 370)
+ e.g. in CI jobs, `export TQDM_MININTERVAL=5` to avoid log spam
+ add tests & docs for `tqdm.utils.envwrap`
- fix & update CLI completion
- fix & update API docs
- minor code tidy: replace `os.path` => `pathlib.Path`
- fix docs image hosting
- release with CI bot account again (https://github.com/cli/cli/issues/6680)

4.65.2

- exclude `examples` from distributed wheel (1492)

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)
Links

@pyup-bot pyup-bot mentioned this pull request May 3, 2024
@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Aug 4, 2024

Closing this in favor of #492

@pyup-bot pyup-bot closed this Aug 4, 2024
@rvosa rvosa deleted the pyup-update-tqdm-4.35.0-to-4.66.4 branch August 4, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant