Features
========
androidmanagement: update the api 3d37600 (e691ed3)
apigee: update the api aa29053 (e691ed3)
baremetalsolution: update the api 629a968 (e691ed3)
bigtableadmin: update the api 2d50872 (e691ed3)
certificatemanager: update the api 40bf958 (e691ed3)
civicinfo: update the api 95321d9 (e691ed3)
cloudasset: update the api 3eee9ca (e691ed3)
clouddeploy: update the api acd6b20 (e691ed3)
container: update the api 7c592ee (e691ed3)
dataflow: update the api 53c9c70 (e691ed3)
dataproc: update the api 3119767 (e691ed3)
datastream: update the api aea557f (e691ed3)
documentai: update the api 9a6bad2 (e691ed3)
file: update the api b527c56 (e691ed3)
firebaseappcheck: update the api 3be993a (e691ed3)
gkehub: update the api a77aded (e691ed3)
logging: update the api cc08e8e (e691ed3)
policytroubleshooter: update the api 3f20c2e (e691ed3)
prod_tt_sasportal: update the api bacc9ef (e691ed3)
run: update the api 1b566dc (e691ed3)
servicemanagement: update the api 6d783b7 (e691ed3)
vmmigration: update the api a0b42c2 (e691ed3)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
No need to push a new app context in the test client #1669
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Improve documentation on start_background_task() function
changed room argument to to in documentation examples #1665
Fix documentation typo #1793
Fix example code in documentation #1787
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Option to use a callable for cors_allowed_origins #264
Close aiohttp session when disconnecting #272
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed an error in the Qt brain when building instance_attrs.
Fixed a crash in the gi brain.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
changelog:
-Bug Fixes
Fixed value for ansi.Bg.YELLOW.
Fixed unit tests for ansi.allow_style.
-Enhancements
async_alert() raises a RuntimeError if called from the main thread.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
Upgrade to release 3.15.0:
- Allow passing a dict to fields.Nested
- Address distutils deprecation warning in Python 3.10
- Add py310 to black target-version
- Drop support for Python 3.6
- Use postponed evaluation of annotations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
Upgrade to release 8.14.0:
- C implementation: allow partial decoding of truncated data
- Python implementation: allow partial decoding of truncated data
- fix segmentation faults on CI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
License-Update: type of file changed
"ASCII text, with CRLF line terminators" -> "ASCII text"
changelog:
===============================================================================
Bug fixes:
-Mitigated the coveralls HTTP status 422 by pinning coveralls-python to <3.0.0 .
-Fixed issues raised by new Pylint 2.9 and 2.10.
-Fixed a dependency error that caused importlib-metadata to be installed on
Python 3.8, while it is included in the Python base.
-Disabled new Pylint issue 'consider-using-f-string', since f-strings were
introduced only in Python 3.6.
-Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of
MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13.
-Fixed potential issue with Sphinx/docutils versions on Python 2.7.
-Fixed error when installing virtualenv in install test on Python 2.7.
-Fixed that the added setup.py commands (test, leaktest, installtest) were not
displayed. They are now displayed at verbosity level 1 (using '-v').
Enhancements:
-Enhanced test matrix on GitHub Actions to always include Python 2.7 and
Python 3.4 on Ubuntu and Windows, and Python 2.7 and Python 3.5 on macOS.
-Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in
package metadata.
Cleanup:
-Removed old tools that were needed for travis and Appveyor but no longer on
GitHub Actions: remove_duplicate_setuptools.py, retry.bat
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
License-Update: type of file changed
"ASCII text, with CRLF line terminators" -> "ASCII text"
Changelog:
=========
Bug fixes:
----------
Mitigated the coveralls HTTP status 422 by pinning coveralls-python to <3.0.0 (issue #55).
Fixed a dependency error that caused importlib-metadata to be installed on Python 3.8, while it is included in the Python base.
Fixed new issues raised by Pylint 2.10.
Disabled new Pylint issue ‘consider-using-f-string’, since f-strings were introduced only in Python 3.6.
Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13.
Fixed TypeError when running Sphinx due to using docutils 0.18 on Python 2.7.
Fixed error when installing virtualenv in install test on Python 2.7.
Fixed that the added setup.py commands (test, leaktest, installtest) were not displayed. They are now displayed at verbosity level 1 (using ‘-v’).
Enhancements:
------------
Enhanced test matrix on GitHub Actions to always include Python 2.7 and Python 3.4 on Ubuntu and Windows, and Python 2.7 and Python 3.5 on macOS.
Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in package metadata.
Cleanup:
-----------
Removed old tools that were needed on Travis and Appveyor but no longer on GitHub Actions: remove_duplicate_setuptools.py, retry.bat
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
This reverts commit c4c2a90040.
This update fails to build python3-kiwisolver, it works ok with 1.2.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
License-Update:
modify the description of License: change from 3-Clause BSD License to BSD-3-Clause
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog from 8.0.4 to 8.1.2:
==============================
- Fix error message for readable path check that was mixed up with the executable
check. #2236
- Restore parameter order for Path, placing the executable parameter at the end.
It is recommended to use keyword arguments instead of positional arguments. #2235
- Fix an issue with decorator typing that caused type checking to report that a
command was not callable. #2227
- Drop support for Python 3.6. #2129
- Remove previously deprecated code. #2130
- Group.resultcallback is renamed to result_callback.
- autocompletion parameter to Command is renamed to shell_complete.
- get_terminal_size is removed, use shutil.get_terminal_size instead.
- get_os_args is removed, use sys.argv[1:] instead.
- Rely on PEP 538 and PEP 540 to handle selecting UTF-8 encoding instead of ASCII.
Click's locale encoding detection is removed. #2198
- Single options boolean flags with show_default=True only show the default if it is True. #1971
- The command and group decorators can be applied with or without parentheses. #1359
- The Path type can check whether the target is executable. #1961
- Command.show_default overrides Context.show_default, instead of the other way around. #1963
- Parameter decorators and @group handles cls=None the same as not passing cls.
@option handles help=None the same as not passing help. #1959
- A flag option with required=True requires that the flag is passed instead of
choosing the implicit default value. #1978
- Indentation in help text passed to Option and Command is cleaned the same as
using the @option and @command decorators does. A command's epilog and
short_help are also processed. #1985
- Store unprocessed Command.help, epilog and short_help strings. Processing is
only done when formatting help text for output. #2149
- Allow empty str input for prompt() when confirmation_prompt=True and default="". #2157
- Windows glob pattern expansion doesn't fail if a value is an invalid pattern. #2195
- It's possible to pass a list of params to @command. Any params defined with
decorators are appended to the passed params. #2131.
- @command decorator is annotated as returning the correct type if a cls argument is used. #2211
- A Group with invoke_without_command=True and chain=False will invoke its
result callback with the group function's return value. #2124
- to_info_dict will not fail if a ParamType doesn't define a name. #2168
- Shell completion prioritizes option values with option prefixes over new options. #2040
- Options that get an environment variable value using autoenvvar_prefix treat
an empty value as None, consistent with a direct envvar. #2146
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-Fix documentation.
-Re-enable TTY echo at evtest exit.
-Fix ImportError: sys.meta_path is None, Python is likely shutting down.
-Closing the input device file descriptor in InputDevice.close() now happens in
the main thread, instead of in a new thread.
-Fix util.find_ecodes_by_regex not working across all supported Python versions.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The attempt to pass in correct headers was being ignored,
because it never got updated after distutils class was removed.
Switch to SETUPTOOLS_BUILD_ARGS, which setuptools3 class does
pay attention to.
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog from 1.11.0 to 2.0.1:
=========
Fix issues with switching to pyproject.toml
Drop support for python 2.7 and 3.6
Add support for python 3.9 and 3.10
Introduce pyproject.toml
Provide metadata via JSON file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
From the release notes (https://github.com/protocolbuffers/protobuf/releases):
- Make libprotobuf symbols local on OSX to fix issue #9395 (#9435)
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>
changelog:
===============================================================================
-Require Python 3.7 or later (breaking change).
-Remove deprecated submodules (breaking change).
The cache, fifo, lfu, lru, mru, rr and ttl submodules have been deleted.
Therefore, statements like from cachetools.ttl import TTLCache will no longer
work. Use from cachetools import TTLCacheinstead.
-Pass self to @cachedmethod key function (breaking change).
The key function passed to the @cachedmethod decorator is now called as key
(self, *args, **kwargs).
The default key function has been changed to ignore its first argument, so
this should only affect applications using custom key functions with the
@cachedmethod decorator.
-Change exact time of expiration in TTLCache (breaking change).
TTLCache items now get expired if their expiration time is less than or equal
to timer(). For applications using the default timer(), this should be barely
noticable, but it may affect the use of custom timers with larger tick
intervals. Note that this also implies that a TTLCache with ttl=0 can no longer
hold any items, since they will expire immediately.
-Change Cache.__repr__() format (breaking change).
String representations of cache instances now use a more compact and efficient
format, e.g.LRUCache({1: 1, 2: 2}, maxsize=10, currsize=2)
-Add TLRU cache implementation.
-Documentation improvements.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-[bug] [operations]
Fixed issue where using Operations.create_table() in conjunction with a
CheckConstraint that referred to table-bound Column objects rather than string
expressions would be added to the parent table potentially multiple times,
resulting in an incorrect DDL sequence. Pull request courtesy Nicolas CANIART.
-[bug] [environment]
The logging.fileConfig() line in env.py templates, which is used to setup Python
logging for the migration run, is now conditional on Config.config_file_name not
being None. Otherwise, the line is skipped as there is no default logging
configuration present.
-[bug] [mssql]
Fixed bug where an Operations.alter_column() operation would change a “NOT NULL”
column to “NULL” by emitting an ALTER COLUMN statement that did not specify
“NOT NULL”. (In the absence of “NOT NULL” T-SQL was implicitly assuming “NULL”).
An Operations.alter_column() operation that specifies
Operations.alter_column.type should also specify include either
Operations.alter_column.nullable or Operations.alter_column.existing_nullable to
inform Alembic as to whether the emitted DDL should include “NULL” or “NOT NULL”;
a warning is now emitted if this is missing under this scenario.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Now that the recipe for python3-pytest-lazy-fixture exists, add it to
RDEPENDS to fix the broken python3-prettytable ptests.
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>
This is a minor extension of pytest that is used by some ptests, such as
python3-prettytable. There is a set of ptests included (run-ptest script
is based on the one from python3-aspectlib).
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>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Instead of using the copy of lz4 that is embedded in the python3-lz4
source code, use the system lz4 library.
python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-Bugs Fixed
Python 3.11 dropped inspect.formatargspec() which was used in creating
signature changing decorators. Now bundling a version of this function which
uses Parameter and Signature from inspect module when available. The
replacement function is exposed as wrapt.formatargspec() if need it for
your own code.
When using a decorator on a class, isinstance() checks wouldn’t previously
work as expected and you had to manually use Type.__wrapped__ to access the
real type when doing instance checks. The __instancecheck__ hook is now
implemented such that you don’t have to use Type.__wrapped__ instead of Type
as last argument to isinstance().
Eliminated deprecation warnings related to Python module import system, which
would have turned into broken code in Python 3.12. This was used by the post
import hook mechanism.
-New Features
Binary wheels provided on PyPi for aarch64 Linux systems and macOS native
silicon where supported by Python when using pypa/cibuildwheel.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: There is separate License file now so use that for
checksums
use setuptools_build_meta since normal setuptools3 bbclass ends up
in errors
| distutils.errors.DistutilsError: Command '['/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux-musl/python3-kiwisolver/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3', '-m
', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpmeo45wf4', '--quiet', 'cppy>=1.2.0']' returned non-zero exit status 1.
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
Release is here [1]
[1] https://github.com/nucleic/kiwi/releases/tag/1.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef,
and nodes.FunctionDef.
Accessing the doc attribute of nodes.Module, nodes.ClassDef, and
nodes.FunctionDef has been deprecated in favour of the doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef,
and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Replace custom cachedproperty with functools.cached_property and deprecate it
for Python 3.8+.
Closes#1410
Set end_lineno and end_col_offset attributes to None for all nodes
with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
to unexpected errors. Overwriting them with None will cause a fallback
to the already supported way of PyPy 3.7.
Add missing shape parameter to numpy zeros_like, ones_like,
and full_like methods.
ClosesPyCQA/pylint#5871
Only pin wrapt on the major version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.
The recipe that needed poetry-core is python3-iso8601.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
These variables are no longer used by pip_install_wheel, so remove them
from all recipes that set them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The test suite is no longer shipped in the sources, so remove PN-tests.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Nothing is packaged in these, there are no debug symbols and the sources
are packaged into the regular packages.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
By assigning directly to DEPENDS the dependencies in setuptools3 are
overwritten, so python3-setuptools-native is present to let the build
succeed entirely through luck.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Put the patch into a directory named after PN to avoid needing to set
FILESEXTRAPATHS.
Remove explicit FILES:${PN}-dbg, as these are packaged automatically.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 lru_cache for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 configparser for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Pystache hasn't been maintained since 2014. One maintained alternative
is https://github.com/noahmorrison/chevron.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Show diff when black fails
Fix f-string
Fix black fail introduced
Log error code on exception
Bump protobuf to 3.19.1 and regenerate protobuf files
Bump black from 21.12b0 to 22.1.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Changes
-------
- Bump required python version for doc.
- Remove python 3.6 from metadata.
- Re-bump changelog.
- Bump version.
- Bump changelog.
- Bump misp-objects.
- Bump deps.
- Bump new minimal python version to 3.7.
- Perl dependencies not longer required.
- Simplify submodules checkout.
- Use https for link to documentation.
- Bump deps.
- [misp-objects] updated to the latest version.
- [FIPS] no clean way to support OpenSSL hashlib interface for FIPS.
- [FIPS] falling back on older version of Python not having
usedforsecurity.
- [FIPS] in some cases, the `usedforsecurity` is not used. So fail if
the FIPS compliance is required and then the `usedforsecurity` is
disabled.
- [feeds] FIPS: when MD5 hashes are generated for fast-lookup it's not
for security.
hashlib provides an option to tell if the hash is used for security or
not. By default, it's set to True. For the feed cache generation, it's
not. Then usedforsecurity=False
- Bump deps.
- Bump deps, objects.
Fix
-----
- Incorrect call when requesting a new API key.
- Libfuzzy-dev is not longer required.
- [mispevent] cannot type.
- Make mypy happy.
New
------
- Get_new_authkey for a user.
- [dep] Use pydeep2 instead of pydeep.
Other
------
- Create add_filetype_object_from_csv.py.
- Add feed option for local tag exclusion #817.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Ignore TIFF XResolution or YResolution with 0 in the denominator.
Add section on freezing
Update "python_requires" to 3.7+
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py-use-setuptools-instead-of-distutils.patch
removed since it's included in 2.4.0
Changelog:
=========
* enable building wheels for multiple platforms and Python versions using
pypa/cibuildwheel, see #165 and #170
* use setuptools instead of distutils in 'setup.py', #168
* add missing type hinting for '.count()' step argument
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
* Fixed inference of "self" in binary operations in which "self"
is part of a list or tuple.
* Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which
resulted in instance arguments missing on these nodes.
* Fixed a crash on "Super.getattr" when the attribute was previously uninferable due to a cache
limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the
"__init__" attribute) is very large.
* Inlcude names of keyword-only arguments in "astroid.scoped_nodes.Lambda.argnames".
* Fixed a crash inferring on a "NewType" named with an f-string.
* Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which
added a new `attrs` module alongside the existing `attr`.
* Use the "end_lineno" attribute for the "NodeNG.tolineno" property
when it is available.
* Add "is_dataclass" attribute to "ClassDef" nodes.
* Use "sysconfig" instead of "distutils" to determine the location of
python stdlib files and packages.
* Fixed crash with recursion error for inference of class attributes that referenced
the class itself.
* Fixed crash when trying to infer "items()" on the "__dict__"
attribute of an imported module.
* Add optional "NodeNG.position" attribute.
Used for block nodes to highlight position of keyword(s) and name
in cases where the AST doesn't provide good enough positional information.
E.g. "nodes.ClassDef", "nodes.FunctionDef".
* Fix "ClassDef.fromlineno". For Python < 3.8 the "lineno" attribute includes decorators.
"fromlineno" should return the line of the "class" statement itself.
* Performance improvements. Only run expensive decorator functions when
non-default Deprecation warnings are enabled, eg. during a Pytest run.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Fixed a bug pymongo.collection.Collection.bulk_write() did not apply the
collection’s CodecOptions to upserted_ids result (PYTHON-3075).
Fixes the High Availability and PyMongo example for initializing a replica
set (PYTHON-3041).
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
New set algorithms_available lists all implemented algorithms in xxhash package.
Upgrade xxHash to v0.8.1.
Drop support for EOL Python versions, require python >= 3.6 from now on.
Migrate to github actions and build arm64 wheels for macOS.
Always release GIL.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Poetry can bootstrap itself, so just inherit poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This reverts commit df077258b6.
Add python3-ipy back and inherit setuptools3-legacy.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Python Version Support
----------------------
- Python 3.6 is no longer supported by Waitress
- Python 3.10 is fully supported by Waitress
Bugfix
-------
- "wsgi.file_wrapper" now sets the "seekable", "seek", and "tell"
attributes from the underlying file if the underlying file is seekable. This
allows WSGI middleware to implement things like range requests for example
See https://github.com/Pylons/waitress/issues/359 and
https://github.com/Pylons/waitress/pull/363
- In Python 3 "OSError" is no longer subscriptable, this caused failures on
Windows attempting to loop to find an socket that would work for use in the
trigger.
See https://github.com/Pylons/waitress/pull/361
- Fixed an issue whereby "BytesIO" objects were not properly closed, and
thereby would not get cleaned up until garbage collection would get around to
it.
This led to potential for random memory spikes/memory issues, see
https://github.com/Pylons/waitress/pull/358 and
https://github.com/Pylons/waitress/issues/357 .
Features
--------
- When the WSGI app starts sending data to the output buffer, we now attempt to
send data directly to the socket. This avoids needing to wake up the main
thread to start sending data. Allowing faster transmission of the first byte.
See https://github.com/Pylons/waitress/pull/364
- Add REQUEST_URI to the WSGI environment.
REQUEST_URI is similar to "request_uri" in nginx. It is a string that
contains the request path before separating the query string and
decoding "%"-escaped characters.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Bugfixes
--------
- twisted.internet.gireactor.PortableGIReactor.simulate and
twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises
TypeError when there are no delayed called. This was a regression introduced
with the migration to Python 3 in which the builtin 'min' function no longer
accepts 'None' as an argument. (#9660)
- twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer
if the SSH version string is not sent in the first 4096 bytes.
(#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx)
Improved Documentation
----------------------
- Add type annotations for twisted.web.http.Request.getHeader. (#10270)
Deprecations and Removals
-------------------------
- Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated. (#10303)
Bugfixes
--------
- _dist.test.test_workertrial now correctly compare strings via assertEqual() and pass on PyPy3 (#10302)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Main Changes
------------
Add pyenv's .python-version into .gitignore, #576
Added more --very-verbose logging to make clearer what's going on, #578
Updated versions of containers in CI config, #583
Fixed coverage config template for namespaced packages, #610
Replaced internal appdirs dependency with platformdirs, #584
Documentation Changes
---------------------
Mention python -m setuptools_scm as a form of debugging, #574
Mention setting the default branch in git in docs, #577
Fix documented path to pyscaffold/default.cfg, #580
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
0001-setupinfo.py-check-the-return-value.patch
removed since it's included in 4.8.0.
Changelog:
=========
Features added
--------------
* GH#337: Path-like objects are now supported throughout the API instead of just strings.
Patch by Henning Janssen.
* The ''ElementMaker'' now supports ''QName'' values as tags, which always override
the default namespace of the factory.
Bugs fixed
----------
* GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in
lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
Patch by Tobias Deiminger.
Other changes
-------------
* Built with Cython 0.29.28.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
refresh 0001-Fix-host-contamination-of-include-files.patch
for new version.
License-Update: year updated to 2022.
Changelog:
=========
- renamed _icu extension module to _icu_ and moved it into icu module
- moved icu python module sources into py directory
- deleted long deprecated PyICU.py file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Build wheels for aarch64 at Travis; publish them at PyPI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
fix: auto ping/pong logs should be debug instead of info (#1524)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Do not poke at build system for finding platform
platform is target specific and when cross compiling it should be
detected differently, in this case lets pass it via environment so that
it can be set in recipe
Looks like we're not the first to need to specify the target platform
[1]
when building this package. According to upstream, we can just update
setup.cfg instead of patching setup.py.
[1] https://github.com/ICRAR/crc32c/pull/10
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.4:
- Fix traceback in hashlib_insecure_functions
- Add version 1.7.3 to dropdown
- core/config: Fix ConfigError missing argument if toml is missing
- Add 1.7.4 in issue template
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Migrate to use setuptools instead of distutils
merge slip.dbus into slip module since we use
slip.dbus, it works fine for OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.5.2:
- Add support for building aarch64 wheels
- Remove update process document
- Port ast27 to Python 3.11
- Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+
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.0:
- Drop support for Python 3.6
- Remove deprecated VERSION, use version instead
- Remove when from naturaldelta() and allow largest timedelta
- Remove deprecated private function aliases
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.13.0:
- Clarify that the Headers class is a Sequence and inherit from
the collections Sequence abstract base class to also indicate
this (and gain the mixin methods)
- Switch event classes to dataclasses for easier typing and
slightly improved performan
- Shorten traceback of protocol errors for easier readability
- Add typing including a PEP 561 marker for usage by type checkers
- Expand the allowed status codes to [0, 999] from [0, 600]
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.7:
- Dropped support for Python 3.7
- Added the Asadpour algorithm for solving the asymmetric traveling
salesman problem
- Removed all internal usage of the numpy.matrix class, and added a
FutureWarning to all functions that return a numpy.matrix
instance
- Added support for the scipy.sparse array interface
- Added generic dtype support to
~networkx.convert_matrix.to_numpy_array
- Added support for computing betweenness centrality on multigraphs
- Added support for directed graphs and multigraphs to
greedy_modularity_communities
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>
Use github to fetch it since its not yet available on pypi
Port to use setuptools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.
Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Add --verbose logging for querying keyring credentials.
Log all upload responses with --verbose.
Show more helpful error message for invalid metadata.
-Bugfixes
Require a recent version of urllib3.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Switch back to pulling from PyPI which now does have appropriate release
tarballs. This fixes building the wheel.
While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM
at the LICENSE file that's now part of the release tarball.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the
1.8.1 tag.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add function to generate expected PYPA_WHEEL name.
Generated name:
/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/
Flask_Versioned-0.9.4.post20101221-py3-none-any.whl
Default (wrong) name:
Flask_Versioned-0.9.4-20101221-*.whl
Error:
WARNING: Requirement '/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/Flask_Versioned-0.9.4-20101221-*.whl'
looks like a filename, but the file does not exist
ERROR: Flask_Versioned-0.9.4-20101221-*.whl is not a valid wheel filename.
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Does not build with bdist_wheel. If you need this package please work
with upstream to update to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Connect with an empty auth object instead of None
Fix indentation in the "Rooms" docs example.
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherity pypi and the package name is capitalized
regardless. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
When calling setup.py with bdist_wheel, the find_pth_directory() in
setup.py correctly install the pth file to
${D}${PYTHON_SITEPACKAGES_DIR}. It's not clear why setup.py was being
patched original when the recipe was added in 2019, but it doesn't
appear to be necessary now.
This fixes the recipe to build with the recent PEP-517 changes.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Fix the pip install variables since the default values don't work
here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The current SRC_URI is pointing to a fork of an abandoned
code.google.com project, the latter being what is actually on pypi.
Aside from some activity in 2012 porting to python3, the fork hasn't
seen any real activity.
The package doesn't have wheel support and has no dependents in
meta-openembedded
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream hasn't done a release, but has commits which among other things
switches from distutils to setuptools.
Now DEPENDS on python3-setuptools-scm-native
Set PV to what the version of the 'wheel' is.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Reviewed-by: TIm Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH so set PYPA_WHEEL
appropriately.
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
Added :func:'print_black_and_white' worksheet method to set "Black and
White" print options.
License-Update: year updated to 2022.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022.
ChangeLog
============
- Fix 10 year old bug and improve dispatcher handling for run_forever (#795)
- Fix run_forever to never return None, only return True or False, and add two
tests (#788)
- Remove Python 3.6 support, EOL in Dec 2021
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with ditutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The LICENSE is already included in the wheel and therefore packaged like
any other wheel. Remove the duplicate LICENSE erroneously installed in
/usr/pako/LICENSE.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The code has not been touched since 2013 and does not build with
bdist_wheel. If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to a useful name for
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH
appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
The recipe also builds its wheel in ${S}/dist so we must set
PIP_INSTALL_DIST_PATH appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
wheel dist-info standard files).
This recipe may be overly complicated. This commit is only an attempt to
fix the install of the wheel.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares a flit_core.buildapi
build backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares the flit_core.buildapi
backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, the wheel is being built in
${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, this is building its wheel in
${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add comment that setuptools_build_meta is currently broken and stick
with setuptools3 for now.
For some reason, the wheel is built in ${S}/dist and not ${B}/dist.
Set PIP_INSTALL_DIST_PATH accordingly as a workaround.
Signed-off-by: Tim Orling <tim.orling@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.11:
- Rewrote an async test and replaced setDaemon with daemon property
assignment for thread handling
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.1.1:
- Drop support for EOL Python 3.6
- Use <caption> tags to print html table titles
- Add colorful tables and themes
- Convert None to empty cell or custom value
- Resolve "KeyError" issue on _stringify_row
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>
anyjson is inactive [1] moreover does not have wheel support
there is drop-in replacement to use oslo.serialization if needed
we can accept such a recipe if submitted
[1] https://snyk.io/advisor/python/anyjson
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add pytest module dependency for testing
nose has been dropped upstream too [1]
[1] 037453c6f9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.3.2:
- Fix: adapt to pypy3.9's decorator tracing behavior. It now
traces function decorators like CPython 3.8: both the @-line
and the def-line are traced.
- Debug: added pybehave to the list of Diagnostics: coverage debug
and --debug options
- Fix: show an intelligible error message if
--concurrency=multiprocessing is used without a configuration file
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:
- Fixed issue where tab completion was quoting argparse flags in
some cases.
- Added broader exception handling when enabling clipboard
functionality via pyperclip.
- Added PassThroughException to __init__.py imports.
- cmd2 now uses pyreadline3 when running any version of Python
on Windows
- Improved memory usage in certain use cases of tables
(e.g. nested colored tables)
- Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0.
Use cmd2.Fg and cmd2.Bg instead.
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 0.0.57:
- Get translation changes from CLDR
- Add more translations from CLDR
- Replace "ibus/cangjie" with "ibus/table:cangjie"
- Updates for Sami languages
- Updates for Finnish keyboard layouts
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:
- Regression in Series.mask() with inplace=True and PeriodDtype and
an incompatible other coercing to a common dtype instead of
raising
- Regression in assert_frame_equal() not respecting check_flags=False
- Regression in DataFrame.loc() raising ValueError when indexing
(getting values) on a MultiIndex with one level
- Regression in Series.fillna() with downcast=False incorrectly
downcasting object dtype
- Regression in api.types.is_bool_dtype() raising an AttributeError
when evaluating a categorical Series
- Regression in DataFrame.iat() setting values leading to not
propagating correctly in subsequent lookups
- Regression when setting values with DataFrame.loc() losing Index
name if DataFrame was empty before
- Regression in join() with overlapping IntervalIndex raising an
InvalidIndexError
- Regression when setting values with Series.loc() raising with all
False indexer and Series on the right hand side
- Regression in read_sql() with a DBAPI2 connection that is not an
instance of sqlite3.Connection incorrectly requiring SQLAlchemy
be installed
- Regression in DateOffset when constructing with an integer
argument with no keywords (e.g. pd.DateOffset(n)) would behave
like datetime.timedelta(days=0)
- Fixed segfault in DataFrame.to_json() when dumping tz-aware
datetimes in Python 3.10
- Stopped emitting unnecessary FutureWarning in
DataFrame.sort_values() with sparse columns
- Fixed window aggregations in DataFrame.rolling() and
Series.rolling() to skip over unused elements
- Fixed builtin highlighters in Styler to be responsive to NA with
nullable dtypes
- Bug in apply() with axis=1 raising an erroneous ValueError
- Reverted performance speedup of DataFrame.corr() for
method=pearson to fix precision regression
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.1.0:
- Packaged using flit. Wheels now exist, and setuptools is no
longer required.
- This package now has a typical package structure, instead of
being a single module. The code is in ordered_set/__init__.py
instead of ordered_set.py.
- There is an ordered_set/py.typed so that type checkers know
about the types.
- Use the type aliases SetLike[T] and OrderedSetInitializer[T] to
simplify some types.
- Updated the way overloaded type signatures are written to what
MyPy currently expects.
- Minimum Python version is 3.7.
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>
changelog:
===============================================================================
-The test client's as_tuple parameter is deprecated and will be removed in
Werkzeug 2.1. It is now also deprecated in Flask, to be removed in Flask 2.1,
while remaining compatible with both in 2.0.x. Use response.request.environ
instead.
-Fix type annotation for errorhandler decorator.
-Revert a change to the CLI that caused it to hide ImportError tracebacks when
importing the application.
-app.json_encoder and json_decoder are only passed to dumps and loads if they
have custom behavior. This improves performance, mainly on PyPy.
-Clearer error message when after_this_request is used outside a request
context.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
python3-nose still contains Python 2 code which causes errors in
do_compile when using bdist_wheel or PEP-517 packaging.
Like nose, test-generator has not been touched since 2016.
Drop this recipe unless someone fixes the issues in python3-nose
[YOCTO #14638]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Because of layer priority, this recipe must be dropped before a build
with the new PEP-517 packaging can proceed due to dependency loops.
Signed-off-by: Tim Orling <tim.orling@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.4:
- open_file recognizes Path("-") as a standard stream, the same as
the string "-".
- The option and argument decorators preserve the type annotation
of the decorated function.
- A callable default value can customize its help text by
overriding __str__ instead of always showing (dynamic).
- Fix a typo in the Bash completion script that affected file and
directory completion. If this script was generated by a previous
version, it should be regenerated.
- Fix typing for echo and secho file 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 1.7.0:
- Dropped support for EOL Pythons 2.7, 3.4 and 3.5
- Dropped support for LSB and uname back-ends when --root-dir is
specified
- Moved distro.py to src/distro/distro.py
- Documented that distro.version() can return an empty string on
rolling releases
- Documented support for Python 3.10
- Added official support for Rocky Linux distribution
- Added a shebang to distro.py to allow standalone execution
- Added support for AIX platforms
- Added compliance for PEP-561
- Fixed include_uname parameter oversight
- Fixed crash when uname -rs output is empty
- Fixed Amazon Linux identifier in distro.id() documentation
- Fixed OpenSuse >= 15 support
- Fixed encoding issues when opening distro release files
- Fixed linux_distribution regression
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:
year updated to 2022
changelog:
===============================================================================
Add a new command alembic ensure_version, which will ensure that the Alembic
version table is present in the target database, but does not alter its
contents. Pull request courtesy Kai Mueller.
Fixed regression where usage of a with_variant() datatype in conjunction
with the existing_type option of op.alter_column() under batch mode would
lead to an internal exception.
Implemented support for recognizing and rendering SQLAlchemy “variant” types
going forward into SQLAlchemy 2.0, where the architecture of “variant”
datatypes will be changing.
Added a rule to the MySQL impl so that the translation between JSON / LONGTEXT
is accommodated by autogenerate, treating LONGTEXT from the server as
equivalent to an existing JSON in the model.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.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:
- Add a way to make next() easier to use
- Restore compat with python2
- Fix regressions with set_current
- Fix compat for tests under py27
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since 2021-11-23 this is on oe-core:
d56fcb5806 ("python: introduce python3-dtschema")
The recipe in oe-core is named python3-dtschema (without dash between
'dt' and 'schema'). It points to the correct GIT repository and uses a
much more recent version.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
When using ns.PATH, only split off a maximum of two suffixes from a file name.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022
Changelog:
=========
Features
--------
-Python 3.10 is now a supported platform (#10224)
-Type annotations have been added to the twisted.python.fakepwd module. (#10287)
Bugfixes
--------
-twisted.internet.defer.inlineCallbacks has an improved type annotation, to
avoid typing errors when it is used on a function which returns a non-None
result. (#10231)
-twisted.internet.base.DelayedCall.__repr__ and
twisted.internet.task.LoopingCall.__repr__ had the changes from #10155
reverted to accept non-function callables. (#10235)
-Revert the removal of .whl building that was done as part of #10177. (#10236)
-The type annotation of the host parameter to
twisted.internet.interfaces.IReactorTCP.connectTCP has been corrected from
bytes to str. (#10251)
-Deprecated twisted.python.threading.ThreadPool.currentThread() in favor of
threading.current_thread().
-Switched twisted.python.threading.ThreadPool.currentThread() and
twisted.python.threadable.getThreadID() to use 'threading.current_thread() to
avoid the deprecation warnings introduced forthreading.currentThread()'
in Python 3.10. (#10273)
Improved Documentation
----------------------
-twisted.internet.utils.runWithWarningsSupressed behavior of waiting on
deferreds has been documented. (#10238)
-Sync API docs templates with pydoctor 21.9.0 release, using new theming
capabilities. (#10267)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
- "ProxyFix" supports IPv6 addresses. :issue:'2262'
- Type annotation for "Response.make_conditional",
"HTTPException.get_response", and "Map.bind_to_environ" accepts
"Request" in addition to "WSGIEnvironment" for the first
parameter. :pr:'2290'
- Fix type annotation for "Request.user_agent_class". :issue:'2273'
- Accessing "LocalProxy.__class__" and "__doc__" on an unbound
proxy returns the fallback value instead of a method object.
:issue:'2188'
- Redirects with the test client set "RAW_URI" and "REQUEST_URI"
correctly. :issue:'2151'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.6:
- add optional value parameter to `util.count_n()`
- determine machine endianness at build time when possible, by
using the `PY_LITTLE_ENDIAN` macro, in order to optimize
`shift_r8()`
- add official Python 3.11 support
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.14.0:
- Don't deprecate time.Unit enumeration
- Use humanize.intcomma to format years in time module
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.15.0:
- Fix webcam FPS settings on MacOS
- Add format_hint to v3 API
- Make tifffile read resolution metadata
- Make RTD fail on warnings during CI
- Remove link to download tracker
- Type annotations for pillow
- Contribution guidelines
- Deprecate python 3.6 support
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>
changelog:
Drop support for Python 2.7. #1047
The minimum cryptography version is now 35.0.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
OAuth2.0 Client:
Add Device Authorization Flow for Web Application
Add PKCE support for Client
Fallback to none in case of wrong expires_at format.
OAuth2.0 Provider:
Add support for CORS to metadata endpoint.
Add support for CORS to token endpoint.
Remove comma after Bearer in WWW-Authenticate
OAuth2.0 Provider - OIDC:
Call save_token in Hybrid code flow
OIDC add support of refreshing ID Tokens with refresh_id_token
The RefreshTokenGrant modifiers now take the same arguments as the
AuthorizationCodeGrant modifiers (token, token_handler, request).
General:
Added Python 3.9, 3.10, 3.11
Improve Travis & Coverage
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update:
year updated to 2022
changelog:
===============================================================================
-orm
Fixed issue in Session.bulk_save_objects() where the sorting that takes place
when the preserve_order parameter is set to False would sort partially on
Mapper objects, which is rejected in Python 3.11.
-postgresql
Fixed regression where the change in #7148 to repair ENUM handling in
PostgreSQL broke the use case of an empty ARRAY of ENUM, preventing rows
that contained an empty array from being handled correctly when fetching results.
-mysql
Fixed regression in asyncmy dialect caused by #7567 where removal of the
PyMySQL dependency broke binary columns, due to the asyncmy dialect not being
properly included within CI tests.
-mssql
Added support for FILESTREAM when using VARBINARY(max) in MSSQL.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This package is Apache-2.0 licensed, not BSD.
Also set the license checksum to the specific fragment of the README.rst
which states the license.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.3:
- Added the lcov command to generate reports in LCOV format.
- the coverage data file can now be specified on the command line
with the --data-file option in any command that reads or writes
data. This is in addition to the existing COVERAGE_FILE
environment variable.
- coverage measurement data will now be written when a SIGTERM
signal is received by the process. This includes
Process.terminate, and other ways to terminate a process.
Currently this is only on Linux and Mac; Windows is not supported.
- Dropped support for Python 3.6, which reached end-of-life on
2021-12-23.
- Updated Python 3.11 support to 3.11.0a4.
- Fix: the coverage data file is now created in a more robust way,
to avoid problems when multiple processes are trying to write
data at once.
- Fix: a .gitignore file will only be written into the HTML report
output directory if the directory is empty. This should prevent
certain unfortunate accidents of writing the file where it is
not wanted.
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.7.0:
- Replace recommendation of using system packages with pip3
- Add truecolor support
- Generate documentation with Sphinx and use Read the Docs
- Adds support for OSC hyperlink sequences
- Add test coverage
- Replace pkg_resources with importlib.metadata
- Fix including of CHANGELOG.rst
- Update linting dependencies
- Upgrade the build process
- Add type hinting
- Update CI badges in readme
- Bump setuptools-scm 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 0.17.3:
- Allow writer to become a reader in thread ReaderWriter lock
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>
mips/glibc systems have interesting problem where dev_t is not defined
properly for O32 ABI [1], therefore address it for libsystemd crate, it
works fine for musl
Fixes
error[E0308]: mismatched types
--> /usr/src/debug/python3-pyruvate/1.1.2-r0/cargo_home/bitbake/libsystemd-0.4.1/src/logging.rs:296:25
|
296 | device: stat.st_dev,
| ^^^^^^^^^^^ expected `u64`, found `u32`
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=17786
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.0:
- Improved warning messages
- Index can hold arbitrary ExtensionArrays
- Styler
- Multi-threaded CSV reading with a new CSV Engine based on
pyarrow
- Rank function for rolling and expanding windows
- Groupby positional indexing
- DataFrame.from_dict and DataFrame.to_dict have new 'tight'
option
- Fix inconsistent date string parsing
- Fix ignoring dtypes in concat with empty or all-NA columns
- Null-values are no longer coerced to NaN-value in value_counts
and mode
- mangle_dupe_cols in read_csv no longer renames unique columns
conflicting with target names
- unstack and pivot_table no longer raises ValueError for result
that would exceed int32 limit
- groupby.apply consistent transform detection
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.14.0:
- Handle pillow9 GIFs
- Allow mode=None when writing with pillow
- Add repo to PYTHONPATH in should_release?
- Reorganize commit tags
- Reduce release frequency to weekly
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.3:
- Pick up custom urlconf set by Django middlewares from request
if any
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.2:
- Enhanced log output when connecting to servers that do not
support server-sig-algs extensions, making the new-as-of-2.9
defaulting to SHA2 pubkey algorithms more obvious when it
kicks in.
- Connecting to servers which support server-sig-algs but which
have no overlap between that list and what a Paramiko client
supports, now raise an exception instead of defaulting to
rsa-sha2-512 (since the use of server-sig-algs allows us to
know what the server supports).
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.0:
- Restrict builtins for ImageMath.eval()
- Ensure JpegImagePlugin stops at the end of a truncated file
- Fixed ImagePath.Path array handling
- Remove consecutive duplicate tiles that only differ by their
offset
- Removed redundant part of condition
- Explicitly enable strip chopping for large uncompressed TIFFs
- Use the Windows method to get TCL functions on Cygwin
- Changed error type to allow for incremental WebP parsing
- Improved I;16 operations on big endian
- Ensure that BMP pixel data offset does not ignore palette
- Limit quantized palette to number of colors
- Use latin1 encoding to decode bytes
- Fixed palette index for zeroed color in FASTOCTREE quantize
- When saving RGBA to GIF, make use of first transparent palette
entry
- Pass SAMPLEFORMAT to libtiff
- Added rounding when converting P and PA
- Improved putdata() documentation and data handling
- Exclude carriage return in PDF regex to help prevent ReDoS
- Image.NONE is only used for resampling and dithers
- Fixed freeing pointer in ImageDraw.Outline.transform
- Add Tidelift alignment action and badge
- Replaced further direct invocations of setup.py
- Added ImageShow support for xdg-open
- Switched from deprecated "setup.py install" to "pip install ."
- Support 16-bit grayscale ImageQt conversion
- Fixed raising OSError in _safe_read when size is greater than
SAFEBLOCK
- Convert subsequent GIF frames to RGB or RGBA
- WebP: Fix memory leak during decoding on failure
- Do not prematurely return in ImageFile when saving to stdout
- Added support for top right and bottom right TGA orientations
- Corrected ICNS file length in header
- Block tile TIFF tags when saving
- Added line width argument to ImageDraw polygon
- Do not redeclare class each time when converting to NumPy
- Only prevent repeated polygon pixels when drawing with
transparency
- Fix pushes_fd method signature
- Add support for pickling TrueType fonts
- Only prefer command line tools SDK on macOS over default
MacOSX SDK
- Fix compilation on 64-bit Termux
- Replace 'setup.py sdist' with '-m build --sdist'
- Use declarative package configuration
- Use title for display in ImageShow
- Fix for PyQt6
- Rename master to main
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>
changelog:
====================================================================
see changes at
https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md
Features
analyticsadmin: update the api 981bbe3 (4d5c983)
artifactregistry: update the api 0d1152f (4d5c983)
content: update the api 195bfc2 (4d5c983)
datapipelines: update the api 3bb1937 (4d5c983)
dataproc: update the api 2fc3a16 (4d5c983)
datastream: update the api d51a6ee (4d5c983)
displayvideo: update the api 459a636 (4d5c983)
drive: update the api 92ec7cf (4d5c983)
eventarc: update the api 8fd4b62 (4d5c983)
metastore: update the api b7f92e4 (4d5c983)
ondemandscanning: update the api e8a2008 (4d5c983)
osconfig: update the api 974f389 (4d5c983)
privateca: update the api f48c528 (4d5c983)
recaptchaenterprise: update the api edd3d24 (4d5c983)
redis: update the api 0a68f42 (4d5c983)
run: update the api 59c518f (4d5c983)
sasportal: update the api 1517d9d (4d5c983)
servicedirectory: update the api 298a0e1 (4d5c983)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
Fix support for Sanic v21.9.0 and up
Include example code in flake8 pass
Remove unused __version__ constant #262
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelogs:
=============================================================
Truncate input after cursor. Fixes#351 (#352)
Support of path completion in fish #327 (#359)
Drop support for Python 2.7 and 3.5 (#361)
Add support for Python 3.10 (#356)
Test, documentation, and release infrastructure improvements
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Check the return value in subprocess to guarantee the subprocess
execute successfully or not as after [1] introduced to limit the
netowork, there some difference during do_compile phase as below.
Before the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b''
>>>
After the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
>>>
[1] https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543
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 3.7.1:
- Fix broken link to packaging tutorial
- Add support for core metadata version 2.2, defined in PEP 643.
- Add support for Python 3.10
- Show more helpful messages for invalid passwords
- Allow the --skip-existing option to work with GCP Artifact
Registry
- Add a helpful error message when an upload fails due to missing
a trailing slash in the URL
- Generalize --verbose suggestion when an upload fails
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.12:
- Remove Cyclic references (memory leak)
- Add left & right shift operations (<< and >>)
- Switch to GH actions & CodeCov.io for CI tests
- Add extra contributors details
- Reformat w/ Black + isort, and have linting of those in 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.3.0:
- Do not install C sources with binary distributions
- Dropped Python 3.6 support
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:
- SVCB and HTTPS records have been updated to track the evolving
draft standard.
- The ZONEMD type has been added.
- The resolver now returns a LifetimeTimeout exception which
includes an error trace like the NoNameservers exception. This
class is a subclass of dns.exception.Timeout for backwards
compatibility.
- DNS-over-HTTPS will try to use HTTP/2 if the httpx and h2
packages are installed.
- DNS-over-HTTPS is now supported for asynchronous queries and
resolutions.
- dns.zonefile.read_rrsets() has been added, which allows rrsets
in zonefile format, or a restrition of it, to be read. This
function is useful for applications that want to read DNS data
in text format, but do not want to use a Zone.
- On Windows systems, if the WMI module is available, the resolver
will retrieve the nameserver from WMI instead of trying to
figure it out by reading the registry. This may lead to more
accurate results in some cases.
- The CERT rdatatype now supports certificate types IPKIX, ISPKI,
IPGP, ACPKIX, and IACPKIX.
- The CDS rdatatype now allows digest type 0.
- Dnspython zones now enforces that a node is either a CNAME node
or an "other data" node. A CNAME node contains only CNAME,
RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, or RRSIG(NSEC3) rdatasets.
An "other data" node contains any rdataset other than a CNAME or
RRSIG(CNAME) rdataset. The enforcement is "last update wins". For
example, if you have a node which contains a CNAME rdataset, and
then add an MX rdataset to it, then the CNAME rdataset will be
deleted. Likewise if you have a node containing an MX rdataset
and add a CNAME rdataset, the MX rdataset will be deleted.
- Extended DNS Errors, as specified in RFC 8914, are now supported.
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.1.1:
- Fix so that cythonized functions can be decorated
- Fix an issue in the decorator_apply example
- Fix issues with decorator.contextmanager
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>
Use the same approach as librsvg to disable 64-bit atomics on platforms
which have 32-bit pointers or are otherwise not supported.
https://github.com/crossbeam-rs/crossbeam/blob/master/no_atomic.rshttps://doc.rust-lang.org/std/sync/atomic/#portability
"PowerPC and MIPS platforms with 32-bit pointers do not have AtomicU64
or AtomicI64 types."
Signed-off-by: Tim Orling <tim.orling@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.0:
- Enforce validation for day=1. Before this release we used to
support day=0 and it was silently glided to day=1 to support
having both day in day in 4th field when it came to have
6fields cron forms (second repeat). It will now raises a
CroniterBadDateError.
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.2:
- Remove unecessary setuptools pin
- Switch to the modern python package build infrastructure
- Remove support for python 3.5 and earlier, including 2.7
- Add support for python 3.9 and 3.10
- Fix a conflict with django lock
- Add __version__ and __all__ attributes
- Fix a failure to parse README as utf-8
- Move from nosetest to pytest and cleanup testing infrastructure
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.8.1:
- Fixed pickle problem of jdate and jdatetime objects
- Fixed unicode literal problem in isoformat
License-Update: Use the LICENSE file.
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>
See https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3601---2021-12-14
for changes
* Add PSF-2.0 license and explicitly add checksums for the LICENSE files that
are packaged.
* RDEPENDS on python3-hypothesis (in oe-core) for ptest so we can drop the
patch for skipping.
* Drop backported patch for openssl3 support.
* inherit new setuptools_rust class (which inherits new pyo3 class, which
inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Cleanup and alphabetize the RDEPENDS
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
- Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
only package.repository was strictly required):
[package]
description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
homepage = "https://github.com/pyca/cryptography"
repository = "https://github.com/pyca/cryptography"
* Add patches to src/rust/Cargo.toml to fix cargo errors including pem version
* Add check-memfree.py to ptest to check for sufficient free memory
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add note to remind contributors to keep this recipe in lock-step with
python3-cryptography. They must be at the same version.
5bd0c10d allow parsing of nonstandard country name and jurisdiction country name (#6641)
78c2dd8a add AES SIV vectors (#6608)
c451c1df add AES OCB3 test vectors (#6606)
4da2a681 Allow parsing CSR extensions with the critical bit having an explicitly encoded default (#6600)
bb05d4b5 allow multiple identical pem blocks (#6551)
f4871a21 add accvraiz1 bmpstring test vector (#6503)
667e7a5f Add new PKCS12 test vectors (#6383)
703de3af Accept combined PEM files with multiple sections (#6365)
51221b2c support legacy PEM headers for certificate and CSR (#6356)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
0.6.0 (2022-01-15)
* pytest>=6.0 is now required.
* Added official support for Python 3.10.
* Dropped support for Python 3.5.
* Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52).
* Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30).
References:
https://github.com/pytest-dev/pytest-subtests/pull/52https://github.com/pytest-dev/pytest-subtests/pull/30
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Pyruvate is a reasonably fast, multithreaded, non-blocking WSGI server
implemented in Rust.
This recipe uses the new setuptools3_rust and pyo3 classes.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Dependency for python3-cryptography 3.4.x+
Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The upstream source repository has disappeared, and a release was last
made in January 2016.
As this package is unmaintained and there are many alternatives, remove
it.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Port the use of distutils to setuptools, as distutils is deprecated.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
pycrypto hasn't had a commit upstream since June 2014, which for a
security-critical module is not a good sign.
Everyone has migrated to the pycryptodome or cryptography modules, so
remove pycrypto from meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Fixed a bug where the --identifier command line argument was ignored.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
url for these releases
<https://github.com/pyscaffold/pyscaffold/issues/####>
=========
Ensure build configuration produces sdist as it is needed by conda, #570
Documentation improvements in #567
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.0.10:
- Fallback match entries might lead to UnicodeDecodeError for
large bytes sequence
- Skipping the language-detection (CD) on ASCII
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.0.1:
- Fixed :class:`~fields.DateTimeField` and other similar fields
can handle multiple formats
- Stop support for python 3.6
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 2021.11.10:
- Minor changes to some tests
- Removed unused functions
- Fuzzy regex matching doesn't seem to test insertions correctly
License-Update: Use LICENSE.txt
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.2:
- Bug where sorting paths fail if one of the paths is '.'.
- Compose unicode characters when using locale to ensure sorting
is correct across all locales.
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.27.1:
- Fixed parsing issue that resulted in the auth component being
dropped from proxy URLs.
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.0.11:
- Add workaround for FOH switches
- Fix short and long flash for lights
- Fix reconnect last event id
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>
changelog:
===============================================================================
:meth:`pymongo.collection.Collection.update_one`,
:meth:`pymongo.collection.Collection.update_many`,
:meth:`pymongo.collection.Collection.delete_one`,
:meth:`pymongo.collection.Collection.delete_many`,
:meth:`pymongo.collection.Collection.aggregate`,
:meth:`pymongo.collection.Collection.find_one_and_delete`,
:meth:`pymongo.collection.Collection.find_one_and_replace`,
:meth:`pymongo.collection.Collection.find_one_and_update`,
and :meth:`pymongo.collection.Collection.find` all support a new keyword argument
let which is a map of parameter names and values. Parameters can then be
accessed as variables in an aggregate expression context.
:meth:`~pymongo.collection.Collection.aggregate` now supports $merge and $out
executing on secondaries on MongoDB >=5.0. aggregate() now always obeys the
collection's :attr:`read_preference` on MongoDB >= 5.0.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This should actually be fixed in the package's build system to not
do the network access during compile task. Lets workaround it for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
this gets invoked during compile task which is not disabling network
access, any network activity should be explicitly enabled except during
do_fetch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.5:
- Fixed bug for big-endian systems (such as IBM s390)
- Pass `zip_safe=False` to `setup()`
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.1.1:
- add support for Python 3.10
- updates the test suite to pytest (from nose)
- tidies up a lot of continuous integration
- gets more tests tested, not skipped
- implements lots of mypy tests
- updates several parsers and serializers
- supports the new HexTuples format!
- many bug fixes
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.26.8:
- Added extra message tourllib3.exceptions.ProxyError when urllib3
detects that a proxy is configured to use HTTPS but the proxy
itself appears to only use HTTP.
- Added a mention of the size of the connection pool when
discarding a connection due to the pool being full.
- Added explicit support for Python 3.11.
- Deprecated the Retry.MAX_BACKOFF class property in favor of
Retry.DEFAULT_MAX_BACKOFF to better match the rest of the default
parameter names. Retry.MAX_BACKOFF is removed in v2.0.
- Changed location of the vendored ssl.match_hostname function from
urllib3.packages.ssl_match_hostname to urllib3.util.ssl_match_hostname
to ensure Python 3.10+ compatibility after being repackaged by
downstream distributors.
- Fixed absolute imports, all imports are now relative.
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.3:
- Fixed regression where packages without a ``__init__.py`` file
were not recognized or imported correctly.
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>
colorzero is a color manipulation library for Python
Signed-off-by: Bhargav Das <bhargavthriler@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 5.1.0:
- Strip debugging symbols from Linux binaries
Add a patch in setup.py to disable striping debugging symbols for
Linux to avoid already-stripped build errors.
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.13.3:
- Fixed TypeError when using typeguard within exec() (where
__module__ is None)
- Fixed TypedDict causing TypeError: TypedDict does not support
instance and class checks on Python 3.8 with standard library
(not typing_extensions) typed dicts
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.1.3:
- Fix to a regression related to parsing reStructuredText files
that was introduced in Robot Framework 4.1.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.2:
- Fixed regression in ``astroid.scoped_nodes`` where
``_is_metaclass`` was not accessible 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 5.9.0:
- [Linux]: cpu_freq() is slow on systems with many CPUs. Read
current frequency values for all CPUs from /proc/cpuinfo instead
of opening many files in /sys fs. (patch by marxin)
- NoSuchProcess message now specifies if the PID has been reused.
- error classes (NoSuchProcess, AccessDenied, etc.) now have a
better formatted and separated __repr__ and __str__
implementations.
- [BSD]: add support for MidnightBSD.
- [Linux]: disk_partitions(): convert /dev/root device (an alias
used on some Linux distros) to real root device path.
- PSUTIL_DEBUG mode now prints file name and line number of the
debug messages coming from C extension modules.
- rewrite HISTORY.rst to use hyperlinks pointing to psutil API doc.
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.13.5:
- Clean up PillowPlugin destructor
- Close standard streams after webcam access
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.6.1:
- support python 3.10
- last version to support py 2.7
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>
changelog:
===============================================================================
-Fixed regression in Series.equals() when comparing floats with dtype object to
None (GH44190)
-Fixed regression in merge_asof() raising error when array was supplied as join
key (GH42844)
-Fixed regression when resampling DataFrame with DateTimeIndex with empty groups
and uint8, uint16 or uint32 columns incorrectly raising RuntimeError (GH43329)
-Fixed regression in creating a DataFrame from a timezone-aware Timestamp scalar
near a Daylight Savings Time transition (GH42505)
-Fixed performance regression in read_csv() (GH44106)
-Fixed regression in Series.duplicated() and Series.drop_duplicates() when Series
has Categorical dtype with boolean categories (GH44351)
-Fixed regression in GroupBy.sum() with timedelta64[ns] dtype containing NaT
failing to treat that value as NA (GH42659)
-Fixed regression in RollingGroupby.cov() and RollingGroupby.corr() when other
had the same shape as each group would incorrectly return superfluous groups
in the result (GH42915)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Fixed wheel pack duplicating the WHEEL contents when the build number has
changed (#415)
Fixed parsing of file names containing commas in RECORD
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
=============================================================================
Fix implementation of schedule-pop Lua script so it works with Redis cluster.
Ensure Django connections are closed before and after (previously they were
only closed after) task execution with db_task() and db_periodic_task().
Allow additional lock-names to be specified when flushing locks.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
this allows usage of setuptools-scm-native in version > 6.0
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
as this otherwise will be pulled on the fly while compiling
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
like python3-babel a setup time and markupsafe at runtime
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update:Add BSD-3-Clause License
changlog:
================================================================
Core:
This release contains refinements, improvements, and bug fixes,
with highlights listed below.
Remove redundant work serializer usage in c-ares windows code. (#28016)
Support RDS updates on the server. (#27851)
Use WorkSerializer in XdsClient to propagate updates in a synchronized
manner. (#27975)
Support Custom Post-handshake Verification in TlsCredentials. (#25631)
Reintroduce the EventEngine default factory. (#27920)
Assert Android API >= v21. (#27943)
Add support for abstract unix domain sockets. (#27906)
Python:
[Aio] Validate the input type for set_trailing_metadata and abort. (#27958)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
From the release notes page
(https://docs.djangoproject.com/en/4.0/releases/3.2.10/):
Django 3.2.10 fixes a security issue with severity “low” and a bug in
3.2.9.
CVE-2021-44420: Potential bypass of an upstream access control based on
URL paths
HTTP requests for URLs with trailing newlines could bypass an upstream
access control based on URL paths.
Bugfixes
Fixed a regression in Django 3.2 that caused a crash of setUpTestData()
with BinaryField on PostgreSQL, which is memoryview-backed (#33333).
Django 3.2.9 fixes a bug in 3.2.8 and adds compatibility with Python
3.10.
Bugfixes
Fixed a bug in Django 3.2 that caused a migration crash on SQLite when
altering a field with a functional index (#33194).
Django 3.2.8 fixes two bugs in 3.2.7.
Bugfixes
Fixed a bug in Django 3.2 that caused incorrect links on read-only
fields in the admin (#33077).
Fixed a regression in Django 3.2 that caused incorrect selection of
items across all pages when actions were placed both on the top and
bottom of the admin change-list view (#33083).
Django 3.2.7 fixes a bug in 3.2.6.
Bugfixes
Fixed a regression in Django 3.2 that caused the incorrect offset
extraction from fixed offset timezones (#32992).
Django 3.2.6 fixes several bugs in 3.2.5.
Bugfixes
Fixed a regression in Django 3.2 that caused a crash validating "NaN"
input with a forms.DecimalField when additional constraints, e.g.
max_value, were specified (#32949).
Fixed a bug in Django 3.2 where a system check would crash on a model
with a reverse many-to-many relation inherited from a parent class
(#32947).
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>
License-Update: note on external code used in the project was added
(see @e42cd73fe9857366154d783e2a85e3d8a72ce5e7).
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.0.24 with the following fixes:
- Prevent window content overflowing when using scrollbars.
- Handle `PermissionError` when trying to attach /dev/null in
vt100 input.
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.12.10:
- Add .venv and web_cache to gitignore
- Allow redis to set expires with an int arg
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.13.1:
- Add da_DK language
- Fix and add Russian and Ukrainian words
- Add missing strings for Polish translation
- Add Traditional Chinese (zh-HK)
- Temporarily comment out to avoid warning during import humanize
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>
changelog:
================================================================================
Django 2.2.25 fixes a security issue with severity "low" in 2.2.24.
CVE-2021-44420: Potential bypass of an upstream access control based on URL paths
=================================================================================
HTTP requests for URLs with trailing newlines could bypass an upstream access
control based on URL paths.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add a patch to disable the automatic download of components.
Add manual download for a specific freetype and qhull version.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
================================================================
- Switch to Poetry for dependency and release management.
- Compatibility with Python 3.10.
- Chain exceptions using raise new_exception from old_exception (#157)
- Added marker file for PEP 561. This will allow type checking tools
in dependent projects to use type annotations from Python-RSA (#136).
- Use the Chinese Remainder Theorem when decrypting with a private key.
This makes decryption 2-4x faster (#163).
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Lisence-Update:
year updated to 2020
changelog:
=================================================================
- Much improved support for C11 (multiple PRs)
- Support for parehthesized compount statements
- Support for modern Python versions (3.9 and 3.10)
- Fix support for structs with nested enums
- Multiple small bug fixes
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changlog:
====================================================
rename arg LOVE to ns in rdfpipe
Remove Tox reference to Python 3.6
Add Brick DefinedNamespace
Use setName on TokenConverter to set the name property
Add test for adding JSON-LD to guess_format()
Fix mypy type errors and add mypy to .drone.yml
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>
Option to disable the SIGINT handler in the client
Do not invoke reserved events on a catch-all handler
Use correct binary packet types in the msgpack packet encoder
Add missing call() method to namespace classes
Add missing to argument to namespace emit() and send() methods
Configure Redis pubsub to skip subscription message
Migrate async Redis client manager to aioredis 2
Update Python supported versions in docs
Document how to get the connection state in the client
Improved documentation of start_background_task() function
Improved documentation of call() method
Fixed intermittent test failures
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
To support device tree schema validation in kernels v5.16+, we've
imported dt-schema + dependencies to core. So we can safely drop
them from meta-python.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
New features
Added a tutorial.
Made the second parameter of connection handlers optional. It will be
deprecated in the next major release. The request path is available in
the path attribute of the first argument.
If you implemented the connection handler of a server as:
async def handler(request, path):
...
You should replace it by:
async def handler(request):
path = request.path # if handler() uses the path argument
...
Added python -m websockets --version.
Improvements
Added wheels for Python 3.10, PyPy 3.7, and for more platforms.
Reverted optimization of default compression settings for clients, mainly
to avoid triggering bugs in poorly implemented servers like AWS API Gateway.
Mirrored the entire Server API in WebSocketServer.
Improved performance for large messages on ARM processors.
Documented how to auto-reload on code changes in development.
Bug fixes
Avoided half-closing TCP connections that are already closed.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Self description from the website: Gcovr provides a utility for managing
the use of the GNU gcov utility and generating summarized code coverage
results. This command is inspired by the Python coverage.py package,
which provides a similar utility for Python.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.2:
- Add method and add classmethod tag
- Add test for get_parts (new 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>
The python3-cchardet recipe that was introduced in honnister to supplant the
slower python3-chardet was missing support for building native and nativesdk
variants.
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.1:
- catch more generic aiohttp ClientError in eventstream
- Refactor full v2 support
- Bump flake8 from 3.9.2 to 4.0.1
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.17.6:
- Declare support for Python 3.10 and add wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.1:
- Fixed issue introduced in 2.3.0 with AlternatingTable,
BorderedTable, and SimpleTable that caused header alignment
settings to be overridden by data alignment settings.
- CompletionItems now saves the original object from which it
creates a string.
- Using CompletionItems as argparse choices is fully supported.
cmd2 patched argparse to compare input to the original value
instead of the CompletionItems instance.
- ArgparseCompleter now does the following if a list of
CompletionItems was created with numerical types:
* Sorts completion hints numerically
* Right-aligns the left-most column in completion hint table
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.11.0:
- Choose plugin based on extension and plugin lazy-import
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
"BSD" is ambiguous, use the precise license BSD-3-Clause.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
pip isn't needed to build, and adding the empty string to RDEPENDS is
most certainly meaningless.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
"BSD" is ambiguous, use the precise license BSD-3-Clause.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
"BSD" is ambiguous, use the precise license BSD-3-Clause.
Also update the HOMEPAGE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
gevent is MIT, and it embeds copies of Python which is Python-2.0.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
gevent by default will build its own c-ares and libuv, but that build
needs patches and embedded libraries are bad form.
DEPEND on the recipes instead, and turn off embedding.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
"BSD" is ambiguous, use the precise license BSD-3-Clause.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
"BSD" is ambiguous, use the precise license BSD-3-Clause.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.18.1:
- Implict namespaces are now a separate types in Name().type
- Python 3.10 support
- Mostly bugfixes
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.13:
- Change the signature of the :func:~deprecated.sphinx.deprecated
decorator to reflect the valid use cases.
- Fix versionadded and versionchanged decorators: do not return a
decorator factory, but a Wrapt adapter.
- Fix configuration for AppVeyor: simplify the test scripts and
set the version format to match the current version.
- Change configuration for Tox: run unit tests on Wrapt
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.33.0:
- green.thread: unlocked Lock().release() should raise exception,
returned True
- wsgi: Don't break HTTP framing during 100-continue handling
- greendns: Create a DNS resolver lazily rather than on import
- ssl: GreenSSLContext minimum_version and maximum_version setters
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>
5.10.1 November 8 2021
Fixed#1819: Occasional inconsistency with multiple src paths.
Fixed#1840: skip_file ignored when on the first docstring line
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Bug Fixes
Fixed AttributeError in rl_get_prompt() when prompt is None.
Fixed bug where using choices on a Settable didn't verify that a valid choice had been entered.
Fixed bug introduced in cmd2 2.0.0 in which select() converts return values to strings. It should never
have converted return values.
Enhancements
Added settings to Column class which prevent a table from overriding existing styles in header
and/or data text. This allows for things like nesting an AlternatingTable in another AlternatingTable.
AlternatingTable no longer automatically applies background color to borders. This was done to improve
appearance since the background color extended beyond the borders of the table.
Added ability to colorize all aspects of AlternatingTables, BorderedTables, and SimpleTables.
Added support for 8-bit/256-colors with the cmd2.EightBitFg and cmd2.EightBitBg classes.
Added support for 24-bit/RGB colors with the cmd2.RgbFg and cmd2.RgbBg classes.
Removed dependency on colorama.
Changed type of ansi.allow_style from a string to an ansi.AllowStyle Enum class.
Deprecations
Deprecated cmd2.fg. Use cmd2.Fg instead.
Deprecated cmd2.bg. Use cmd2.Bg instead.
Breaking Changes
To support the color upgrade, all cmd2 colors now inherit from either ansi.FgColor or ansi.BgColor.
Therefore, ansi.style() no longer accepts colors as strings.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
bug fix:
Adjustments to the test suite to accommodate for error message changes
occurring as of SQLAlchemy 1.4.27.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changed
absl-py no longer supports Python 2.7, 3.4, 3.5. All versions have reached
end-of-life for more than a year now.
New releases will be tagged as vX.Y.Z instead of pypi-vX.Y.Z in the git
repo going forward.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.8.1:
- Fix the error in handling the return value of getaddrinfo.
getaddrinfo will return an (int, bytes) tuple, if CPython could
not handle the address family. It will cause a index out of
range error in aiohttp. For example, if user compile CPython
with --disable-ipv6 option but his system enable the ipv6.
- Do not install "examples" as a top-level package.
- Restored ability to connect IPv6-only host.
- Remove Signal from __all__, replace aiohttp.Signal with
aiosignal.Signal in docs
- Made chunked encoding HTTP header check stricter
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>
A list of registered asynchronous callbacks. Version 1.2.0:
- Added support for Python 3.10
- Mark aiosignal as Python3-only package
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>
A list-like structure which implements
collections.abc.MutableSequence, and which can be made immutable.
Version 1.2.0:
- FrozenList now supports being used as a generic type as per PEP
585, e.g. frozen_int_list: FrozenList[int] (requires Python 3.9
or newer)
- Added support for Python 3.10
- Started shipping platform-specific wheels with the musl tag
targeting typical Alpine Linux runtimes
- Started shipping platform-specific arm64 wheels for Apple Silicon
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>
Package for encoding & language detection. Charset detection.
Version 2.0.7:
- Add support for Kazakh (Cyrillic) language detection
- Further improve inferring the language from a given code page
(single-byte)
- Remove redundant logging entry about detected language(s)
- Trying to leverage PEP263 when PEP3120 is not supported
- Refactoring for potential performance improvements in loops
- Various detection improvement (MD+CD)
- Fix a minor inconsistency between Python 3.5 and other versions
regarding language detection
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>
Universal character encoding detector, release 2.1.7:
- support Python 3.9
- drop support for Python 3.5
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:
- FIX: Ensure attribute selectors match tags that have new lines
characters in attributes.
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.6.0:
- Add a force_color option to colorlog.formatter.ColoredFormatter
- Support the FORCE_COLOR environment variable
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.7.1:
- Fix broken reported URL link for B107
- fix reading initial values from .bandit
- Always use a Loader in yaml.load
- PEP-518 support: configure bandit via pyproject.toml
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.1.2:
- Python 3.11 is supported (tested with 3.11.0a2). One still-open
issue has to do with exits through with-statements.
- Fix: When remapping file paths through the [paths] setting while
combining, the [run] relative_files setting was ignored,
resulting in absolute paths for remapped file names. This is now
fixed.
- Fix: Complex conditionals over excluded lines could have
incorrectly reported a missing branch. This is now fixed.
- Fix: More exceptions are now handled when trying to parse source
files for reporting. Problems that used to terminate coverage.py
can now be handled with [report] ignore_errors. This helps with
plugins failing to read files.
- Fix: Removed another vestige of jQuery from the source tarball.
- Fix: Added a default value for a new-to-6.x argument of an
internal class. This unsupported class is being used by
coveralls. Although I'd rather not "fix" unsupported interfaces,
it's actually nicer with a default value.
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.8.5:
- Use more permissive versions for the typed-ast dependencie
(<2.0 instead of <1.5)
- Fix crash on inference of __len__.
- Added missing kind (for Const) and conversion (for
FormattedValue) fields to repr.
- Fix crash with assignment expressions, nested if expressions and
filtering of statements
- Fix incorrect filtering of assignment expressions 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 2.4.0:
- Fix type annotations and going strict on parsers and other
public classes
- Add XPathConstructor token class (subclass of XPathFunction)
- Last release for Python 3.6
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.7.2:
- Changed call in with_port() to stop reencoding parts of the URL
that were already encoded.
- Fix 1.7.0 build error
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.36.12:
- Prevent service lookups from deadlocking if time abruptly moves
backwards
- scope_id is now stripped from IPv6 addresses if given
- Optimized decoding labels from incoming packets
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.6:
- Update the badges on the landing page
- Maintenance release for testing automatic releases using GitHub
Actions
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>
Changelog
Version 0.18
Change of beaviour: File endings are now normalized so that all DOT source
outputs end with a final newline (Unix convention, simplifies concatenation).
This includes DOT source files written by .render(), .view(), or .save()
as well was .source generated or loaded from Source (or Source.from_file()).
Change of behaviour: Source instances created by Source.from_file() no nonger
write the content read into .source back into the
file. Use .save(skip_existing=False) before calling .render() or .view() if
you want to overwrite the file to produce the previous (less safe) behaviour.
Change of undocumented behaviour: When iterating over a Graph, Digraph,
or Source instance, the yielded lines now include a final newline ('\n').
This mimics iteration over file object lines in text mode.
When passing invalid parameters such as unknown engine, format, etc., .render()
now raises early before writing the file. Call .save() explicitly to produce
the previous (less safe) behaiour.
Add optional keyword-only encoding argument to pipe(). Returns the decoded
stdout from the rendering process (e.g. format='svg'). Delegates
encoding/decoding to subprocess in the common case (input and output encoding
are the same, e.g. default encoding='utf-8'). Used by the Jupyter notebook
integration.
Add optional keyword-only engine argument to .pipe() and .render().
Add optional keyword-only renderer and formatter arguments to Graph(),
Digraph(), Source() and Source.from_file() to set default renderers and
formatters (similar to format). Used by .pipe(), .render(), and .view() if
not given as method-argument.
Add pipe_string(), pipe_lines(), and pipe_lines_string(). Pipe input_string,
return string. Pipe input_lines incrementally, return bytes. Pipe input_lines
incrementally, return string.
Add set_default_engine() and set_default_format()
Add backend.DOT_BINARY and backend.UNFLATTEN_BINARY.
Restructure the internal class hierarchy using multiple-inheritance with
cooperative super() calling: Graph now inherits both from Dot and from Render,
and both of them inherit from Base which defines their common interface: Lines
of DOT source code that Dot generates (also Source) and rendering iterates over.
This might break some undocumented use of subclassing and require adatation
Improve test separation. Improve test coverage of running the tests with
--skip-exe.
Add pytype checking and flake8 to build workflow.
Extend type annotations.
Add https://mybinder.org config with head development environment. Add launch
badge to code repository.
Improve documentation and examples.
Add development docs.
Document release process.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Features
androidmanagement: update the api be2e5dd (5dcb723)
appengine: update the api 4535ce5 (5dcb723)
artifactregistry: update the api 882fdb3 (5dcb723)
chromepolicy: update the api c330a6f (5dcb723)
cloudidentity: update the api d0f0527 (5dcb723)
composer: update the api 2bfa5a1 (5dcb723)
compute: update the api b917688 (5dcb723)
datastream: update the api 218521c (5dcb723)
dns: update the api 540233d (5dcb723)
healthcare: update the api 1e029c8 (5dcb723)
ondemandscanning: update the api 9f998b4 (5dcb723)
osconfig: update the api 59cea85 (5dcb723)
paymentsresellersubscription: update the api efb5b4f (5dcb723)
privateca: update the api b4ae2c8 (5dcb723)
recommender: update the api 8dffae4 (5dcb723)
retail: update the api f711074 (5dcb723)
storagetransfer: update the api c835926 (5dcb723)
streetviewpublish: update the api 35f0b1b (5dcb723)
translate: update the api 1f848a5 (5dcb723)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
3.1.3
=====
rename `aenum.property` to `aenum.enum_property` (`aenum.property still exists,
but was too easily confused with the built-in property)
fix `enum_property` to work with `_init_` attributes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Backport just enough changes that python3-cryptography doesn't crash on
startup when linked against OpenSSL 3.
This is very much not complete, and the upgrade to the latest version of
python3-crytography has to happen soon.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3:
- Officially support Python 3.10.
- Add static typing.
- :has(), :is(), and :where() now use use a forgiving selector
list. While not as forgiving as CSS might be, it will forgive
such things as empty sets and empty slots due to multiple
consecutive commas, leading commas, or trailing commas.
Essentially, these pseudo-classes will match all non-empty
selectors and ignore empty ones. As the scraping environment
is different than a browser environment, it was chosen not to
aggressively forgive bad syntax and invalid features to ensure
the user is alerted that their program may not perform as
expected.
- Add support to output a pretty print format of a compiled
SelectorList for debug purposes.
- Some small corner cases discovered with static typing.
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.1:
- It turns out a lot of Linux distributions make the links between
zoneinfo aliases backwards, so instead of linking GB to
Europe/London it actually links the other way. When /etc/localtime
then links to Europe/London, and you also have a config file
saying Europe/London, the code that checks if /etc/localtime is
a symlink ends up at GB instead of Europe/London and we get an
error, as it thinks GB and Europe/London are different zones.
So now we check the symlink of all timezones in the uniqueness
test. We still return the name in the config file, though, so you
would only get GB or Zulu returned as the time zone instead of
Europe/London or UTC if your only configuration is the /etc/localtime
symlink, as that's checked last, and tzlocal will return the first
configuration found.
- The above change also means that GMT and UTC are no longer seen
as synonyms, as zoneinfo does not see them as synonyms. This
might be controversial, but you just have to live with it. Pick one
and stay with it.
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>
Add release 0.1.0.post0:
- Fixes the project_urls metadata to point to the correct bug
tracker and 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 1.13.3:
- Adds wheels for Python 3.10 on PyPi and where possible also now
generating binary wheels for musllinux.
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.12.9:
- Ensure we reset the file handle after reading
- Formatting updates after running black
- Ensure the required python version is PEP 440 compliant
- Fix the Makefile bootstrap to use pip3
License-Update: LICENSE.txt is missing. Use PKG-INFO instead.
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:
- Re-release 7.2.0 as 8.0.0 because introduction of type hints can
break CI builds
- Type hints
- Explicit testing for Python 3.10
License-Update: Update license 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 3.1.2:
- fix extend_enum()
- tests: move enum setting from body to header
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.10.0:
- Switch to tomli for pyproject.toml configuration loader.
- CLI bug (--exend-skip-glob, overrides instead of extending).
- respect PATH customization in nested calls to git.
- Append only with certain code snippets incorrectly adds imports.
- Added official support for Python 3.10
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.4:
- Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
nodes. When these nodes occur in ``Arguments``, ``Keyword`` or
``Comprehension`` nodes these methods now correctly point to the
outer-scope of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
- Fix the ``set_local`` function for ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword``, or
``Comprehension`` nodes these nodes are now correctly added to
the locals of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.18:
- Implement use of Quantity in the Quantity constructor (convert
to specified units).
- Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in
- Fix a few small typos.
- Fix babel format for `Unit`.
- Fix handling of positional max/min arguments in clip function.
- Fix string formatting of numpy array scalars.
- Fix default format for Measurement class
- Fix parsing of pretty units with same exponents but different
sign.
- Convert the application registry to a wrapper object.
- Add documentation for the string format options.
- Support custom units formats.
- Autoupdate pre-commit hooks.
- Improved the application registry.
- Improved testing isolation using pytest fixtures.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.21.4:
- Explicitly declare support for Python 3.10 as well as some minor
internal improvements.
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 is release 1.41.0 (goat) of gRPC Core.
For gRPC documentation, see grpc.io.
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>
This is the first Cycler feature release in some years. New features include:
Added Cycler.by_key, which produces values by key (#26)
Added Cycler.__contains__, which adds support for in checks (#34)
Wheels now includes the LICENSE file (#48)
The sdist now includes the LICENSE (#58) and tests (#32)
Cycler no longer supports Python 2. Supported versions of Python are 3.6 and above.
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>
Fix: The sticky header on the HTML report didn’t work unless you had
branch coverage enabled.
This is now fixed: the sticky header works for everyone.
Fix: When using explicitly declared namespace packages, the “already
imported a file that will be measured” warning would be issued (issue 888).
This is now fixed.
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>
imgtool is part of MCUboot, used to sign images and manage keys.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
cpp and cpp-symlinks aren't actually required for python3-pycparser to
be built or installed, but because they are in the RDEPENDS list for
targets they will be included when building other recipes that may need
python3-pycparser but not those packages (such as python3-cffi).
Instead, list cpp and cpp-symlinks as part of RSUGGESTS for target.
For reference, a previous discussion from the mailing list:
https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04784.html
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 2.2.1:
- Add support for Python 3.10
- Update issue templates
- Add support for positional junction characters and add
"double_border" table style
- Access properties instead of protected fields in _get_options()
- Use declarative metadata and support PyPy3
- Add auto index column
- Refactor for readability and avoid merge conflicts
- Remove exclamation marks from exceptions
- Consider US G0 Character Set ANSI-escape code as 0-width
(like colors)
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.0.21:
- Improved mouse support:
* Support for click-drag, which is useful for selecting text.
* Detect mouse movements when no button is pressed.
- Support for Python 3.10.
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 1.3.4 (October 17, 2021)
--------------------------------------
These are the changes in pandas 1.3.4. See :ref:`release` for a full changelog
including other versions of pandas.
{{ header }}
.. ---------------------------------------------------------------------------
.. _whatsnew_134.regressions:
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataFrame.convert_dtypes` incorrectly converts byte strings to strings (:issue:`43183`)
- Fixed regression in :meth:`.GroupBy.agg` where it was failing silently with mixed data types along ``axis=1`` and :class:`MultiIndex` (:issue:`43209`)
- Fixed regression in :func:`merge` with integer and ``NaN`` keys failing with ``outer`` merge (:issue:`43550`)
- Fixed regression in :meth:`DataFrame.corr` raising ``ValueError`` with ``method="spearman"`` on 32-bit platforms (:issue:`43588`)
- Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`)
- Fixed performance regression in :meth:`.GroupBy.first` and :meth:`.GroupBy.last` with :class:`StringDtype` (:issue:`41596`)
- Fixed regression in :meth:`Series.cat.reorder_categories` failing to update the categories on the ``Series`` (:issue:`43232`)
- Fixed regression in :meth:`Series.cat.categories` setter failing to update the categories on the ``Series`` (:issue:`43334`)
- Fixed regression in :func:`read_csv` raising ``UnicodeDecodeError`` exception when ``memory_map=True`` (:issue:`43540`)
- Fixed regression in :meth:`DataFrame.explode` raising ``AssertionError`` when ``column`` is any scalar which is not a string (:issue:`43314`)
- Fixed regression in :meth:`Series.aggregate` attempting to pass ``args`` and ``kwargs`` multiple times to the user supplied ``func`` in certain cases (:issue:`43357`)
- Fixed regression when iterating over a :class:`DataFrame.groupby.rolling` object causing the resulting DataFrames to have an incorrect index if the input groupings were not sorted (:issue:`43386`)
- Fixed regression in :meth:`DataFrame.groupby.rolling.cov` and :meth:`DataFrame.groupby.rolling.corr` computing incorrect results if the input groupings were not sorted (:issue:`43386`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.bug_fixes:
Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`pandas.DataFrame.groupby.rolling` and :class:`pandas.api.indexers.FixedForwardWindowIndexer` leading to segfaults and window endpoints being mixed across groups (:issue:`43267`)
- Fixed bug in :meth:`.GroupBy.mean` with datetimelike values including ``NaT`` values returning incorrect results (:issue:`43132`)
- Fixed bug in :meth:`Series.aggregate` not passing the first ``args`` to the user supplied ``func`` in certain cases (:issue:`43357`)
- Fixed memory leaks in :meth:`Series.rolling.quantile` and :meth:`Series.rolling.median` (:issue:`43339`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.other:
Other
~~~~~
- The minimum version of Cython needed to compile pandas is now ``0.29.24`` (:issue:`43729`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.contributors:
Contributors
~~~~~~~~~~~~
.. contributors:: v1.3.3..v1.3.4|HEAD
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
1.1.2 (2021-09-29)
==================
- Fix a potential crash due to a reference counting error when Python
subclasses of ``greenlet.greenlet`` were deallocated. The crash
became more common on Python 3.10; on earlier versions, silent
memory corruption could result. See `issue 245
<https://github.com/python-greenlet/greenlet/issues/245>`_. Patch by
fygao-wish.
- Fix a leak of a list object when the last reference to a greenlet
was deleted from some other thread than the one to which it
belonged. For this to work correctly, you must call a greenlet API
like ``getcurrent()`` before the thread owning the greenlet exits:
this is a long-standing limitation that can also lead to the leak of
a thread's main greenlet if not called; we hope to lift this
limitation. Note that in some cases this may also fix leaks of
greenlet objects themselves. See `issue 251
<https://github.com/python-greenlet/greenlet/issues/251>`_.
- Python 3.10: Tracing or profiling into a spawned greenlet didn't
work as expected. See `issue 256
<https://github.com/python-greenlet/greenlet/issues/256>`_, reported
by Joe Rickerby.
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>