Skip to content

Releases: sdrobert/pydrobert-param

v0.4.1

05 Dec 23:57
ac8f64f

Choose a tag to compare

An unexciting patch whose claim to fame is param 2.0 support.

Changelog:

  • Added python 3.12 support
  • Updated docs
  • Compatibility with param 2.0. Updated minimum version to 1.12
  • Made deserialization error messages more informative
  • Switched to GitHub workflows

v0.4.0

20 Sep 22:43
c87d878

Choose a tag to compare

The primary addition of this version is beta functionality for the new (de)serialization approach based on param's native approach for JSON. In addition, there are a couple of very minor breaking changes which can be found in the changelog below.

Changelog

  • Added extras.
  • Bug fix for YAML backends when only one backend is installed.
  • New serialization protocols based on param's built-in serialization are in
    beta. Added code, tests, and documentation.
  • Refactored code to separate serialization from/to file from the dict stuff.
  • Extended file serialization to handle non-dict stuff and avoid some bugs. DEFAULT_* globals are no longer exposed in pydrobert.serialization. A breaking change, but since functions already have a means of updating the default dictionary temporarily, one unlikely to cause many issues.
  • Moved to pydrobert.config and redefined an element in YAML_MODULE_PRIORITIES. Technically a breaking change, but one unlikely to cause many issues.

v0.3.1

19 Aug 22:59
10cdf94

Choose a tag to compare

v0.3.1 Pre-release
Pre-release

Summary

A variety of clean up operations. While the adjustments to pydrobert.param.abc do technically change the API, they do not do so in ways the user will likely care about.

Change log

  • Handle ABC issues with MRO instead of redefining base class.
  • No more setup.py.
  • Removed recipe.
  • Bumped minimum version to 3.7.
  • Updated documentation.

Python 3 only, breaking backwards compatibility

06 Mar 16:40
d9f68bb

Choose a tag to compare

A considerable amount of refactoring occurred for this build, chiefly to get
rid of Python 2.7 support. While the functionality did not change much for this
version, we have switched from a pkgutil-style pydrobert namespace to
PEP-420-style namespaces. As a result, this package is not
backwards-compatible with previous pydrobert packages!
Make sure that if any
of the following are installed, they exceed the following version thresholds:

  • pydrobert-kaldi >0.5.3
  • pydrobert-pytorch >0.2.1
  • pydrobert-speech >0.1.0

Miscellaneous other stuff:

  • Type hints everywhere
  • Shifted python source to src/
  • Black-formatted remaining source
  • Removed future, six, configparser dependencies
  • Shifted most of the configuration to setup.cfg, leaving only a shell
    in setup.py to remain compatible with Conda builds
  • Added pyproject.toml for PEP 517.
  • tox.ini for TOX testing
  • Switched to AppVeyor for CI
  • Added changelog :D

Optuna compatibility

16 Feb 21:31
5b6c2d4

Choose a tag to compare

Optuna compatibility Pre-release
Pre-release

Besides run-of-the-mill package compatibility updates and some new formatting from Black, this release adds some interfaces for Parameterized instances that can easily be crawled and populated by Optuna.

This version is also the last that will support Python 2.7. Later versions will rely on Python 3 exclusive syntax.

Command line, argparse, and better INI support

14 Jul 16:33

Choose a tag to compare

** This release is identical to v0.1.0, but with a bug fix **

This release includes a number of bits and bobs, including changes to the API. They are:

  1. INI (de)serialization of container types (e.g. lists, dictionaries, arrays) is now, by default, to JSON.
  2. Use each syntax's built-in support for None instead of (de)serializing between strings and None. (INI doesn't technically have this, but ConfigParser does).
  3. Command line utilities combine-*-files that can combine JSON, INI, or YAML files
  4. Argparse print actions that print INI, JSON, or YAML
  5. Convenience functions to add read and print actions to an argparse parser object of all three file types
  6. Bug fixes

v0.1.0

14 Jul 16:15

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

Please don't use this tag. I found a bug immediately afterwards. Use v0.1.1.

Bug fixes and better docs

27 Jun 18:59

Choose a tag to compare

Pre-release

A rather uneventful release. I just fixed a few things and got some docs up.