Add native setuptools-scm and toml to the dependencies. Upgrade
to release 1.6.0:
- Add support for vt100 box drawing mode and high-intensity
ansi codes
- Fix undefined behavior with linkify when same url is repeated
in same line
- Prune CSS classes from output that are not used
- Update style.py
- Give more useful TaskWarrior example
- Fix handling cursor move up with unique and empty lines
- enable python 3 input decoding
- Fix missing color CSS definitions
- Prevent IndexError while handling CursorMoveUp
- added setup.cfg
- fix long lines
- Started to implement LaTeX support
- add option --title for filling in the title
- add empty title element to head section in html output
- added 2 color-schemes (solarized, osx). improved optparse
handling schemes.
- added support to select a color-scheme. added schemes 'xterm'
and 'xterm...
- Improve Makefile
- Add and ship AsciiDoc manpage, improve --help, add --version
- Fix README example to not produce unwanted spaces
- Add missing license headers
- Fix line handling
- Add support for previously unhandled ANSI codes, improve
approach on handling color state
- Fix italic to be font-style (rather than font-weight)
- Stop adding unwanted spaces
- Fix writing to sys.stdout.buffer
- Add convenience Makefile
- Fix some bugs
- add --inline style
- Fix UnicodeDecodeError exception when Unicode characters appear
in input
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.0:
- query_type function to determine what as type fastnumbers will
interpret a given input
- Support for Python 3.9 (eliminate use of private Python C
function that is now hidden in 3.9)
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.1:
- Improved diff_to_previous framebuffer performance
- Add Linux framebuffer pseudo-device
- Allow a wider range of SPI bus speeds
- Fix to allow cmdline args to dynamically create a full_frame()
instance
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.3:
- No longer loose characters when decoding incorrect
percent-sequences (like %e2%82%f8). All non-decodable
percent-sequences are now preserved.
- Provide x86 Windows wheels.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4:
- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic
dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if
multiple instances of an attribute do not appear sequentially in
the attributes list
- Fixed VerifyReply broken when multiple instances of same
attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)
License-Update: Use file PKG-INFO.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
markupsafe's ptest is failing when running meta-python-ptest-image. This is
because python3-markupsafe is in oe-core, but the ptests are disabled and so
do_install_ptest doesn't actually install them when using the meta-python
bbappend for the recipe. This patch adds do_install_ptest and the ptest
RDEPENDS to the meta-python version of the recipe so that this works.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
jinja2's ptest is failing when running meta-python-ptest-image. This is
happening for two reasons:
1) python3-jinja2 is in oe-core, but the ptests are disabled.
2) python3-toml is required for the ptest;
Because of #1, do_install_ptest doesn't actually run and so no tests are
installed for ptest-runner to use. This patch adds do_install_ptest to the
bbappend file for jinja2, and also adds python3-toml to the ptest RDEPENDS so
that it will install the tests and run correctly.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.10.2:
- Added toml.dump example to Quick Tutorial
- Skip numpy tests when numpy is not available
- Bug fix: ids were based on the string, rather than the actual
object which causes incorrect detection of circular references
- Show meaningful error message for wrong case booleans
- Bug fix: broken quoted section name starts with dot
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 35.5.0:
- Added support for CAN FD in monitor.py cli tool
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.36:
- Updated docs section regarding max_years_between_matches to
be more shorter and hopefully more relevant
- Don't install tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.1.0:
- Support transactions in FanoutCache (probably a bad idea)
- Prevent cache shard attribute access when unsafe
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 20.3.0:
- attr.define(), attr.frozen(), attr.mutable(), and attr.field()
remain provisional.
- attr.s() now has a field_transformer hook that is called for all
Attributes and returns a (modified or updated) list of Attribute
instances. attr.asdict() has a value_serializer hook that can
change the way values are converted. Both hooks are meant to
help with data (de-)serialization workflows.
- kw_only=True now works on Python 2.
- raise from now works on frozen classes on PyPy.
- attr.asdict() and attr.astuple() now treat frozensets like sets
with regards to the retain_collection_types argument.
- The type stubs for attr.s() and attr.make_class() are not
missing the collect_by_mro argument anymore.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.4:
- Fixed regression in read_csv() raising a ValueError when names
was of type dict_keys
- Fixed regression in read_csv() with more than 1M rows and
specifying a index_col argument
- Fixed regression where attempting to mutate a DateOffset object
would no longer raise an AttributeError
- Fixed regression where DataFrame.agg() would fail with TypeError
when passed positional arguments to be passed on to the
aggregation function
- Fixed regression in RollingGroupby with sort=False not being
respected
- Fixed regression in Series.astype() converting None to "nan"
when casting to string
- Fixed regression in Series.rank() method failing for read-only
data
- Fixed regression in RollingGroupby causing a segmentation fault
with Index of dtype object
- Fixed regression in DataFrame.resample(...).apply(...)() raised
AttributeError when input was a DataFrame and only a Series was
evaluated
- Fixed regression in DataFrame.groupby(..).std() with nullable
integer dtype
- Fixed regression in PeriodDtype comparing both equal and unequal
to its string representation
- Fixed regression where slicing DatetimeIndex raised AssertionError
on irregular time series with pd.NaT or on unsorted indices
- Fixed regression in certain offsets (pd.offsets.Day() and below)
no longer being hashable
- Fixed regression in StataReader which required chunksize to be
manually set when using an iterator to read a dataset
- Fixed regression in setitem with DataFrame.iloc() which raised
error when trying to set a value while filtering with a boolean
list
- Fixed regression in setitem with a Series getting aligned before
setting the values
- Fixed regression in MultiIndex.is_monotonic_increasing returning
wrong results with NaN in at least one of the levels
- Fixed regression in inplace arithmetic operation on a Series not
updating the parent DataFrame
- Fixed bug causing groupby(...).sum() and similar to not preserve
metadata
- Fixed bug in Series.isin() and DataFrame.isin() raising a
ValueError when the target was read-only
- Fixed bug in GroupBy.fillna() that introduced a performance
regression after 1.0.5
- Fixed bug in DataFrame.info() was raising a KeyError when the
DataFrame has integer column names
- Fixed bug in DataFrameGroupby.apply() would drop a
CategoricalIndex when grouped on
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.6.2:
- Include tests using MANIFEST.in instead of setup.py
- Switch to GitHub Actions
- Don't publish to test pypi - we'd have to bump the version
every commit
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.4.0:
- Fixed tab completion crash on Windows
- Changed how multiline doc string help is formatted to match
style of other help messages
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.19.0:
- Fix to restore the ability to specify more than one extension
using command line flags when using traitlets 5.0
- Docs docs formatting that make the install commands work on zsh
- Always display the last frame in tracebacks even if hidden with
__traceback_hide__
- Avoid an issue where a callback can be registered multiple times.
- Avoid an issue in debugger mode where frames changes could be
lost.
- Never hide the frames that invoke a debugger, even if marked as
hidden by __traceback_hide__
- Fix calling the debugger in a recursive manner
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.1:
- Windows support has been improved. Tornado is now compatible
with the proactor event loop (which became the default in Python
3.8) by automatically falling back to running a selector in a
second thread. This means that it is no longer necessary to
explicitly configure a selector event loop, although doing so
may improve performance. This does not change the fact that
Tornado is significantly less scalable on Windows than on other
platforms.
- Binary wheels are now provided for Windows, MacOS, and Linux
(amd64 and arm64).
- This is the last release of Tornado to support Python 3.5.
Future versions will require Python 3.6 or newer
License-Update: Checksum change, lisense remains "Apache-2.0"
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- allow to avoid linking against VC2014_1 on windows
- do not mark move constructor / assignment operator of expression
as noexcept. This is to circumvent a suspected bug in the GCC
compiler in the manylinux1 image.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.0:
- Drop support for Python 2.7 and pypy
- Now DateDataParser.get_date_data() returns a DateData object
instead of a dict
- From now wrong settings are not silenced and raise
SettingValidationError
- Now dateparser.parse() is deterministic and doesn't try previous
locales. Also, DateDataParser.get_date_data() doesn't try the
previous locales by default
- Remove the 'base-formats' parser
- Extract the 'no-spaces-time' parser from the 'absolute-time'
parser and make it an optional parser
- Remove numeral_translation_data
- Remove the undocumented SKIP_TOKENS_PARSER and FUZZY settings
- Remove support for using strings in date_formats
- The undocumented ExactLanguageSearch class has been moved to the
private scope and some internal methods have changed
- Changes in dateparser.utils: normalize_unicode() doesn't accept
bytes as input and convert_to_unicode has been deprecated
- Add Python 3.9 support
- Detect hours separated with a period/dot
- Add support for "decade"
- Add support for the hijri calendar in Python ≥ 3.6
- New logo!
- Improve the README and docs
- Fix the "calendars" extra
- Fix leap years when PREFER_DATES_FROM is set
- Fix STRICT_PARSING setting in no-spaces-time parser
- Consider RETURN_AS_TIME_PERIOD setting for relative-time parser
- Parse the 24hr time format with meridian info
- Other small improvements
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2020.10.28:
- Added Apache 2.0 licence file to the files in the git repository
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.6.0:
- aiofiles is now tested on ppc64le.
- Added name and mode properties to async file objects.
- Fixed a DeprecationWarning internally.
- Python 3.9 support and tests.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- add c++ benchmarks and run them on CIs
- modernize the c++ code by using more c++11 features
- introduce move semantic in some c++ constructors to improve
performances
- add support for Python 3.9
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.14.1:
- bugfix where setting _ok_code to not include 0, but 0 was the
exit code
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.3:
- Unify all block-level tags
- Fix issue where some empty elements would have text rendered
as None when using md_in_html
- Avoid catastrophic backtracking in hr regex
- Fix hr HTML handling
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2:
- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more
constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via
:class:`~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.7.0:
- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add support for SSD1351 128x96 display
- Pin luma.core to 1.x.y line only, in anticipation of performance
improvements in upcoming major release
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.7.1:
- Fixed a type error caused by the conditional import of Protocol
- Server doesn't send Content-Length for 1xx or 204
- Fix run_app typing
- Always require typing_extensions library
- Fix a variable-shadowing bug causing ThreadedResolver.resolve
to return the resolved IP as the hostname in each record, which
prevented validation of HTTPS connections
- Added annotations to all public attributes
- Fix flaky test_when_timeout_smaller_second
- Ensure sending a zero byte file does not throw an exception
- Fix a bug in web.run_app() about Python version checking on
Windows
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.0:
- Path.joinpath now takes arbitrary positional arguments and no
longer accepts add as a keyword argument.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.17.3:
- Drop support for Python 3.5, only 3.6 or newer is supported now
- Add missing cmdline interfaces: "noop" & "gpio_cs_spi"
- Legacy proportional font wrapper raises user-friendly error
message when character is not in the font table
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.1:
- Add Ext type value validation to Ext class and
ext_serializable() decorator
- Change string formatting from % to .format() throughout codebase
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.7.3:
- [FreeBSD] add support for Process.rlimit().
- [BSD] add support for Process.environ()
- [UNIX] net_if_stats()'s isup also checks whether the NIC is
running (meaning Wi-Fi or ethernet cable is connected)
- [Linux] improved battery detection and charge "secsleft"
calculation
- [Linux] physical cpu_count() result is incorrect on systems with
more than one CPU socket
- [macOS] Process.exe() may raise FileNotFoundError if process is
still alive but the exe file which launched it got deleted
- [macOS] fix missing include for getpagesize()
- [Windows] Process.open_files() may cause a segfault due to a
NULL pointer
- [Linux] sensors_battery(): if percent can be determined but not
the remaining values, still return a result instead of None.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2:
- SECURITY ISSUE: Attempted to make RSA PKCS#1v1.5 decryption more
constant time, to protect against Bleichenbacher vulnerabilities.
Due to limitations imposed by our API, we cannot completely
mitigate this vulnerability and a future release will contain a
new API which is designed to be resilient to these for contexts
where it is required. Credit to Hubert Kario for reporting the
issue. CVE-2020-25659
- Support for OpenSSL 1.0.2 has been removed. Users on older
version of OpenSSL will need to upgrade.
- Added basic support for PKCS7 signing (including SMIME) via
:class:`~cryptography.hazmat.primitives.serialization.pkcs7.PKCS7SignatureBuilder`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.6.1:
- lxml.html.InputGetter supports __len__() to count the number of
input fields.
- lxml.html.InputGetter has a new .items() method to ease
processing all input fields.
- lxml.html.InputGetter.keys() now returns the field names in
document order.
- GH-309: The API documentation is now generated using
sphinx-apidoc.
- C14N 2.0 serialisation failed for unprefixed attributes when a
default namespace was defined.
- TreeBuilder.close() raised AssertionError in some error cases
where it should have raised XMLSyntaxError. It now raises a
combined exception to keep up backwards compatibility, while
switching to XMLSyntaxError as an interface.
- A vulnerability was discovered in the HTML Cleaner by Yaniv
Nizry, which allowed JavaScript to pass through. The cleaner
now removes more sneaky "style" content.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.5:
- Support deprecated literals for sets, tuples on the command-line:
nbconvert --TagRemovePreprocessor.remove_cell_tags='{"tag"}'
- Fix from_string_list for Tuples in general
- Fix support for List(default_value=None, allow_none=True) and
other Container traits
- Fix help output for nested aliases and tuple traits
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.10.0:
- Added support for Python 3.9
- Added support for nested Literal
- Added support for TypedDict inheritance (with some caveats; see
the user guide on that for details)
- An appropriate TypeError is now raised when encountering an
illegal Literal value
- Fixed checking NoReturn on Python < 3.8 when typing_extensions
was not installed
- Fixed import hook matching unwanted modules
- Install the pytest plugin earlier in the test run to support
more use cases
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.133:
- [attribute type] telfhash added.
- [add_gitlab_user] new gitlab user fetch script to MISP object.
- Bump object templates.
- Bump changelog.
- Bump version.
- Bump test cases.
- [type] updated.
- Bump file obj version in tests.
- [data] misp-objects updated.
- Bump build system to poetry 1.1.
- [type] new type added.
- [add_github_user] add ssh keys of the user in the MISP object.
- [add_github_user] more fields added from the GitHub API.
- Bump deps, objects.
- Add test for delete=True in get_event.
- [add_github_user] add following to the MISP object.
- Bump dependencies.
- Pass a list to add_attributes.
- Use MISPObject instead of GenericObjectGenerator.
- [doc] add a reference to the license.
- Add docstrings and extend conf.py for RTD.
- Remove PyMISPExpanded from the docs.
- Add comments to ELF, PE, and MachO object generators.
- Improve error message, add comments, rename whitelist to
allowedlist.
- Remove SG search for search() func as this doesn't support SG
searching, but the index does.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.2:
- Properly parse inline HTML in md_in_html
- Account for Etree Elements in HTML Stash
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.0:
- add `decodetree` object, for speeding up consecutive calls
to `.decode()` and `.iterdecode()`, in particular when dealing
with large prefix codes, see #103
- add optional parameter to `.tolist()` which changes the items in
the returned list to integers (0 or 1), as opposed to Booleans
- remove deprecated `bitdiff()`, which has been deprecated since
version 1.2.0, use `bitarray.util.count_xor()` instead
- drop Python 2.6 support
License-Update: Update license file, license remains the same.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.25.11:
- Fix retry backoff time parsed from Retry-After header when given
in the HTTP date format. The HTTP date was parsed as the local
timezone rather than accounting for the timezone in the HTTP
date (typically UTC)
- Fix issue where an error would be raised when the SSLKEYLOGFILE
environment variable was set to the empty string. Now
SSLContext.keylog_file is not set in this situation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.0:
- Add get_current() to return the current active element in a with
context
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.1.0:
- Declare support for Python 3.9
- testing/docs: Include doctests in testing
- Allow custom "now" in naturaldelta and naturaltime
- Represent with a zero if the delta is too small
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.4:
- use str.casefold() on python3
- make normalization function a parameter of build_dict, so that
user-defined normalization functions can be passed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.0:
- Document how to create subclass from VersionInfo
- Ensure equal versions have equal hashes. Version equality means
for semver, that major, minor, patch, and prerelease parts are
equal in both versions you compare. The build part is ignored.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.4:
- Re-org of README, to put the most insteresting parts near
the top.
- Added Linux makefile targets and Windows powershell scripts to
automate bootstrapping a development environment, and automate
the process of testing wheels before they are uploaded to PyPI.
- Use stdlib unittest.mock where available
- Travis CI now also builds on arm64
- Demo06 demonstrates existing cursor positioning feature
- Fix OSC regex & handling to prevent hang or crash
- Document enterprise support by Tidelift
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Add support for profiling gevent applications
- A new API has been defined: `set_context_backend` which accepts
`greenlet` as a backend.
- Fix various issues
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrde to release 0.14.2:
- Adapt graphviz.version() to support the Graphviz Release version
entry format introduced with 2.44.2 (version() is needed to run
the tests).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.7:
- Fixed issue where custom chart data labels didn't inherit the
position of the data labels in the series.
- Added text alignment for textboxes. The existing options allowed
the text area to be aligned but didn't offer control over the
text within that area.
- Added Python 3.9 to the test matrix.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.1:
- Correctly parse raw script and style tags
- Ensure consistent class handling by fenced_code and codehilite
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.19.0:
- Removed _experiments.auto_enabling_integrations in favor of just
auto_enabling_integrations which is now enabled by default.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.20:
orm:
- An ArgumentError with more detail is now raised if the target
parameter for Query.join() is set to an unmapped object. Prior
to this change a less detailed AttributeError was raised.
- Fixed issue where using a loader option against a string
attribute name that is not actually a mapped attribute, such
as a plain Python descriptor, would raise an uninformative
AttributeError; a descriptive error is now raised.
engine:
- Fixed issue where a non-string object sent to SQLAlchemyError or
a subclass, as occurs with some third party dialects, would fail
to stringify correctly.
- Repaired a function-level import that was not using SQLAlchemy’s
standard late-import system within the sqlalchemy.exc module.
sql:
- Fixed issue where the pickle.dumps() operation against Over
construct would produce a recursion overflow.
- Fixed bug where an error was not raised in the case where a
column() were added to more than one table() at a time. This
raised correctly for the Column and Table objects. An
ArgumentError is now raised when this occurs.
postgresql:
- The psycopg2 dialect now support PostgreSQL multiple host
connections, by passing host/port combinations to the query
string.
- Adjusted the Comparator.any() and Comparator.all() methods to
implement a straight “NOT” operation for negation, rather than
negating the comparison operator.
- Fixed issue where the ENUM type would not consult the schema
translate map when emitting a CREATE TYPE or DROP TYPE during the
test to see if the type exists or not. Additionally, repaired an
issue where if the same enum were encountered multiple times in a
single DDL sequence, the “check” query would run repeatedly rather
than relying upon a cached value.
mysql:
- Adjusted the MySQL dialect to correctly parenthesize functional
index expressions as accepted by MySQL 8.
- The “skip_locked” keyword used with with_for_update() will emit a
warning when used on MariaDB backends, and will then be ignored.
This is a deprecated behavior that will raise in SQLAlchemy 1.4,
as an application that requests “skip locked” is looking for a
non-blocking operation which is not available on those backends.
- Fixed bug where an UPDATE statement against a JOIN using MySQL
multi-table format would fail to include the table prefix for the
target table if the statement had no WHERE clause, as only the
WHERE clause were scanned to detect a “multi table update” at
that particular point. The target is now also scanned if it’s a
JOIN to get the leftmost table as the primary table and the
additional entries as additional FROM entries.
- Add new MySQL reserved words: cube, lateral added in MySQL 8.0.1
and 8.0.14, respectively; this indicates that these terms will
be quoted if used as table or column identifier names.
mssql:
- Fixed issue where a SQLAlchemy connection URI for Azure DW with
authentication=ActiveDirectoryIntegrated (and no username+password)
was not constructing the ODBC connection string in a way that was
acceptable to the Azure DW instance.
misc:
- Fixed issue where the following pool parameters were not being
propagated to the new pool created when Engine.dispose() were
called: pre_ping, use_lifo. Additionally the recycle and
reset_on_return parameter is now propagated for the AssertionPool
class.
- An informative error is now raised when attempting to use an
association proxy element as a plain column expression to be
SELECTed from or used in a SQL function; this use case is not
currently supported.
- Fixed incompatibilities in the test suite when running against
Pytest 6.x.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.1:
- Just removed a debug print statement
- Remove support for end-of-life Python 2.7 and 3.4. Python 3.5+
is now required.
- Remaining strings that only consist of whitespaces are not
treated as statements anymore. Code that ignored the last
element from sqlparse.split() should be updated accordingly
since that function now doesn't return an empty string as the
last element in some cases.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.2:
- Provide generated .c files in TarBall distribution.
- Provide wheels for aarch64, i686, ppc64le, s390x architectures
on Linux as well as x86_64.
- Provide wheels for Python 3.9.
- human_repr() now always produces valid representation equivalent
to the original URL (if the original URL is valid).
- Fixed requoting a single percent followed by a percent-encoded
character in the Cython implementation.
- Fix ValueError when decoding % which is not followed by two
hexadecimal digits.
- Fix decoding % followed by a space and hexadecimal digit.
- Fix annotation of with_query()/update_query() methods for
key=[val1, val2] case.
- Drop Python 3.5 support; Python 3.6 is the minimal supported
Python version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.8:
- Added `validator` parameter to `input_dialog`.
- Cope with stdout not having a working `fileno`.
- Handle situation when /dev/null is piped into stdin, or when
stdin is closed somehow.
- Fix for telnet/ssh server: `isatty` method was not implemented.
- Display correct error when a tuple is passed into
`to_formatted_text`.
- Pass along WORD parameter in `Document._is_word_before_cursor_complete`.
Fixes some key bindings.
- Expose `ProgressBarCounter` in shortcuts module.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.6.4:
- Fix: Empty line added between imports that should be skipped.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.35:
- Handle L in ranges.
- Add a new initializaton paramter max_years_between_matches to
support finding the next/previous date beyond the default 1 year
window, if so desired. Updated README to include additional
notes and example of this usage.
- The croniter_range() function was updated to automatically
determines the appropriate max_years_between_matches value, this
preventing handling of the CroniterBadDateError exception.
- Updated exception handling classes: CroniterBadDateError now
only applies during date finding operations (next/prev), and all
parsing errors can now be caught using CroniterBadCronError. The
CroniterNotAlphaError exception is now a subclass of
CroniterBadCronError. A breif description of each exception
class was added as an inline docstring.
- Updated iterable interfaces to replace the CroniterBadDateError
with StopIteration if (and only if) the max_years_between_matches
argument is provided. The rationale here is that if the user has
specified the max tollernace between matches, then there's no need
to further inform them of no additional matches. Just stop the
iteration. This also keeps backwards compatibility.
- Minor docs update.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.7.4:
- passlib.ext.django – updated tests to pass for Django 1.8-3.1;
along with some internal refactoring of the test classes.
- CryptContext will now throw UnknownHashError when it can't
identify a hash provided to methods such as CryptContext.verify().
Previously it would throw a generic ValueError.
License-Update: Updated URLs, styling fixes, bumped copyright year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.0.1:
- Fix UnicodeDecodeError on arm64/aarch64
- Add support for Python 3.9
- Build wheels for Python 3.9
- Drop support for EOL Python 3.5
- Fix indent and add test case
- Update code samples in README
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.3:
- Pin yarl to <1.6.0 to avoid buggy behavior that will be fixed
by the next aiohttp release.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.1:
- Get rid of trailing whitespace.
- Updated supported python versions in the setup.py file
- Added the ability to copy text from the command line.
- Fix for WSL2 and Ubuntu LTS 20.04
- Made PyQt checks in tests more specific
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.1:
- Add setuptools as a dependency
- Fix string comparison and deprecation warning
- Update release checklist to deploy from GitHub Actions
- Use Release Drafter to draft GH Releases from labelled PRs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.0:
- Provide wheels for aarch64, i686, ppc64le, s390x architectures
on Linux as well as x86_64.
- Provide wheels for Python 3.9.
- Drop Python 3.5 support; Python 3.6 is the minimum supported
Python version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3:
- The prefix language- is now prepended to all language classes
by default on code blocks.
- Attribute Lists are more strict.
- All Pygments' options are now available for syntax highlighting.
- Fenced Code Blocks now work with Attribute Lists when syntax
highlighting is disabled. Any random HTML attribute can be
defined and set on the <code> tag of fenced code blocks when the
attr_list extension is enabled.
- The HTML parser has been completely replaced. The new HTML
parser is built on Python's html.parser.HTMLParser, which
alleviates various bugs and simplify maintenance of the code.
- The Markdown in HTML extension has been rebuilt on the new HTML
Parser, which drastically simplifies it. Note that raw HTML
elements with a markdown attribute defined are now converted to
ElementTree Elements and are rendered by the serializer. Various
bugs have been fixed.
- Link reference parsing, abbreviation reference parsing and
footnote reference parsing has all been moved from preprocessors
to blockprocessors, which allows them to be nested within other
block level elements. Specifically, this change was necessary to
maintain the current behavior in the rebuilt Markdown in HTML
extension. A few random edge-case bugs (see the included tests)
were resolved in the process.
- An alternate function markdown.extensions.headerid.slugify_unicode
has been included with the Table of Contents extension which
supports Unicode characters in table of contents slugs. The old
markdown.extensions.headerid.slugify method which removes
non-ASCII characters remains the default. Import and pass
markdown.extensions.headerid.slugify_unicode to the slugify
configuration option to use the new behavior.
- Support was added for Python 3.9 and dropped for Python 3.5.
- Document how to pass configuration options to Extra.
- Fix HR which follows strong em.
- Support short reference image links.
- Avoid a RecursionError from deeply nested blockquotes.
- Fix issues with complex emphasis.
- Fix unescaping of HTML characters <> in CodeHilite.
- Fix complex scenarios involving lists and admonitions.
- Fix complex scenarios with nested ordered and unordered lists in
a definition list.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>