httplib2
certificate support is gone, pin to<=1.3.0
if you need it- Python 3.8 is now supported
- pypy3 is provisionally supported, report any bugs you find!
httplib2
certificate handling is deprecated, as it has become untenable to support the varioushttplib2
releases- Python 3.5 is no longer supported
- Click 7.0, or newer, is now required for
[colour]
extra gettext
support for the command line module has been removed1- sphinx 1.8 and sphinx-click are now required to build docs
- API is now frozen; changes will follow semver
- This release is the final release before 1.0.0; shake it and report what falls out!
- Python 3.7 is now supported
- This is the last planned release before 1.0.0, report problems and ask questions now
- Type hints, see
483
, have been add throughout the library - sphinx_autodoc_typehints is required to build documentation
- As advertised,
pager
's default value for$LESS
has been removed timedelta
objects are now supported byjson_datetime
- Functionality that may be useful from the command line is now available via
jnrbase
command
- As advertised,
debug
'senter
andexit
have been removed context.env
wrapper to temporarily alter environment variablesgraphviz
is no longer required to build docs
- As advertised, support for naïve datetimes has been removed from
iso_8601
Timing
now uses adatetime.timedelta
for itselapsed
attributeTiming
now useshuman_timestamp
for its verbose outputdebug
’senter
andexit
have been renamed toon_enter
andon_exit
respectively- The deprecated
debug.enter
anddebug.exit
names will be removed in v0.8.0. - httplib2 v0.10, or newer, is required for
jnrbase[net]
- click is now required for
jnrbase[template]
jnrbase[template]
requires html2text 2016.5.29 or newer and Pygments v2.1 or newer- Tests now require pytest-randomly
- This package is no longer considered an alpha, but given its new beta status large changes may still be made
jnrbase.config
now uses Python’s configparser for loading config filesjnrbase.config
exposesjnrbase
’sparse_{datetime,{time,}delta}
functions for value conversions- Support for naïve datetimes will be removed in v0.7.0
- Tests now require pytest
- configobj is no longer required
- Python 2 support has been removed… but, if you really need it file an issue or peg the
jnrbase
dependency to<0.5
- Python 3.5 is the minimum supported version… but, if you desperately need support for 3.{2..4} file an issue
Many functions now use keyword-only arguments for option setting arguments, as defined in PEP 3102
Class/function Option config.read_configs
local
git.find_tag
strict
andgit_dir
iso_8601.parse_datetime
naive
pager.pager
pager
template.highlight
lexer
andformatter
template.html2text
width
andascii_replacements
template.regexp
count
andflags
timer.Timing
verbose
iso_8601
’sUTC
class has been removed in favour of the standard library’sdatetime.timezone
- Jinja2 v2.9, or newer, is required for
jnrbase[template]
- New
safe_hasattr
to workaround Python 2 oddness parse_datetime
can generate naïve timestamps- Python 3.6 is now supported
debug.{enter,exit}
output now includes the function nameTimer
has been renamed toTiming
to match PEP 343 naming- contextlib2 is required with Python v3.4, or earlier
- Python 3.5 is now supported
- Python 2.6 support has been removed… but, if you need it file an issue
- First public release, start of a maintained package release process
- Initial release
Footnotes
Pygments config datetimes
Co-workers: Use Delphine’s
retext
tool as a replacement.↩