Skip to content

Releases: caltechlibrary/commonpy

Release 1.3.7

22 Jun 01:52
Compare
Choose a tag to compare

This release makes relative(...) from file_utils more robust against a problem on Windows, in which Python's os.path.relpath generates an error when you try to use it on a network-mapped drive.

Release 1.3.6

22 Jun 01:34
Compare
Choose a tag to compare

This version fixes a missing requirements.txt entry for pywin32 on Windows.

Release 1.3.5

07 Jun 22:44
Compare
Choose a tag to compare

This release fixes a reference to a missing function called by relative(...) in the file_utils module.

Release 1.3.4

25 Mar 18:47
Compare
Choose a tag to compare

This release fixes undefined exceptions in network_utils due to a missing import.

Release 1.3.3

23 Mar 00:47
Compare
Choose a tag to compare
  • Fix broken references to os.path functions.
  • Add a check for a common mistake in parameters to net(...).

Release 1.3.1

22 Mar 23:48
Compare
Choose a tag to compare
  • Remove reference to HTTPX exception RequestBodyUnavailable, which no longer seems to exist in current versions of the HTTPX package.
  • Remove use of exception UserCancelled in network_utils.py, because its definition no longer existed elsewhere and on review it seemed unecessary in the context where it was used.

Release 1.3.0

28 Jan 20:57
Compare
Choose a tag to compare

Changes in this release:

  • Fixed issue #2: httpx Timeout needs a default value.
  • Bump the required version of httpx to 0.16.
  • Changed name filter_by_extension(...) to filtered_by_extension(...) to follow the style of other functions that return values.
  • Made trivial changes to the Makefile

Release 1.2.0

31 Dec 23:02
Compare
Choose a tag to compare

This release adds a new function in module_utils called config_path(...).

Release 1.1.1

05 Dec 21:26
Compare
Choose a tag to compare

This version makes antiformat(...) more robust against values that are not strings, by applying str(...) to the incoming value.

Release 1.1.0

28 Nov 16:44
Compare
Choose a tag to compare

This version adds a start at a module of string utilities, and introduces antiformat(..): a function that will quote instances of { and } braces in a string so that the string can be passed safely to format.