Upgrade to release 1.6.2:
- Fixed a bug where paths defined in post-write hook options would
be wrongly escaped in non posix environment (Windows)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
wordlen is not so easy to calculate on RISCV, therefore pass the right
ingredients so compiler does the right thing in the end
Do same for mips as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.11.4:
- Bug fix where a MongoClient would mistakenly attempt to create
minPoolSize connections to arbiter nodes
- Bug fix that prevented PyMongo from retrying writes after a
writeConcernError on MongoDB 4.4+
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.1.4:
- Fix test failure on darwin
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 8.0.0:
- Drop support for Python 2 and 3.5.
- Colorama is always installed on Windows in order to provide
style and color support.
- Adds a repr to Command, showing the command name for friendlier
debugging.
- Add support for distinguishing the source of a command line
parameter.
- Add an optional parameter to ProgressBar.update to set the
current_item.
- New class attributes make it easier to use custom core objects
throughout an entire application.
- Use Context.with_resource() to manage resources that would
normally be used in a with statement, allowing them to be used
across subcommands and callbacks, then cleaned up when the
context ends.
- The result object returned by the test runner’s invoke() method
has a return_value attribute with the value returned by the
invoked command.
- Required arguments with the Choice type show the choices in
curly braces to indicate that one is required ({a|b|c}).
- Redesign the shell completion system.
- Completion correctly parses command line strings with incomplete
quoting or escape sequences.
- Fix formatting when Command.options_metavar is empty.
- Revert adding space between option help text that wraps.
- When defining a parameter, default is validated with multiple
and nargs. More validation is done for values being processed
as well.
- HelpFormatter.write_text uses the full line width when wrapping
text.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.1:
- add ignore_help_args option to parse_known_args(..) to avoid
exiting the first time this method is called when -h is
specified. This can allow all arg definitions to be executed
before -h is handled, even if these definitions are
interleaved with calls to parse_known_args(..)
- added tests
- updated setup.py publish commands
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.4.0:
- alertcenter: update the api
- analyticsadmin: update the api
- androidenterprise: update the api
- androidpublisher: update the api
- artifactregistry: update the api
- bigquery: update the api
- chromepolicy: update the api
- content: update the api
- datacatalog: update the api
- dataproc: update the api
- dialogflow: update the api
- dns: update the api
- documentai: update the api
- file: update the api
- firebasestorage: update the api
- gameservices: update the api
- gkehub: update the api
- lifesciences: update the api
- monitoring: update the api
- mybusinessaccountmanagement: update the api
- networkmanagement: update the api
- oslogin: update the api
- pubsublite: update the api
- recommender: update the api
- retail: update the api
- servicedirectory: update the api
- servicemanagement: update the api
- servicenetworking: update the api
- translate: update the api
- preventing accessing predefined discovery URLs when override is
provided
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.59.0:
- Last main release to support Python 2
- Fix Python 2 urlparse scheme
- Add support for headers with multiple value
- Add debug support for reserved custom status codes
- Allow multiple Set-Cookie: headers
- Simplified cookie sorting
- Add no_proxy support
- Add Host header to HTTP proxy request
- Improve PEP8 style compliance
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.0.0:
- Drop support for Python 2 and 3.5.
- JWS support (JSONWebSignatureSerializer,
TimedJSONWebSignatureSerializer) is deprecated. Use a dedicated
JWS/JWT library such as authlib instead.
- Importing itsdangerous.json is deprecated. Import Python’s json
module instead.
- Simplejson is no longer used if it is installed. To use a
different library, pass it as Serializer(serializer=...).
- datetime values are timezone-aware with timezone.utc. Code using
TimestampSigner.unsign(return_timestamp=True) or
BadTimeSignature.date_signed may need to change.
- If a signature has an age less than 0, it will raise
SignatureExpired rather than appearing valid. This can happen if
the timestamp offset is changed.
- BadTimeSignature.date_signed is always a datetime object rather
than an int in some cases.
- Added support for key rotation. A list of keys can be passed as
secret_key, oldest to newest. The newest key is used for
signing, all keys are tried for unsigning.
- Removed the default SHA-512 fallback signer from
default_fallback_signers.
- Add type information for static typing tools.
License-Update: standardize license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.1.1:
- [mac] Fix callback exceptions when the watcher is deleted but
still receiving events
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.1:
- Handle all client errors when detecting the protocol
- Bump black from 21.5b0 to 21.5b1
- Bump flake8 from 3.9.1 to 3.9.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Version 3.2.2 includes a fix for CVE-2021-32052.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Version 2.2.22 includes a fix for CVE-2021-32052.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.1.0:
- Fix for AWSLambda integration returns value of original handler
- Fix for RQ integration that only captures exception if RQ job
has failed and ignore retries
- Feature that supports Tracing for the Tornado integration
- Feature that supports wild cards in ignore_logger in the Logging
Integration
- Fix for django that deals with template span description names
that are either lists or tuples
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.0.2:
- Using Union containing generics as type hint causes an error
- Libdoc does not anymore work with resource files in PYTHONPATH
- Rebot removes sourcename attribute from <kw> in output.xml
- Run Keyword If Test Failed does not work correctly if it is not
first keyword in teardown and test is skipped
- Argument conversion problems when type hint is ABC
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.3.4:
- Reverts the unsatisfying fix for KeyError during import when
running with python optimisation level of 2
- instead a RuntimeError is thrown when Python is running with
optimization level 2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.9.1:
- The internal locale-data loading functions now validate the name
of the locale file to be loaded and only allow files within
Babel's data directory. Thanks to Chris Lyne of Tenable, Inc. for
discovering the issue!
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 9.0.1:
- Fixed issues with the packaging of the 9.0 release.
- :class:`~datastructures.Headers` and
:exc:`~datastructures.MultipleValuesError` were moved from
websockets.http to :mod:`websockets.datastructures`.
If you're using them, you should adjust the import path.
- The client, server, protocol, and auth modules were moved from
the websockets package to websockets.legacy sub-package, as part
of an upcoming refactoring. Despite the name, they're still
fully supported. The refactoring should be a transparent upgrade
for most uses when it's available. The legacy implementation
will be preserved according to the backwards-compatibility
policy.
- The framing, handshake, headers, http, and uri modules in the
websockets package are deprecated. These modules provided
low-level APIs for reuse by other WebSocket implementations, but
that never happened. Keeping these APIs public makes it more
difficult to improve websockets for no actual benefit.
- Added compatibility with Python 3.9.
- Added support for IRIs in addition to URIs.
- Added close codes 1012, 1013, and 1014.
- Raised an error when passing a :class:`dict` to
:meth:`~legacy.protocol.WebSocketCommonProtocol.send`.
- Fixed sending fragmented, compressed messages.
- Fixed Host header sent when connecting to an IPv6 address.
- Fixed creating a client or a server with an existing Unix socket.
- Aligned maximum cookie size with popular web browsers.
- Ensured cancellation always propagates, even on Python versions
where :exc:`~asyncio.CancelledError` inherits :exc:`Exception`.
- Improved error reporting.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.1.0:
- add `.find()` method
- `.find()`, `.index()`, `.search()` and `.itersearch()` now all
except both (sub-) bitarray as well as bool items to be searched
for
- improve encode/decode error messages
- add lexicographical permutations example
- add tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.1.0:
- Add support for Python 3.10. Pre-built binary wheels for 3.10 are
not currently available for all platforms. The greenlet ABI is
different on Python 3.10 from all previous versions, but as 3.10
was never supported before, and the ABI has not changed on other
Python versions, this is not considered a reason to change
greenlet's major version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.1.0:
- [inotify] Simplify libc loading
- [mac] Add support for non-recursive watches in FSEventsEmitter
- [watchmedo] Add support for --debug-force-* arguments to tricks
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.9.0:
- Modified the --timestats general option from boolean to choice
with 3 choices for when statistics are displayed (after each
command or via a command).
- Fixed a ValueError on Windows that was raised when the
connections file was not on the home drive.
- Limit click package to < 8.0 because of a) incompatibility with
python 2.7, b) incompatibility between click 8.0 and clicl-repl.
- Limit mock package to lt 4.0.3 to avoid issue issue that causes
test failure.
- Fix issue caused by mock package version 4.0.3 by creating
replacements for warnings.warn and warnings.warn_explicit
functions and removing the use of the patch decorator in
pywbemcli.py before the definition of the cli function.
- Fixes issue where in pywbemcli the --timeout and --use-pull
general options were not always correctly included in the new
object context in interactive mode if they were specified on
the interactive mode cmd line.
- Fixed issue in tests with use of stdin and inputting the instance
path for instance get and instance delete. This was a test setup
issue and not a code issue.
- Mitigated the coveralls HTTP status 422 by pinning
coveralls-python to <3.0.0.
- Fix issue where documentation index disappeared when we changed
the documentation theme
- Test: Fixed behavior of 'pdb' test condition, which is supposed
to stop in the pdb debugger before executing the command
function, but did immediately leave the debugger again because
of redirections of the standard streams. The debugger now
properly comes up when 'pdb' is specified as a condition.
- Test: Fixed restoring of environment variables that are modified
by testcases, and displaying of PYWBEMCLI environment variables
during testing in verbose mode.
- Change MOFCompiler.add_mof/remove_mof() to only display
exceptions received if not MOFCompileError since the MOF
compiler logs all MOFCompileError exceptions.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This ensures that WORDSIZE is as per the target, currently this does not
get it right for cross-compilation env, and OE uses multilib headers by
default ( even when you do not use multilib ) which means if WORDSIZE
is wrong it will go on to include wrong headers due to these artificial stubs
Fixes
swig -python -py3 -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.1.0/include-fixed -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/lib/aarch64-oe-linux/11.1.0/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/python3.9 -I/usr/include/openssl -includeall -modern -builtin -outdir TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/M2Crypto-0.37.1/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
TOPDIR/tmp-glibc/work/cortexa57-oe-linux/python3-m2crypto/0.37.1-r0/recipe-sysroot/usr/include/openssl/opensslconf.h:23: Error: Unable to find 'openssl/opensslconf-32.h'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.4.142:
- Support for correlation exclusion list
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.10.2:
- Added EditorConfig configuration
- Fixed parsing of version from setup.py when global encoding
isn't UTF-8
- Fix repetition termination on a successful empty separator match
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.5.6:
- Fix retro-compatibility issues with old version of pylint
License-Update: Remove outdated COPYING and use LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
It was enabling ptests which is now on by default in OE-core for this
version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.0:
- Add fix for issue for where a y_axis font rotation of 0 was
ignored.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.15.1:
- Hotfix for errors while closing event loops while replacing
them.
- Add support for Python 3.9
- Abandon support for Python 3.5. If you still require support for
Python 3.5, please use pytest-asyncio v0.14 or earlier.
- Set unused_tcp_port_factory fixture scope to 'session'.
- Properly close event loops when replacing them.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.11:
orm:
- Fixed regression where recent changes to support Python
dataclasses had the inadvertent effect that an ORM mapped class
could not successfully override the __new__() method.
engine:
- Fixed critical regression where the connection pool "init" phase
no longer occurred within mutexed isolation, allowing other
threads to proceed with the dialect uninitialized, which could
then impact the compilation of SQL statements.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.12.3:
- Help string support for fish
- Add option to use tempfiles for IPC
- Fix multiple command registration for non-bash shells
- Register auto completion for an arbitrary name using a given
external script
- Skip completions from active subprocess completer
- Fix warnings regarding invalid escape sequences
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.0.1 with the following API changes:
- Added support for Python 3.9
- Added type hints
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.2:
- Add hook (Huey.build_error_result) for customizing the error
result metadata.
- Avoid crashing if another module already modified/set the
multiprocessing start method.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2.2.x is LTS, so upgrade to latest release 2.2.20.
This upgrade fixes several CVEs such as CVE-2021-3281.
Also, CVE-2021-28658.patch is dropped as it's already in 2.2.20.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Fix a security issue CVE-2020-36242 where certain sequences of
``update()`` calls when symmetrically encrypting very large
payloads (>2GB) could result in an integer overflow, leading to
buffer overflows.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.1.6:
- from_stringraises a ValueError if given string cannot be parsed
to an interval
- Drop official support for Python 3.5
- Use black as official code formatting
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: Use info in setup.py for license as dedicated LICENSE
file has disappeared. License still is MIT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8,
MultiPartParser allowed directory traversal via uploaded files with
suitably crafted file names. Built-in upload handlers were not affected
by this vulnerability.
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-28658
Upstream patches:
4036d62bda
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.3.9:
- Added option to set row heights and column widths in pixels via
the :func:`set_row_pixels` and :func:`set_column_pixels` methods
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.0.0:
- require more specific objects, int (0 or 1) or bool
- items are always returned as int 0 or 1
- remove `.length()` method (deprecated since 1.5.1 - use `len()`)
- in `.unpack()` the `one` argument now defaults to 0x01
(was 0xff)
- `.tolist()` now always returns a list of integers (0 or 1)
- fix frozenbitarray hash function, see #121
- fix frozenbitarray being mutable by `<<=` and `>>=`
- support sequence protocol in `.extend()` (and bitarray creation)
- improve OverflowError messages from `util.int2ba()`
- add examples/hexadecimal.py
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.0.12:
- Add support for hashed/random/keyword expressions
- Review support support for hashed/random/keyword expression and
add expanders reactor
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.2.0:
- Adds support for errors.py to also use 'errors' for error_details
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 5.0.7:
- The decorator module was not passing correctly the defaults
inside the *args tuple
- Fixed some mispellings in the documentation
- Integrated codespell in the CI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.2.4:
- Fixed regression in DataFrame.sum() when min_count greater than
the DataFrame shape was passed resulted in a ValueError
- Fixed regression in DataFrame.to_json() raising AttributeError
when run on PyPy
- Fixed regression in (in)equality comparison of pd.NaT with a
non-datetimelike numpy array returning a scalar instead of an
array
- Fixed regression in DataFrame.where() not returning a copy in
the case of an all True condition
- Fixed regression in DataFrame.replace() raising IndexError when
regex was a multi-key dictionary
- Fixed regression in repr of floats in an object column not
respecting float_format when printed in the console or outputted
through DataFrame.to_string(), DataFrame.to_html(), and
DataFrame.to_latex()
- Fixed regression in NumPy ufuncs such as np.add not passing
through all arguments for DataFrame
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.8:
assumptions:
- Q.infinite now correctly evaluates to True for oo, -oo, and zoo
- Assumption predicates now correctly evaluates to None for S.NaN
- Relational objects do not need to be wrapped by Q.is_true to be
asked or refined anymore
- Q.is_true wrapping over AppliedPredicate now just return the
argument
- refine arg(x) when x is real and nonzero
- assumptions/relation module is introduced. This module
implements binary relation as predicate
- AskHandler(), register_handler() and remove_handler() are
deprecated. Handler now must be multipledispatch instance
- Predicate now uses a single handler which is multipledispatch
instance
- Predicate can now take multiple arguments
- Predicate("...") now returns UndefinedPredicate instance. To
define a predicate, you must make a subclass of Predicate
calculus:
- Using maximum with a piecewise expression over a domain no
longer fails due to a bug fix in Piecewise.as_expr_set_pairs
codegen:
- allowing for multi-dimensional arrays as arguments/locals in c
code generation
- create_expand_pow_optimization is now customizable with respect
to requirement on base
- Support flattening of elementwise additions of array expressions
- Fixes to array-expressions in order to properly work with
ZeroArray and ZeroMatrix
- Fixing matrix expression recognition from array-expressions
- Minor fixes to the way the AST of array expressions is built
- Add normalization of CodegenArrayDiagonal when it's nested with
CodegenArrayPermuteDims and CodegenArrayContraction
- Increased support for the normalization of array expressions and
permutations of indices
- parse_matrix_expression( ) is now able to parse traces of
matrices
combinatorics:
- Added a section to the permutation docs about containment in
permutation groups
geometry:
- Fix AssertError for vertical tangent
- Geometric entities with symbolic coordinates will not be printed
in SVG
simplify:
- Fix simplify calls sympify without rational parameter
- TRmorrie now takes powers of cos terms into account
tensor:
- Introduced objects ArraySymbol and ArrayElement for array
expressions equivalent to MatrixSymbol and MatrixElement in the
matrix expression module
- Add class ZeroArray for array expressions of zero-valued
elements
- Make Array differentiation(derive_by_array) work with non sympy
expressions
- Added tensordiagonal( ) function to perform diagonalization of
array expressions
- Adding an array with any other type now consistently gives
NotImplemented
utilities:
- Added official support for using CuPy to GPU accelerate lambdify
functions
- Added Replacer class to simplify the creation of replacement
expressions with MatchPy
- Added tests for optional parameter in MatchPy patterns
- Added string printers for MatchPy-compatible wildcards in
sympy.utilities.matchpy_connector
- minlex no longer accepts is_set or small arguments
- minlex and least_rotation now accept key= arguments similar to
sorted
vector:
- Fixed a bug with integral over ImplicitRegion objects
other:
- Expanding documentation to include all class members with
docstrings
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.1:
- Add multi-source initialization and add_schema() to schema class
- Add bytes strings to accepted XML sources
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.4:
- For test dependencies, when indicating Python 3, use >=3 instead
of >3
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.7:
orm:
- Fixed regression where the subqueryload() loader strategy would
fail to correctly accommodate sub-options, such as a defer()
option on a column, if the “path” of the subqueryload were more
than one level deep.
- Fixed regression where the merge_frozen_result() function relied
upon by the dogpile.caching example was not included in tests
and began failing due to incorrect internal arguments.
- Fixed critical regression where the Session could fail to
"autobegin" a new transaction when a flush occurred without an
existing transaction in place, implicitly placing the Session
into legacy autocommit mode which commit the transaction. The
Session now has a check that will prevent this condition from
occurring, in addition to repairing the flush issue.
- Fixed regression where the ORM compilation scheme would assume
the function name of a hybrid property would be the same as the
attribute name in such a way that an AttributeError would be
raised, when it would attempt to determine the correct name for
each element in a result tuple.
- Fixed critical regression caused by the new feature added as
part of #1763, eager loaders are invoked on unexpire operations.
The new feature makes use of the "immediateload" eager loader
strategy as a substitute for a collection loading strategy,
which unlike the other “post-load” strategies was not
accommodating for recursive invocations between
mutually-dependent relationships, leading to recursion overflow
errors.
engine:
- Fixed up the behavior of the Row object when dictionary access
is used upon it, meaning converting to a dict via dict(row) or
accessing members using strings or other objects i.e.
row["some_key"] works as it would with a dictionary, rather than
raising TypeError as would be the case with a tuple, whether or
not the C extensions are in place
sql:
- Enhanced the "expanding" feature used for ColumnOperators.in_()
operations to infer the type of expression from the right hand
list of elements, if the left hand side does not have any
explicit type set up. This allows the expression to support
stringification among other things. In 1.3, "expanding" was not
automatically used for ColumnOperators.in_() expressions, so in
that sense this change fixes a behavioral regression.
- Fixed the "stringify" compiler to support a basic
stringification of a "multirow" INSERT statement, i.e. one with
multiple tuples following the VALUES keyword.
schema:
- Fixed regression where usage of a token in the
Connection.execution_options.schema_translate_map dictionary
which contained special characters such as braces would fail to
be substituted properly. Use of square bracket characters [] is
now explicitly disallowed as these are used as a delimiter
character in the current implementation.
mypy:
- Fixed issue in Mypy plugin where the plugin wasn't inferring the
correct type for columns of subclasses that don’t directly
descend from TypeEngine, in particular that of TypeDecorator and
UserDefinedType.
misc:
- Added a new flag to DefaultDialect called supports_schema; third
party dialects may set this flag to True to enable SQLAlchemy's
schema-level tests when running the test suite for a third party
dialect.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6:
- Fix order for converting mach absolute time
Get the source code from the git repository because an archive
is not available in PyPI for this release.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Minor code refactoring of the recipe and upgrade to release 1.3.3:
- Classes can be used as constraint for the type rule
- The abstract base classes of the standard library's
collections.abc module are available as named types for the
type rule
- Generic type aliases from the :mod:`typing` module can be used
as constraints for the type rule, including parametrized ones
a.k.a. compound types
- Support for Python 3.5 is removed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
What's New in astroid 2.5.3?
============================
Release Date: 2021-04-10
* Takes into account the fact that subscript inferring for a ClassDef may involve __class_getitem__ method
* Reworks the `collections` and `typing` brain so that `pylint`s acceptance tests are fine.
ClosesPyCQA/pylint#4206
* Use ``inference_tip`` for ``typing.TypedDict`` brain.
* Fix mro for classes that inherit from typing.Generic
* Add inference tip for typing.Generic and typing.Annotated with ``__class_getitem__``
ClosesPyCQA/pylint#2822
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.0.1. It is the first bug fix release in the
Robot Framework 4.0.x series. It fixes several severe and not so
severe issues reported since Robot Framework 4.0 was released.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.1.3:
- Address issue where a test server may return an HTTP error
during upload or download
- Address issue where ignore_ids may be empty or have empty values
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 5.0.6:
- The decorator module was not copying the module attribute anymore
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.0.11:
- fix bug: bad case:0 6 30 3 *
- Add support for L in the day_of_week component. This enable
expressions like * * * * L4, which means last Thursday of the
month.
- Create CroniterUnsupportedSyntaxError exception for situations
where CRON syntax may be valid but some combinations of features
is not supported. Currently, this is used when the day_of_week
component has a combination of literal values and nth/last
syntax at the same time.
For example, 0 0 * * 1,L6 or 0 0 * * 15,sat#1 will both raise
this exception because of mixing literal days of the week with
nth-weekday or last-weekday syntax. This may impact existing
cron expressions in prior releases, because 0 0 * * 15,sat#1
was previously allowed but incorrectly handled.
- Update croniter_range() to allow an alternate croniter class to
be used. Helpful when using a custom class derived from croniter.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.17.4:
- prevent (empty) comments from throwing assertion error
- fix for issue 382 caused by an error in a format string
- allow expansion of aliases by setting
``yaml.composer.return_alias = lambda s: copy.deepcopy(s)``
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.0:
- XML data bindings and code generators are now considered stable
- Add arguments 'max_depth' and 'extra_validator' to validation
methods
- Enhance decoding with 'value_hook' argument
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.60.0:
- add contrib.logging helpers for redirecting to tqdm.write()
- support delay in notebook
- fix contrib.tmap, tzip not using tqdm_class
- add notebook tests
- updates & misc minor fixes for documentation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.2:
- Automatic AppConfig discovery
- Customizing type of auto-created primary keys
- Functional indexes
- pymemcache support
- New decorators for the admin site
- Other minor new features
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.6:
orm:
- Fixed regression where a deprecated form of Query.join() were
used, passing a series of entities to join from without any ON
clause in a single Query.join() call, would fail to function
correctly.
- Fixed critical regression where the Query.yield_per() method in
the ORM would set up the internal Result to yield chunks at a
time, however made use of the new Result.unique() method which
uniques across the entire result.
sql:
- Fixed further regressions in the same area as that of #6173
released in 1.4.5, where a “postcompile” parameter, again most
typically those used for LIMIT/OFFSET rendering in Oracle and
SQL Server, would fail to be processed correctly if the same
parameter rendered in multiple places in the statement.
- Executing a Subquery using Connection.execute() is deprecated
and will emit a deprecation warning; this use case was an
oversight that should have been removed from 1.4.
schema:
- The Table object now raises an informative error message if it
is instantiated without passing at least the Table.name and
Table.metadata arguments positionally. Previously, if these were
passed as keyword arguments, the object would silently fail to
initialize correctly.
mypy:
- Applied a series of refactorings and fixes to accommodate for
Mypy "incremental" mode across multiple files, which previously
was not taken into account. In this mode the Mypy plugin has to
accommodate Python datatypes expressed in other files coming in
with less information than they have on a direct run.
- Fixed issue where the Mypy plugin would fail to interpret the
"collection_class" of a relationship if it were a callable and
not a class. Also improved type matching and error reporting for
collection-oriented relationships.
asyncio:
- Added accessors .sqlstate and synonym .pgcode to the .orig
attribute of the SQLAlchemy exception class raised by the
asyncpg DBAPI adapter, that is, the intermediary exception
object that wraps on top of that raised by the asyncpg
library itself, but below the level of the SQLAlchemy dialect.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.8.8:
- AsyncMachine does not remove models when remove_models is called
- Introduce try/except for finalize callbacks in Machine and
HierachicalMachine. Thus, errors occurring in finalize callbacks
will be suppressed and only the original error will be raised.
- Show references in graphs and markup. Introduce
MarkupMachine.format_references to tweak reference formatting
- Introduce Machine.on_exception to handle raised exceptions in
callbacks
- Machine.get_triggers now supports State and Enum as arguments
- NestedState and HierachicalMachine.add_states now accept (lists
of) states and enums as initial parameter
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>