Skip to content

Releases: swansonk14/p_tqdm

Fixing typing issue in setup.py

08 Aug 09:32
df4fe49
Compare
Choose a tag to compare

Fixing a typing issue in setup.py that broke installs for Python <3.10. Thank you @sahiljhawar for the fix!

with...as... syntax

04 Aug 13:40
0adb013
Compare
Choose a tag to compare

Changed the creation of Pool to use with...as syntax (#47). Thank you @r-menezes!

Compatibility with Python 3.9+

27 Aug 18:30
6d55dd4
Compare
Choose a tag to compare

Summary

The primary fix in this release is providing compatibility with Python 3.9+.

Merged PRs

#29 – Fix deprecated collections import for compatibility with Python 3.9.

#35 – Use the total kwarg as the tqdm length if provided.

#28 – Fix bug with no sized iterables (look before you leap).

#45 – Allow overriding tqdm function used.

#36 – Include LICENSE.txt in pip package.

Other Changes

  • Switched from Travis CI to GitHub Actions for testing.
  • Changed default branch from master to main.
  • Changed supported Python versions from 3.5-3.8 to 3.7-3.10.

Enabling iteration over non-lists

09 Apr 04:53
eb122f7
Compare
Choose a tag to compare

Previously, p_tqdm specifically checked whether the provided iterables were lists. This meant that iteration over objects like numpy arrays and generators like range were performed incorrectly. This has now been fixed.

In the process of fixing the above, the treatment of non-lists has changed. Previously, non-lists were treated as singleton objects that were repeated as many times as the longest list. Now, singleton items (and the num_iters kwarg) should no longer be passed to p_tqdm maps since p_tqdm now expects all inputs to be iterators (and iterates until it reaches the end of the shortest one). To provide a singleton object along with the iterators, please use Python's partial from the functools library. An example is in the README.

Adding six dependency

29 Mar 03:21
ce6d84c
Compare
Choose a tag to compare
v_1.3.2

Adding six dependency

Fixing setup.py encoding issue

14 Mar 14:43
Compare
Choose a tag to compare

Fixes an encoding issue in setup.py detailed in #11

Merging in PRs and overall refactoring

28 Dec 02:09
f655abb
Compare
Choose a tag to compare

This version merges in PRs that make it possible to use p_tqdm in jupyter notebooks and to pass kwargs to the underlying tqdm object. Additionally, the code is refactored to reduce redundancy and to add in Python typing, meaning p_tqdm now only supports Python 3.5+.

Version 1.2

03 Feb 13:41
Compare
Choose a tag to compare

Includes ability to pass single variables in addition to lists

Version 1.1

02 Feb 19:33
Compare
Choose a tag to compare

Support for Python 2 and Python 3