License-Updated: copyright year updated to 2023
Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830
Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix#6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787
Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767
Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-gh-98624: Add a mutex to unittest.mock.NonCallableMock to protect concurrent
access to mock attributes.
-bpo-43478: Mocks can no longer be used as the specs for other Mocks. As a
result, an already-mocked object cannot have an attribute mocked using
autospec=True or be the subject of a create_autospec call. This can uncover
bugs in tests since these Mock-derived Mocks will always pass certain tests
(e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with)
will unconditionally pass.
-bpo-45156: Fixes infinite loop on unittest.mock.seal() of mocks created by
create_autospec().
-bpo-41403: Make mock.patch() raise a TypeError with a relevant error message
on invalid arg. Previously it allowed a cryptic AttributeError to escape.
-gh-91803: Fix an error when using a method of objects mocked with
unittest.mock.create_autospec() after it was sealed with unittest.mock.seal() function.
-bpo-41877: AttributeError for suspected misspellings of assertions on mocks are
now pointing out that the cause are misspelled assertions and also what to do
if the misspelling is actually an intended attribute name. The unittest.mock
document is also updated to reflect the current set of recognised misspellings.
-bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
As a result, an already-mocked object cannot be passed to mock.Mock().
This can uncover bugs in tests since these Mock-derived Mocks will always pass
certain tests (e.g. isinstance) and builtin assert functions
(e.g. assert_called_once_with) will unconditionally pass.
-bpo-45010: Remove support of special method __div__ in unittest.mock.
It is not used in Python 3.
-gh-84753: inspect.iscoroutinefunction() now properly returns True when an
instance of unittest.mock.AsyncMock is passed to it. This makes it consistent
with behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.
-bpo-46852: Remove the undocumented private float.__set_format__() method,
previously known as float.__setformat__() in Python 3.7. Its docstring
said: "You probably don't want to use this function. It exists mainly to be
used in Python's test suite." Patch by Victor Stinner.
-gh-98086: Make sure patch.dict() can be applied on async functions.
-gh-100287: Fix the interaction of unittest.mock.seal() with unittest.mock.AsyncMock.
-gh-83076: Instantiation of Mock() and AsyncMock() is now 3.8x faster.
-bpo-41877: A check is added against misspellings of autospect, auto_spec and
set_spec being passed as arguments to patch, patch.object and create_autospec.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Parse short versions of day, month, and year (#1103)
Add a test for "in 1d" (#1104)
Update languages_info (#1107)
Add a workaround for zipimporter not having exec_module before Python 3.10 (#1069)
Stabilize tests at midnight (#1111)
Add a test case for French (#1110)
Remove the requirements-build file (#1113)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Only include the source code in the source distribution. This reduces the
size of the source distribution from 200kB to 30kB.
-Fix the return type hint of bidict.inverted() to return an Iterator, rather
than an Iterable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.8:
- Add Python 3.11 support and move docs files to main folder
License-Update: File moved to main directory, no changes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.1:
- The equality checks for DNSPointer and DNSService should be case
insensitive
- Optimize equality checks for DNS records
- Optimize the dns cache
- Optimize construction of outgoing packets
- Optimize dns objects by adding pxd files
- Optimize incoming parser by reducing call stack
- Optimize incoming parser by using unpack_from
- Optimize incoming parser by adding pxd files
- Fix project name in pyproject.toml
- Drop async_timeout requirement for python 3.11+
License-Update: Use PKG-INFO to check the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Enable mypy to discover type hints as specified in PEP 561
- [ci] Set the expected Python version when building release files
- [ci] Update actions versions in use
- [watchmedo] [regression] Fix usage of missing signal.SIGHUP
attribute on non-Unix OSes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
On glibc this breaks build when using 64bit time_t since zlib ends up
undefining _FILE_OFFSET_BITS when -D_LARGEFILE64_SOURCE is defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a bug where the XML-RPC method supervisor.startProcess() would return 500
Internal Server Error instead of an XML-RPC fault response if the command could
not be parsed.
-Fixed a bug on Python 2.7 where a UnicodeDecodeError may have occurred when
using the web interface.
-Removed use of urllib.parse functions splithost, splitport, and splittype
deprecated in Python 3.8.
-Removed use of asynchat and asyncore deprecated in Python 3.10.
-The return value of the XML-RPC method supervisor.getAllConfigInfo() now
includes the directory, uid, and serverurl of the program.
-If a subprocess exits with a unexpected exit code (one not listed in
exitcodes= in a [program:x] section) then the exit will now be logged at
the WARN level instead of INFO.
-supervisorctl shutdown now shows an error message if an argument is given.
-File descriptors are now closed using the faster os.closerange() instead of
calling os.close() in a loop.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a type annotations regression introduced in v6.0.2 under Python
versions <3.10. It was caused by importing certain types only available in
newer versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed#2038 (again): stop installing documentation files to top-level site-packages
CI: only run release workflows for upstream (#2052)
Tests: remove obsolete toml import from the test suite (#1978)
CI: bump Poetry 1.3.1 (#2058)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Feature
--------
Add support for Python 3.11 (#920) (e4146a1)
Other
-------
Exclude py3.11 on windows (#917) (c57e31c)
GitHub Actions add Python 3.11 to the testing (#916) (8d49551)
Add migration instructions for as_gray in new pillow plugin. (#913) (b3b040a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-When checking if a file mapping resolved to a file that exists, we weren't
considering files in .whl files. This is now fixed, closing issue 1511.
-File pattern rules were too strict, forbidding plus signs and curly braces
in directory and file names. This is now fixed, closing issue 1513.
-Unusual Unicode or control characters in source files could prevent reporting.
This is now fixed, closing issue 1512.
-The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing issue 1510.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Two new functions are added to the "asgiref.sync" module: "iscoroutinefunction()"
and "markcoroutinefunction()".
Python 3.12 deprecates "asyncio.iscoroutinefunction()" as an alias for
"inspect.iscoroutinefunction()", whilst also removing the "_is_coroutine" marker.
The latter is replaced with the "inspect.markcoroutinefunction" decorator.
The new "asgiref.sync" functions are compatibility shims for these
functions that can be used until Python 3.12 is the minimum supported
version.
**Note** that these functions are considered **beta**, and as such, whilst
not likely, are subject to change in a point release, until the final release
of Python 3.12. They are included in "asgiref" now so that they can be
adopted by Django 4.2, in preparation for support of Python 3.12.
* The "loop" argument to "asgiref.timeout.timeout" is deprecated. As per other
"asyncio" based APIs, the running event loop is used by default. Note that
"asyncio" provides timeout utilities from Python 3.11, and these should be
preferred where available.
* Support for the "ASGI_THREADS" environment variable, used by
"SyncToAsync", is removed. In general, a running event-loop is not
available to `asgiref` at import time, and so the default thread pool
executor cannot be configured. Protocol servers, or applications, should set
the default executor as required when configuring the event loop at
application startup.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Python 3.11 (including wheels)
Drop Python 3.5 support
License-Update: Copyright year updated to 2022
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed issue where server default compare would not work for string defaults
that contained backslashes, due to mis-rendering of these values when comparing
their contents.
-Implemented basic server default comparison for the Oracle backend; previously,
Oracle's formatting of reflected defaults prevented any matches from occurring.
-Adjusted SQLite's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
-Adjusted SQL Server's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed#2007: settings for py3.11 (#2040)
Fixed#2038: packaging pypoetry (#2042)
Docs: renable portray (#2043)
Ci: add minimum GitHub token permissions for workflows (#1969)
Ci: general CI improvements (#2041)
Ci: add release workflow (#2026)
Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
Hotfix #2031: only call colorama.init if colorama is available (#2032)
Added official support for Python 3.11 (#1996, #2008, #2011)
Dropped support for Python 3.6 (#2019)
Fixed problematic tests (#2021, #2022)
Fixed#1960: Rich compatibility (#1961)
Fixed#1945, #1986: Python 4.0 upper bound dependency resolving issues
Fixed Pyodide CDN URL (#1991)
Docs: clarify description of use_parentheses (#1941)
Fixed#1976: black compatibility for .pyi files
Implemented #1683: magic trailing comma option (#1876)
Add missing space in unrecoverable exception message (#1933)
Fixed#1895: skip-gitignore: use allow list, not deny list
Fixed#1917: infinite loop for unmatched parenthesis (#1919)
Docs: shared profiles (#1896)
Fixed build-backend values in the example plugins (#1892)
Remove reference to jamescurtin/isort-action (#1885)
Split long cython import lines (#1931)
Update plone profile: copy of black, plus three settings. (#1926)
Fixed#1815, #1862: Add a command-line flag to sort all re-exports (#1863)
Fixed#1854: lines_before_imports appending lines after comments (#1861)
Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858)
Add tox config example (#1856)
Docs: add examples for frozenset and tuple settings (#1822)
Docs: add multiple config documentation (#1850)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
WHL: Add win32 to build_wheels matrix (pull #1169)
BUG: Changed so that the setup.cfg depends on the version code in the __init__.py instead of the other way around (issuue #1155)
BUG: Fix CRS.to_cf() for Pole rotation GRIB convention (pull #1167)
BUG: Fix CRS.to_authority() memory leak (pull #1178)
REF: Use upper case EPSG code when creating CRS (pull #1162)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Correct timeout in call to poll.poll (#687)
Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (#686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
This release fixes several minor issues and adds support for several libcurl options.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Bump cibuildwheel to build for Python 3.11 + CI total time speedups
Fix tests that depended on external sites
Complete the Python 3.11 support
Drop CPython 3.6
Improve test compatibility with pytest
Update c-ares submodule to 1.18.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
feature
--------
[feature] [commands] Added new Alembic command alembic check. This performs the widely
requested feature of running an "autogenerate" comparison between the
current database and the MetaData that's currently set up for
autogenerate, returning an error code if the two do not match, based on
current autogenerate settings. Pull request courtesy Nathan Louie.
bug
-------
[bug] [tests] Fixed issue in tox.ini file where changes in the tox 4.0 series to the
format of "passenv" caused tox to not function correctly, in particular
raising an error as of tox 4.0.6.
[bug] [typing] Fixed typing issue where revision.process_revision_directives
was not fully typed; additionally ensured all Callable and Dict
arguments to EnvironmentContext.configure() include parameters in
the typing declaration.
Additionally updated the codebase for Mypy 0.990 compliance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the python bindings of the rapidjson library.
Signed-off-by: Roger Knecht <roger@norberthealth.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
---------
#789: Users can now set a default distribution mode in their configuration file:
Removals
--------
#842: Python 3.6 is no longer supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
----
- Basic support for listing, enabling and disabling decaying models.
- [tests] Test for local tags.
Changes
--------
- [types] added azure-application-id.
Fix
-----
- [describetypes] updated with the latest output from MISP.
- [types] added missing type value.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelogg:
============
Adding support for reported unknown devices (#680)
Add Chromecast Ultra and Chromecast HD to the recognised devices (#679)
Fix error with select when python process exceeds 1024 open file descriptors (#676)
Include URL and UUID in Home Assistant controller messages (#613)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[build] Wheels are now available for Python 3.11 (#932)
[documentation] HTML documentation builds are now tested for errors (#902)
[documentation] Fix typos here, and there (#910)
[fsevents2] The fsevents2 observer is now deprecated (#909)
[tests] The error message returned by musl libc for error code -1 is now allowed (#923)
[utils] Remove unnecessary code in dirsnapshot.py (#930)
[watchmedo] Handle shutdown events from SIGHUP (#912)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix media upload URI when API endpoint is overridden with client_opions.api_endpoint
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Copyright year updated to 2022
format of LICENSE changed
Changelog:
==========
New Features
-------------
Async clusters: Support creating locks inside async functions (#2471)
Bug Fixes
----------
Async: added 'blocking' argument to call lock method (#2454)
Added a replacement for the default cluster node in the event of failure. (#2463)
Fixed geosearch: Wrong number of arguments for geosearch command (#2464)
Maintenance
-----------
Updating dev dependencies (#2475)
Removing deprecated LGTM (#2473)
Added an explicit index name in RediSearch example (#2466)
Adding connection step to bloom filter examples (#2478)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To fix crash due to missing module:
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 42, in <module>
from typing_extensions import Literal, ParamSpec, Protocol
ModuleNotFoundError: No module named 'typing_extensions'
Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To fix crash due to missing module:
from twisted.internet import defer
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 14, in <module>
from asyncio import AbstractEventLoop, Future, iscoroutine
ModuleNotFoundError: No module named 'asyncio'
Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Remove deprecated function to fix twine check with pkginfo 1.9.0. (#941)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Adopt jupyter releaser #806
Use base setup dependency type #805
More CI Cleanup #803
More maintenance cleanup #802
Add project description #801
Bump actions/setup-python from 2 to 4 #798
Bump actions/checkout from 2 to 3 #797
Bump pre-commit/action from 2.0.0 to 3.0.0 #796
Bump actions/upload-artifact from 2 to 3 #795
Add dependabot #794
Add more typings #791
Format changelog #789
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Install uefi-firmware-parser tool
The UEFI firmware parseer is a simple module and set of scripts for
parsing, extracting, and recreating UEFI firmware volumes.
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
---------
Add api_key credentials
Introduce a way to provide scopes granted by user
Bug Fixes
---------
Allow mtls sts endpoint for external account token urls.
CI broken by removal of py.path
Ensure JWT segments have the right types
Updated the lower bound of interactive timeout and fix the kwarg
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Features
---------
Add support for Python 3.11 (#466) (ff379e3)
Allow representing enums with their unqualified symbolic names in headers (#465) (522b98e)
Bug Fixes
--------
Major refactoring of Polling, Retry and Timeout logic (#462) (434253d)
Require google-auth >= 2.14.1 (#463) (7cc329f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix bug in _round_and_pad with exponential coordinate values (#73)
Use assertNotEqual instead of assertNotEquals in tests, for Python 3.11 compatibility (#77)
Add support for Python 3.8, 3.9, and 3.10 (#79, #84)
Drop support for end-of-life Python versions 2.7, 3.4, 3.5, and 3.6 (#84)
Fix structure of coordinate values in GeoJSON to EsriJSON conversion (#82)
Update README with to add History and Limitations sections, and to expand on functionality (#86)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added official Python 3.11 support
Raise proper exception on invalid bignums
Make Tagged item usable as a map key
Eliminate potential memory leak in tag handling
Documentation tweaks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for watchdogdev - a python module for controlling linux
watchdog devices.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 3.11 has moved the header "longintrepr.h" into a sub-folder [1]
the pre-generated .c files are generated using older cython, therefore
in order to compile it with python 3.11 regenerate them with OE's own
native cython
[1] https://bugs.python.org/issue35134
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
Move set_transaction_name out of event processor in fastapi/starlette (#1751)
Expose proxy_headers as top level config and use in ProxyManager: https://docs.sentry.io/platforms/python/configuration/options/#proxy-headers (#1746)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* New Features
--------------
Add support for TIMESERIES 1.8 (#2296)
Graph - add counters for removed labels and properties (#2292)
Add support for TDIGEST.QUANTILE extensions (#2317)
Add TDIGEST.TRIMMED_MEAN (#2300)
Add support for async GRAPH module (#2273)
Support TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE (#2319)
Adding reserve as an alias for create, so that we have BF.RESERVE and CF.RESERVE accuratenly supported (#2331)
* Bug Fixes
--------------
Fix async connection.is_connected to return a boolean value (#2278)
Fix: workaround asyncio bug on connection reset by peer (#2259)
Fix crash: key expire while search (#2270)
Async cluster: fix concurrent pipeline (#2280)
Fix async SEARCH pipeline (#2316)
Fix KeyError in async cluster - initialize before execute multi key commands (#2439)
* Maintenance
----------------
Supply chain risk reduction: remove dependency on library named deprecated (#2386)
Search test - Ignore order of the items in the response (#2322)
Fix GRAPH.LIST & TDIGEST.QUANTILE tests (#2335)
Fix TimeSeries range aggregation (twa) tests (#2358)
Mark TOPK.COUNT as deprecated (#2363)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update to 1.4.0 for python 3.11 compatibilty
Add patch to add upstream commit added after the release of 1.4.0
tarball. Adds python 3.11 to setup.py
Update 0001-Fix-imports-for-ptest.patch for patch fuzz and
removed hunk already in 1.4.0.
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add ptest provided from the source code, and run it using pytest.
Since the tarball provided with pypi does not include ptest, switch the
source to be its git repo.
ptest result:
PASS FAIL SKIP
qemux86-64 5 3 1
qemuarm64 5 3 1
This issue exists since inotify adds unit test support, and it is
reported here: https://github.com/dsoprea/PyInotify/issues/95
Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
========
Change
------
- Add links to doc.
- [misp-objects] updated to the latest version
- [tests] fix the list name test following latest warning-list updates.
- Add dependabot
- Add in sort/desc for sorting results and limit/page for pagination.
- Improve documentation for add_attribute
Fix LIEF vuln.
- Improve warning on invalid template, bump deps
- Make mypy happy
- Add in test case
- Add ability to filter by sharing group for RestSearch for MISP >=
v2.4.158.
- Massive bump deps for python 3.7.
New
-----
- Add in ability to set a taxonomies required status.
- Pass arbitrary headers to a PyMISP request
- Allow to force the timestamps in to_dict/to_json, even if a change was
made.
- Enable TCP keepalive
- [example:copyTagsFromAttributesToEvent] Added script to copy tags from
attributes to the event level.
Fix
----
- Properly bump version
- Issue with EMailObject.
- Change DNS warning list test
- Missing place to update version
- Make keepalive configuration linux only
- Delete sharing group after deleting the event
- Give more time to MISP to publish the events before searching.
- Improper json check on non-json responses
- Mark all attributes in a soft deleted object as soft deleted too.
- Make flake8 happy
- Properly convert MSG to EML
- Update lock file
- [feed] fixes bug when template_uuid does not exist. [Christophe
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Recognize new name of Graal-based Python as jitted
Collect specialization statistics from running benchmarks
Add support for Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed regressions
------------------
Fixed regression in MultiIndex.join() for extension array dtypes (GH49277)
Fixed regression in Series.replace() raising RecursionError with numeric dtype and when specifying value=None (GH45725)
Fixed regression in arithmetic operations for DataFrame with MultiIndex columns with different dtypes (GH49769)
Fixed regression in DataFrame.plot() preventing Colormap instance from being passed using the colormap argument if Matplotlib 3.6+ is used (GH49374)
Fixed regression in date_range() returning an invalid set of periods for CustomBusinessDay frequency and start date with timezone (GH49441)
Fixed performance regression in groupby operations (GH49676)
Fixed regression in Timedelta constructor returning object of wrong type when subclassing Timedelta (GH49579)
Bug fixes
---------
Bug in the Copy-on-Write implementation losing track of views in certain chained indexing cases (GH48996)
Fixed memory leak in Styler.to_excel() (GH49751)
Other
---------
Reverted color as an alias for c and size as an alias for s in function DataFrame.plot.scatter() (GH49732)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Supports Python 3.8, 3.9, 3.10, and 3.11.
NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Added dataclass-equivalent for attrs.define
Find fixtures from Pytest entrypoints; Examples of pytest plugins installed like this are pytest-django, pytest-sugar and Faker.
Fixed Project.search, when a venv was involved, which is why for example :Pyimport django.db did not work in some cases in jedi-vim.
And many smaller bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add mnw_MM.UTF-8 and ckb_IQ.UTF-8
Do not run test cases using Python2 anymore
Add bih
Add more translations from CLDR
Migrate license tag to SPDX
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
Improved support for languages such as Slovak, Indonesian, Hindi, German, and Japanese (#1064, #1094, #986, #1071, #1068)
Recursively create a model home (#996)
Replace regex sub with simple string replace (#1095)
Add Python 3.10, 3.11 support (#1096)
Drop support for Python 3.5, 3.6 versions (#1097)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Prevent returning an empty list for ClassDef.slots() when the mro list contains one class & it is not object.
Prevent a crash when inferring calls to str.format with inferred arguments
Infer the length argument of the random.sample function.
Catch ValueError when indexing some builtin containers and sequences during inference.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adds a recipe for aioserial - an asynchronous serial port library for
Python
Signed-off-by: Gerbrand De Laender <gdelaende@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-kmod - a python wrapper around libkmod.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Allow serialization of classes that implement for_json or _asdict by
ignoring TypeError when those methods are called
https://github.com/simplejson/simplejson/pull/302
* Raise JSONDecodeError instead of ValueError in invalid unicode escape
sequence edge case
https://github.com/simplejson/simplejson/pull/298
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for building arm64 wheels on macOS.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* greenio: GreenPipe/fdopen() with 'a' in mode raised io.UnsupportedOperation:
File or stream is not writable https://github.com/eventlet/eventlet/pull/758
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Updates for Flask-SQLAlchemy 3.x compatiblity
Enable type comparison and batch mode by default
Option to rename "db" command group to a custom name
Better handling of MetaData instances in templates
Set options correctly when revision --autogenerate is used #463
Documentation section on configuring Alembic
Upgrade build to pypy-3.9
Add Python 3.10 to build
Add Python 3.11 to build
Specify license in project metadata #489
Remove tests from pypi package
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add pygments as requirement for repl
Update datastore remote to handle write requests (#1166)
Allow multiple servers. (#1164)
Fix typo. (#1162)
Transfer parms. to connected client. (#1161)
Repl enhancements 2 (#1141)
Server simulator with datastore with json data. (#1157)
Avoid unwanted reconnects (#1154)
Do not initialize framer twice. (#1153)
Allow timeout as float. (#1152)
Improve Docker Support (#1145)
Fix unreachable code in AsyncModbusTcpClient (#1151)
Fix type hints for port and timeout (#1147)
Start/stop multiple servers. (#1138)
Server/asyncio.py correct logging when disconnecting the socket (#1135)
Add Docker and container registry support (#1132)
Removes undue reported error when forwarding (#1134)
Obey timeout parameter on connection (#1131)
Readme typos (#1129)
Clean noqa directive. (#1125)
Add isort and activate CI fail for black/isort. (#1124)
Update examples. (#1117)
Move logging configuration behind function call (#1120)
serial2TCP forwarding example (#1116)
Make serial import dynamic. (#1114)
Bugfix ModbusSerialServer setup so handler is called correctly. (#1113)
Clean configurations. (#1111)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed CI runs when creating a new release, where new towncrier versions
fail when the current version section is already present.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Removed stray quote and comma from setup.cfg preventing PyPI from accepting a
release. (#361)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022
Changelog:
===========
Fix hex formatting of data bytes in Ext string representation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- create_dispatcher is determined by URL ws/wss, NOT by presence of sslopt args, to maintain consistency (#875)
- Remove redundant key generation line (#864)
- Updated docs to fix old links and updated CI to include Python 3.11
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
[Feature] #2125: (also re: #2054) Add a transport_factory kwarg to
SSHClient.connect for advanced users to gain more control over early
Transport setup and manipulation. Thanks to Noah Pederson for the patch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
Initialize libtiff buffer when saving #6699 [radarhere]
Inline fname2char to fix memory leak #6329 [nulano]
Fix memory leaks related to text features #6330 [nulano]
Use double quotes for version check on old CPython on Windows #6695 [hugovk]
Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
Fixed set_variation_by_name offset #6445 [radarhere]
Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
Release Python GIL when converting images using matrix operations #6418 [hmaarrfk]
Added ExifTags enums #6630 [radarhere]
Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere]
Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
Added GPS TIFF tag info #6661 [radarhere]
Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
Do not attempt normalization if mode is already normal #6644 [radarhere]
Fixed seeking to an L frame in a GIF #6576 [radarhere]
Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
Don't reassign crc on ChunkStream close#6627 [wiredfool, radarhere]
Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere]
Show all frames in ImageShow #6611 [radarhere]
Allow FLI palette chunk to not be first #6626 [radarhere]
If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere]
Round box position to integer when pasting embedded color #6517 [radarhere, nulano]
Removed EXIF prefix when saving WebP #6582 [radarhere]
Pad IM palette to 768 bytes when saving #6579 [radarhere]
Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere]
Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere]
Added reading of TIFF child images #6569 [radarhere]
Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
Defer parsing of palette into colors #6567 [radarhere]
Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere]
Corrected BMP and TGA palette size when saving #6500 [radarhere]
Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
Copy palette when converting from P to PA #6497 [radarhere]
Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere]
Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
Fixed writing bytes as ASCII tag #6493 [radarhere]
Open 1 bit EPS in mode 1 #6499 [radarhere]
Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
Added support for RGBA PSD images #6481 [radarhere]
Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere]
Do not clear GIF tile when checking number of frames #6455 [radarhere]
Support saving multiple MPO frames #6444 [radarhere]
Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
Added ABGR BMP mask mode #6436 [radarhere]
Fixed PSDraw rectangle #6429 [radarhere]
Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Updated text for supported Unicode and Python versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
--------
Update to greenlet 2.0. This fixes a deallocation issue that required a change
in greenlet's ABI. The design of greenlet 2.0 is intended to prevent future
fixes and enhancements from requiring an ABI change, making it easier to
update gevent and greenlet independently.
greenlet 2.0 requires a modern-ish C++ compiler.
This may mean certain older platforms are no longer supported. See :issue:`1909`.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Added read0 flag to enable reading 0 bytes after transfer to lower CS when cshigh == True
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.10.0:
- The systemd: endpoint parser now supports "named" file
descriptors. This is a more reliable mechanism for choosing
among several inherited descriptors.
- The systemd endpoint parser's index parameter is now documented
as leading to non-deterministic results in which descriptor is
selected. The new name parameter is now documented as preferred.
- The implementers of Zope interfaces are once more displayed in
the documentations.
- twisted.protocols.dict, which was deprecated in 17.9, has been
removed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.22.3:
- Support compression and compressionargs in tifffile plugin
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.39.4:
- Fix IP changes being missed by ServiceInfo
- Fix port changes not being seen by ServiceInfo
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features
------------
Validated compatibility with Python 3.11.
Added the latency property to protocols.
Changed ping to return the latency of the connection.
Supported overriding or removing the User-Agent header in clients and the Server header in servers.
Added deployment guides for more Platform as a Service providers.
Improvements
-------------
Improved FAQ.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
no-pip.patch
removed since it's included in 3.2.0
Changelog:
chore: Deactivate broken test for now (#557)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
==========
Dropped support for legacy Pythons (2.7, 3.6 or older).
Switched CI to GitHub Actions.
Removed dependency on the py library (that was not properly specified as a dependency anyway).
Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in #211.
Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in #224.
Now no save is attempted if --benchmark-disable is used. Fixes#205. Contributed by Friedrich Delgado in #207.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Simplify registry subclassing.
(Issue #1631)
- Restore intersphinx cross reference functionality.
(Issue #1637)
- Use a newer version of flexparser that can deal with
imports in linked/temporary folders.
(Issue #1634)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022
Changelog:
==========
Use native namespace package configuration
Drop support for Python 3.6
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
==========
Cleaned up use of cPickle. Contributed by Sandro Tosi in #62.
Cleaned up more dead Python 2 code.
Added Python 3.11 wheels.
Dropped support for Python 3.6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.0:
- Remove 'unmarked' from public API
- Remove remaining mentions of init_tokens
- Teach ASTText the special handling for f-strings
- Explore a clearer lazy-parsing behaviour API
- Handle and test f-strings better
- Handle node being None in same way as token-using methods
- Make get_text_positions docstring match get_text_range better
- Handle f-string nodes even when tokens are present
- Type checking blocks will never get runtime coverage
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.10.0:
- Added double-spaces after embedded youtube links
- Add explanation for how to use assert to pacify mypy
- Allow enter to have a default
- CI improvements
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 9.0.0:
- Changes to lscpu breaks parsing of cache info
- CPU stepping, model, and family values are blank if 0
- Officially drop support for Python 2
- Replace Python 3.11 deprecated unittest.makeSuite
- Fix lgtm.com alerts
- Support Wheel
- Add support for RISC-V
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.5.0:
- Update tests and docs to use non-deprecated functions
- Clean up version handling
- Prep for jupyter releaser
- Format the changelog
- Clean up application typing
License-Update: formating change, the license remains the same
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A request to release a new version is here:
https://github.com/sumerc/yappi/issues/122
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.20:
- Reorganized code into facets
Each facet encapsulate a Pint functionality
- The definition parser is now completely appart, making it easy to
try other formats
- Extra requires for optional packages are now explicit in
setup.cfg
- Parse both Greek mu and micro Unicode points without error
- Added angular frequency documentation page
- Move ASV benchmarks to dedicated folder
- Implement `numpy.broadcast_arrays`
- An ndim attribute has been added to Quantity and DataFrame has
been added to upcast types for pint-pandas compatibility
- Fix a recursion error that would be raised when passing
quantities to `cond` and `x`
- Update test_non_int tests for pytest
- Create NaN-value quantities of appropriate non-int-type
- New documentation format and organization
- Better support for pandas and dask
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.6:
- Add alternative to 'init()', called 'just_fix_windows_console'.
This fixes many longstanding problems with 'init', such as
working incorrectly on modern Windows terminals, and wonkiness
when init gets called multiple times. The intention is that it
just makes all Windows terminals treat ANSI the same way as other
terminals do.
- Support Windows 10's ANSI/VT console. This didn't exist when
Colorama was created, and avoiding us causing havok there is long
overdue.
- Internal overhaul of package metadata declaration, which
abolishes our use of the now heavily discouraged setuptools (and
hence setup.py, setup.cfg and MANIFEST.in), in favor of hatchling
(and hence pyproject.toml). This includes dropping support
Python3.5 and 3.6, which are EOL, and were already dropped from
setuptools, so this should not affect our users.
- Attention to detail award to LqdBcnAtWork for a spelling fix in
demo06
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.4:
- count parameter can now go beyond 16-bit
- README.md is updated to describe how the module works in detail
- Linting issues have been fixed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.6:
- Ensure tempfiles are deleted by default
- Fix pickling errors thrown when saving some Stdlib modules
- Move session-related code to new session module
- Fix load_session() and restrict loading a session in a different
modude
- Rewrite _create_code() with Structural Pattern Matching (limited
to tuples)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2.6.post1:
- Improvement and refactoring in CI and tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changed
--------
bump up cryptography >= 3.4.0 by @jpadilla in #807
Remove types-cryptography from crypto extra by @lautat in #805
Fixed
---------
Invalidate token on the exact second the token expires #797
fix: version 2.5.0 heading typo by @c0state in #803
Added
-------
Adding validation for issued_at when iat > (now + leeway) as ImmatureSignatureError by @sriharan16 in #794
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix python_requires package metadata to support Python 3.7+.
Drop support for Python 2, as well as 3.4, 3.5, and 3.6.
Fix a broken compatibility shim that would cause the ConfigParser to fail on Python 3.12 when ConfigParser.readfp is removed.
Drop setuptools dependency and start using importlib.metadata instead.
Refactor repository into a src folder layout.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2022.
Changelog:
===========
Drop support for Python 3.6
Switch to implicit namespace package configuration
Add support for variable-width GPIO ports on FT23xx chips
Use time.perf_counter_ns() to avoid loss of precision
Remove cmdline.make_serial (deprecated since 1.17.1)
Pillow 9.2.0 or newer is required now
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add is_locked(lock_name) to test whether lock is held.
Allow raising CancelExecution within a Task, and override retries.
Add a very basic redis-backed lock that can be acquired more than once (to provide a rudimentary semaphore).
Add a periodic_task() wrapper for MiniHuey class.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)
Changed
Build with static metadata using 'build' frontend
Make the language detection stricter
Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1
Fixed
CLI with opt --normalize fail when using full path for files
TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
Sphinx warnings when generating the documentation
Removed
Coherence detector no longer return 'Simple English' instead return 'English'
Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
Breaking: Method first() and best() from CharsetMatch
UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
Breaking: Top-level function normalize
Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
Support for the backport unicodedata2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.0:
- Replace setup.py with build
- Lowered LinuxDistribution._distro_release_info method complexity
- Added official support for Buildroot distribution
- Added official support for Guix distribution
- Added support for /etc/debian_version
- Fixed a typography in CONTRIBUTING.md
- Improved README.md "Usage" code block
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.13.0:
- Add install info to readme for openSUSE
- Support defaultdict for namespace mapping
- parse(generator) is now possible
- Processing comments on parsing from xml to dict
- Add expand_iter kw to unparse to expand iterables
- Add support for python3.8
- Drop Jython/Python 2 and add Python 3.9/3.10
- Do not use len() to determine if a sequence is empty
- Add more namespace attribute tests
- Fix encoding issue in setup.py
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This has the python 3.11 fix in it so drop the patch
Add a patch to avoid adding native include paths to compiler cmdline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Upgrade to release 1.9.10:
- Added newer Celery versions to test suite
- Django 4.x support
- Cancel old CI runs when new one is started.
- Increase max string size for desc
- Pin Sanic version for CI
- Fix for partial signals in old Django and old Python versions.
- Convert profile output to the sample format
- Dynamically adjust profiler sleep time
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.11:
- Improve detection of namespace packages for the modules with
__spec__ set to None.
- Fixed a regression in the creation of the __init__ of dataclasses
with multiple inheritance.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: url of License changed from http to https.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.0:
- Migrate to pyproject.toml project layout (PEP 621).
- New output formats: `asciidoc`, various `*grid` and `*outline`
formats.
- New output features: vertical row alignment, separating lines.
- New input format: list of dataclasses (Python 3.7 or later).
- Support infinite iterables as row indices.
- Improve column width options.
- Improve support for ANSI escape sequences and document the
behavior.
- Various bug fixes.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.2.0:
- SPARQL: Fixed handing of HAVING clause with variable composition
- JSON-LD parser: better support for content negotiation
- Removed the following functions that were marked as deprecated
and scheduled for removal in version 6.0.0: Graph.load,
Graph.seq, Graph.comment, Graph.label
- Use functools.total_ordering to implement most comparison
operations for rdflib.paths.Path
- Fixed error handling for invalid URIs
- InfixOWL: Fixed handling of cardinality 0
- Added quad support to handling to
rdflib.graph.ReadOnlyGraphAggregate.quad
- Fixed base validation used when joining URIs
- Add GEO defined namespace for GeoSPARQL
- Fixed some issues with SPARQL Algebra handling/translation
- Fix SPARQL CSV result serialization of blank nodes
- Added a URIRef.fragment property
- Remove superfluous newline from N-Triples output
- Added a bunch of type hints
License-Update: Update years.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.5.0:
- The JSON report now includes details of which branches were
taken, and which are missing for each file.
- Starting with coverage.py 6.2, class statements were marked as a
branch. This wasn't right, and has been reverted. Note this will
very slightly reduce your coverage total if you are measuring
branch coverage.
- Packaging is now compliant with PEP 517.
- A new debug option --debug=pathmap shows details of the remapping
of paths that happens during combine due to the [paths] setting.
- Fix an internal problem with caching of invalid Python parsing.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.7:
- Fixed unused root argument in has_bridges
- docstring updates for union, disjoint_union, and compose
- Updated networkx/classes/function.py
- Improved documentation for all_simple_paths
- Change is_path to return False when node not in G instead of
raising exception
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Force regeneration of cython files in particular
(and strip build paths out of them afterwards).
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pre-generated cython files in the tarball are not compatible
with python 3.11, and adding a dependency will regenerate them.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the system version. Moreover, internal version is not cross compile
friendly. Ends up with
| cc1: error: include location "/usr/include/python3.10" is unsafe for cross-compilation [-Werror=poison-system-directories]
| cc1: some warnings being treated as errors
| error: command '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/python3-gevent/21.12.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc' failed with exit code 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add to_etree() to document API
Improve generic encoding with wildcards
Clean document API and schema decoding
License-Update: Copyright year updated to 2022.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Enhancements
-------------
Add support for DIV operator
Add support for additional SPARK keywords
Avoid tokens copy
Add REGEXP as a comparision
Add DISTINCTROW keyword for MS Access (issue677).
Improve parsing of CREATE TABLE AS SELECT
Bug Fixes
---------
Fix spelling of INDICATOR keyword
Fix formatting error in EXTRACT function
Fix bad parsing of create table statements that use lower case
Handle backtick as valid quote char
Allow any unicode character as valid identifier name (issue641).
Other
-------
Update github actions to test on Python 3.10 as well
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix several possible resource warnings and deprecation warnings when cleaning
up contexts and sockets, especially in pyzmq’s own tests and when implicit
teardown of objects is happening during process teardown.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bump actions/checkout from 2 to 3
Bump codecov/codecov-action from 1 to 3
Bump actions/setup-python from 2 to 3
adding support for compressed payloads
Revert "adding support for compressed payloads"
Add to_jwk static method to ECAlgorithm
Remove redundant wheel dep from pyproject.toml
Adjust expected exceptions in option merging tests for PyPy3
Do not fail when an unusable key occurs
Fixes for pyright on strict mode
Bump actions/setup-python from 3 to 4
[pre-commit.ci] pre-commit autoupdate
docs: fix simple typo, iinstance -> isinstance
Expose get_algorithm_by_name as new method
Remove support for python3.6
[pre-commit.ci] pre-commit autoupdate
Emit a deprecation warning for unsupported kwargs
Fix typo: priot -> prior
Fix for headers disorder issue
Update audience typing
Improve PyJWKSet error accuracy
Add type hints to jwt/help.py and add missing types dependency
Add cacheing functionality for JWK set
[pre-commit.ci] pre-commit autoupdate
Mypy as pre-commit check + api_jws typing
[pre-commit.ci] pre-commit autoupdate
Bump version to 2.5.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
-------
Add installation instructions (#56)
Internationalise the decimal separator in intcomma() (#53)
Internationalise intcomma for de_DE locale (#49)
Fixed
------
Replace short scale with long scale for Polish numbers (#54)
Fix intcomma() failing with a string as input when ndigits is not None (#52)
Fix some pylint findings (#42)
Fix "ValueError: math domain error" for metric(0) (#47)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Django 2.2 is no longer supported. [#8662]
* Django 4.1 compatibility. [#8591]
* Add --api-version CLI option to generateschema management command. [#8663]
* Enforce is_valid(raise_exception=False) as a keyword-only argument. [#7952]
* Stop calling set_context on Validators. [#8589]
* Return NotImplemented from ErrorDetails.__ne__. [#8538]
* Don't evaluate DateTimeField.default_timezone when a custom timezone is set. [#8531]
* Make relative URLs clickable in Browseable API. [#8464]
* Support ManyRelatedField falling back to the default value when the attribute
specified by dot notation doesn't exist. Matches ManyRelatedField.get_attribute to Field.get_attribute. [#7574]
* Make schemas.openapi.get_reference public. [#7515]
* Make ReturnDict support dict union operators on Python 3.9 and later. [#8302]
* Update throttling to check if request.user is set before checking if the user is authenticated. [#8370]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.8.3:
- Increased the upper boundary of the multidict dependency to
allow for the version 6
License-Update: Update copyright year from 2020 to 2022
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.1:
- Add support for Python 3.11 and PyPy
- Add support for Python 3.10
- Add type annotations to the project and run mypy on CI
- Add tests
- Refer to GitHub Releases for release notes for 2.0.0+
- Autodeploy to TestPyPI and to PyPI for GH releases
- Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs
- Replace deprecated license_file with license_files in setup.cfg
- Use declarative metadata in setup.cfg
- Replace 3.9-dev with 3.9 in CI to use Python 3.9 final
- Drop support for EOL Python <= 3.6
- Remove hardcoded VERSION constant
- Update source URL
License-Update: Removed new line from the end of license file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Remove unncessary package_data from setup.py (#243)
Use a custom logger when logging exceptions, not root
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-protobuf-Disable-musttail-attribute-on-mips.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Reshuffle the process lock code and properly document it.
Revamp the docs and switch from sphinx to mkdocs
Remove difficult to use tread lock features from docs
Bring back support for eventlet spawn_n
Remove support for python3.6. It should still work, but is no longer tested.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
ARXML refactoring preparations
refactor the ARXML code
Bugfix: BU_BO_REL causes 'index out of range' error
Add missing Bus import in can/init.py
PCAN trace (.trc) format to logreader
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Deliverability checks now check for 'v=spf1 -all' SPF records as
a way to reject more bad domains.
- Special use domain names now raise EmailSyntaxError instead of
EmailUndeliverableError since they are performed even if
check_deliverability is off.
- New module-level attributes are added to override the default
values of the keyword arguments and the special-use domains list.
- The keyword arguments of the public methods are now marked as
keyword-only.
- pyIsEmail's test cases are added to the tests.
- Recommend that check_deliverability be set to False for
validation on login pages.
- Added an undocumented globally_deliverable option.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.22.0:
- Pyav API for procedural video writing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.10:
- Fixed a crash when introspecting modules compiled by `cffi`
- ``decorators.cached`` now gets its cache cleared by calling
``AstroidManager.clear_cache``
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.0:
- Fix a security issue where eval(pre_dispatch) could potentially
run arbitrary code. Now only basic numerics are supported.
- Make sure that joblib works even when multiprocessing is not
available, for instance with Pyodide.
- Avoid unnecessary warnings when workers and main process delete
the temporary memmap folder contents concurrently.
- Fix memory alignment bug for pickles containing numpy arrays.
This is especially important when loading the pickle with
mmap_mode != None as the resulting numpy.memmap object would not
be able to correct the misalignment without performing a memory
copy. This bug would cause invalid computation and segmentation
faults with native code that would directly access the underlying
data buffer of a numpy array, for instance C/C++/Cython code
compiled with older GCC versions or some old OpenBLAS written in
platform specific assembly.
- Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+.
- Vendor loky 3.3.0 which fixes several bugs including:
* robustly forcibly terminating worker processes in case of a
crash
* avoiding leaking worker processes in case of nested loky
parallel calls
* reliability spawn the correct number of reusable workers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.4.0:
- Fix version_info
- Make generated config files more lintable
- Fix union from string
- Cover more Union parsing scenarios
- Upgrade GitHub Actions
- Fix and refactor downstream tests
- Test only the server part of notebook
- Add security.md, and tidelift bage
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.2:
- Extend root concept to subtrees used as root (e.g. XSD 1.1
assertions)
- Begin XPath 3.1 implementation adding XPathMap and XPathArray
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.5.0:
- Add support for Python 3.11 and PyPy3.9
- Add separators encoding parameter
- Fix encoding of infinity
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.9.0:
- Allow and add named sections for CalVer
- Add diff method to AwesomeVersion to list out changes between
2 objects
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.2.post1:
- FIX: Documentation for installation from source is outdated.
- FIX: Fix some typos in error messages.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.10.2:
- Revert Change: Revert percent encoding of URL parts
- Prevent long (length > 4_300) strings/bytes as input to int
fields, see python/cpython#95778 and CVE-2020-10735
- fix: dataclass wrapper was not always called
- Use tomllib on Python 3.11 when parsing mypy configuration
- Basic fix of GenericModel cache to detect order of arguments in
Union models
- Fix mypy plugin when using bare types like list and dict as
default_factory
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.1:
- Add option to specify line break character used in pagination
- Add header alignment attribute
- Revert "Add header alignment attribute"
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.6:
- Add random_spanning_tree to documentation
- Add warning to nx_agraph about layout nondeterminism
- Add cache reset for when G._node is changed
- Allow unsortable nodes in approximation.treewidth functions
- Add examples for the condensation function
- Improve LCA input validation
- Replace LCA with naive implementations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.0:
- Support Python 3.10.
- IntervalDict.as_dict has an optional atomic=False parameter that,
if set to True, returns intervals that are atomic.
- Experimental support for structural pattern matching (on left,
lower, upper and right).
- (breaking) For consistency, the empty interval is never <, >, <=,
nor >= when compared to another interval.
- Comparing an interval and a value is deprecated since it is
ill-defined when the value is on the left of <= or >=. Convert
values to singletons first.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.21.3:
- Raise error if fps is specified
- Fix small typo
- Examples for Pyav
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add use_location_hints argument to document API for giving the option of ignoring XSI schema locations hints
Fix import from locations hints with namespace mismatch (issue #324)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic
* Get translation changes from CLDR
* Add more translations from CLDR
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
-Metadata-Version updated to 2.1
-Python updated from 2.7.12 to 3
-Version updated to 4.11.1
-Description and Platform removed
Changelog:
===========
a major rebuild of the Go target
huge internal refractoring of testing and various target speed improvements
Getting all targets to run on all operating systems using github actions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Auto-coerce pathlib.Path objects to str since it is the least astonishing behavior
Reduce strictness of type hints to avoid over-constraining client code
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.9:
- Fixed creation of the ``__init__`` of ``dataclassess`` with
multiple inheritance.
- Fixed a crash on ``namedtuples`` that use ``typename`` to specify
their name.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.0:
- Removed legacy implementation of HierarchicalMachine from the
package
- Fix active state styling in GraphMachine
- Fix issues related to scopes and queueing in HierachicalMachine
- Reflexive transitions (dest: '=') had not been resolved correctly
when source was a wildcard
- HSM did not detect reflexive transitions if src was a parent
state
- Fix implicit fallback to graphviz when pygraphviz was not
installed
- Fix on_timeout callback resolution when timeout had been
initialized with timeout=0
- Last label in GraphSupport was not correctly aligned when
show_attributes=True
- Feature: Add pyi stub files for better type hinting. Since many
functions and constructors allow rather arbitrary arguments time
will tell whether typing should be strict (and cause more mypy
issues) or more relaxed (and thus less precise).
- Reviewed and improved method documentation
- Add may transition check to transitions
- Refactored error handling to be able to handle MachineError in
on_exception callbacks
- Add mypy to test workflow
- Add Retry state to supported state stereotypes
- Machine._identify_callback has been converted to instance method
from class method
- LockedMachine._get_qualified_state_name has been converted to
instance method from static method
- Removed _super workaround related to dill
License-Update: File changes, the licese remains the same MIT
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.0:
- Official support of python 3.10, 3.11 and 3.12
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
--------
Add 'strict' to flatten_query_params to lower-case bools (#433) (83678e9)
Make grpc transcode logic work in terms of protobuf python objects (#428) (c3ad8ea)
Bug Fixes
---------
Require python 3.7+ (#410) (7ddb8c0)
Restore support for grpcio-gcp (#418) (8c19609)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Add attribution to Lawrence Livermore
National Laboratory and the United States Department of Energy
Drop the Advertizing Clause from COPYING
Forward port patches
Drop 0001-cross-compiling-support.patch
bring in qemu usermode to do runtime pieces of build
Delete cached source files, as they are no longer needed
Upgrade version info in python3-h5py as well to match the upgraded
version number
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.31:
- Pass through `name` property in `TextArea` widget to `Buffer`.
- Added a `enable_cpr` parameter to `Vt100_Output`, `TelnetServer`
and `PromptToolkitSSHServer`, to completely disable CPR support
instead of automatically detecting it.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.21.2:
- Allow v3.imread to read dicom
- Revert to asanyarray
- Add missing numpy import in example
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed a crash involving non-standard type comments such as # type: # any comment.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Dropped patch for cross compile. 918d4481a4f69c7a4cbb4282acbabd28e2433039
fixes this upstream.
* This also fixing an issue building gnuradio where pybind looked for
something in /usr/include/pythonX.Y on the build machine.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-absl-always-use-asm-sgidefs.h.patch
removed since it's included in 1.48.0
abseil-ppc-fixes.patch
refreshed for new version
License-Update:
Add the contents of Mozilla Public License to license file.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix compile to code tests to run them on any platform
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrading python3-twitter to 4.10.1 and adding
missing RDEPEND requests-oauthlib
The license line in PKG-INFO was moved from row 8 to row 9.
Changelog: (https://github.com/tweepy/tweepy/releases)
New Features / Improvements:
- Add support for Direct Message typing indicator
and read receipts
- Add API.indicate_direct_message_typing and
API.mark_direct_message_read
- Fallback to "detail" response value for HTTPException message
- Handle "error" key of response being a string in HTTPException
- Add asynchronous interfaces for Twitter API v2
- Add asynchronous.AsyncClient
- Add async_lru as requirement for async extra
- Add asynchronous.AsyncStreamingClient
- Add support for reverse chronological home timeline
with Twitter API v2
- Add Client.get_home_timeline and AsyncClient.get_home_timeline
- Update the User-Agent header based on AsyncStream.user_agent
even if AsyncStream.session is already initialized/set
Bug Fixes
- Fix AsyncBaseClient rate limit handling
- Fix handling of StreamRule when passed in list to
StreamingClient.delete_rules or AsyncStreamingClient.delete_rules
- Add support for media_fields, place_fields, and poll_fields
parameters for Client.get_list_tweets and
AsyncClient.get_list_tweets
- Ignore AsyncClient method parameters explicitly passed as None
Twitter API Deprecations:
- Deprecate Stream.sample and note deprecation of compliance
messages for Stream.filter
- Deprecate AsyncStream.sample and note deprecation of compliance
messages for AsyncStream.filter
Misc:
- Use setup.cfg for coverage.py configuration
- Explicitly specify coverage >= 4.4.2 requirement for dev extra
- Use setup.cfg for tox configuration
- Update lower bound for dev extra tox requirement to >= 3.21.0
- Remove tests_require from setup.py
- Stop creating universal wheels
- Update and improve various documentation and tests
- Log text of HTTP response when handling request error in BaseStream
- Update Requests documentation URL for Intersphinx linking
- Correct typo in documentation for StreamingClient and
AsyncStreamingClient add_rules and delete_rules methods
Signed-off-by: Atanas Bunchev <atanas.bunchev@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to https://www.djangoproject.com/download/ python3-django
3.2.x has LTS support upto 2024, hence make it as default version
to build.
Also, add runtime dependency on python3-asgiref as the "django-admin"
script needs asgiref module.
More info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The default version of python3-django 2.2.x is no longer supported.
So, python3-django either 3.x or 4.x should be preferred, that
requires python3-asgiref at runtime.
More info at https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.0:
- Support Python 3.11
- Add flag to preserve internal borders when border=False
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.30:
- Allow zero-width-escape sequences in `print_formatted_text`.
- Add default value option for input dialog.
- Added `has_suggestion` filter.
- Always wrap lines in the Label widget by default.
- Fix enter key binding in system toolbar in Vi mode.
- Improved handling of stdout objects that don't have a 'buffer'
attribute. For instance, when using `renderer_print_formatted_text`
in a Jupyter Notebook.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.4:
- Do not include now private code.h
- Fix Python 3.11 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.4.4:
- Wheels are now provided for Python 3.11
- Fix a failure when combining data files if the file names
contained glob-like patterns
- Fix a messaging failure when combining Windows data files on a
different drive than the current directory
- Fix path calculations when running in the root directory, as you
might do in a Docker container
- Filtering in the HTML report wouldn't work when reloading the
index page. This is now fixed
- Fix a problem with Cython code measurement
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4:
- Add Python 3.8-3.10 to tox.ini. Remove old Python versions.
- Replace deprecated python setup.py test in tox.ini.
- Remove deprecated test_suite from setup.py.
- Move metadata to setup.cfg and add a pyproject.toml file.
- Include tests in sdist but not in wheel.
- Fix escape sequence warning in byte string literal.
- Open /dev/tty in binary mode under both Python 2 and 3.
- Officially change opentty's bufsize argument default from 1 to
-1. Under Python 3, 1 has effectively meant -1 all along but
Python 3.8 now issues a warning.
- Add readto, getfgcolor, getbgcolor, islightmode, and isdarkmode.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.12.0:
- Update to toolz 0.12.0
- Build wheels automatically with cibuildwheel!
- Support newer Python versions
- Improve import times
- Use versioneer.py to manage versions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.1:
- Fix small warnings for make docs
- Rename: encode_abi()->encode() and decode_abi()->decode()
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.1:
- Reject --tracemalloc in pyperf command
- Support reporting geometric mean by benchmark tags
- Add pyston as an implementation with a jit
- Add support for profiling benchmarks
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix router to restore the 2.1 strict_slashes == False behaviour whereby
leaf-requests match branch rules and vice versa.
- Fix router to identify invalid rules rather than hang parsing them, and
to correctly parse / within converter arguments.
- Update subpackage imports in werkzeug.routing to use the import as syntax
for explicitly re-exporting public attributes.
- Parsing of some invalid header characters is more robust.
- When starting the development server, a warning not to use it in a production
deployment is always shown.
- LocalProxy.__wrapped__ is always set to the wrapped object when the proxy is
unbound, fixing an issue in doctest that would cause it to fail.
- Address one ResourceWarning related to the socket used by run_simple.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
add integration tests for pluggable auth
support for configurable token lifetime
support for configurable token lifetime
Bug Fixes
---------
async certificate decoding
Async system tests were not unwrapping async_generators
Fix IDTokenCredentials update bug
make expiration_time optional in response schema
refactor credential subclass parameters
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.5.0:
- Add support for new Hue Tap Dial (relative rotary)
- Fix KeyError on fake Hue bridges
- Add monitor configuration type
- Updated rate limit statuscode
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.4:
- has_properties now returns Matcher[Any] type, which addresses
type checking errors when nested as a matcher.
- Added Python 3.11 testing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.5:
- Check that nodes have "pos" attribute in geometric_edges
- Correct louvain formula, solve infinite loops
- Add more comprehensive tests for pydot
- Move factory attributes to the class instead of instance
- make lazy_import private and remove its internal use
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- The published source distribution package became buildable under
Python 3.11.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.4:
- Various bug fixes in dependencies and test environment
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Fix router so that /path/ will match a rule /path if strict slashes mode is
disabled for the rule. #2467
-Fix router so that partial part matches are not allowed i.e. /2df does not
match /<int>. #2470
-Fix router static part weighting, so that simpler routes are matched before
more complex ones. #2471
-Restore ValidationError to be importable from werkzeug.routing. #2465
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Drop support for EOL python 2.7 / 3.4 / 3.5
Ignore __all__ when not directly assigned
Handle TypeAlias annotations as aliases (PEP 613)
Assignment expressions (:=) target outer scope in comprehensions
Add support for new python 3.11 syntax
Unify output so it is always filename:lineno:col: message
Properly report SyntaxError from stdin in python < 3.9
Fix offsets of "SyntaxError"s in pypy
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
From the pypi description:
Use requests to talk HTTP via a UNIX domain socket
Signed-off-by: Ed Tanous <edtanous@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's a bug in 3.5.1 that makes importing matplotlib impossible in
some environments:
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 895, in <module>
defaultParams = rcsetup.defaultParams = {
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 898, in <dictcomp>
rcParamsDefault[key]),
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 674, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'webagg.port'
This is fixed in 3.5.2.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
matplotlib needs python3-packaging at runtime. Add it to the package's
RDEPENDS.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We only support python3 so using PYTHON_PN is redundant.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix compatibility with Werkzeug 2.2 and Flask 2.2. #691
-Revert change to expand_login_view that attempted to preserve a dynamic
subdomain value. Such values should be handled using app.url_value_preprocessor
and app.url_defaults. #691
-Ensure deprecation warnings are present for deprecated features that will be
removed in the next feature release.
-Use request_loader instead of header_loader.
-Use user_loaded_from_request instead of user_loaded_from_header.
-Use app.config["LOGIN_DISABLED"] instead of _login_disabled.
-Use init_app instead of setup_app.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Remove warnings during the build of the package using package_data specs in setup.py
Fix decoding with process_namespaces=False and xsi:type in XML instance
Refactor DataElement.get(), restore DataElement.set() (issue #314)
Add map_attribute_names argument to DataElementConverter
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence python3-markupsafe
Changelog:
==========
- Deprecated get_script_name, get_query_string, peek_path_info, pop_path_info,
and extract_path_info. #2461
- Remove previously deprecated code. #2461
- Add MarkupSafe as a dependency and use it to escape values when rendering
HTML. #2419
- Added the werkzeug.debug.preserve_context mechanism for restoring
context-local data for a request when running code in the debug console.
- Fix compatibility with Python 3.11 by ensuring that end_lineno and
end_col_offset are present on AST nodes. #2425
- Add a new faster matching router based on a state machine. #2433
- Names within options headers are always converted to lowercase. This matches
RFC 6266 that the case is not relevant. #2442
- AnyConverter validates the value passed for it when building URLs. #2388
- The debugger shows enhanced error locations in tracebacks in Python 3.11. #2407
- Added Sans-IO is_resource_modified and parse_cookie functions based on WSGI versions.
- Added Sans-IO get_content_length function. #2415
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix where Command was not aware of default call args when wrapping the module
Add dependence python3-fcntl
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Remove debug logging from rsa/key.py (#194).
Remove overlapping slots in PrivateKey and PublicKey. (#189).
Do not include CHANGELOG/LICENSE/README.md in wheel (#191).
Fixed Key Generation Unittest: Public and Private keys are assigned the wrong way around (#188).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Removed wheel from the set of build dependencies in pyproject.toml (it is
redundant since setuptools already includes it), PR #652.
- Updated freebsd configuration in .cirrus.yml (with workaround for pipx in
2022Q3 repo), PR #657.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
most important fix: version 0.8.0 errors out on dbus-lib interaction,
which is fixed with the most recent commit
505e2b5 (tag: v.0.10.0) add interactive_authorization options for buses
2d90700 pystemd: add copyright boilerplate to typing stubs
5b95888 pystemd: update branch name in github workflow
16817d2 Add type stub for pystemd.run
410fd77 (tag: v.0.9.0) update changelog for 0.9.0
71aae43 GetProcesses() - info about systemd version (#59)
fcafd08 Also include .pxd and .pxi in the source distribution
475cd2f also support 3.9
ea98275 some formatting options and start pystemd 0.9 development
eb7d225 pystemd: update install instructions in README
6fdf2c8 Daily `arc lint --take BLACK`
50e61b7 add a LIBSYSTEMD_VERSION macro for gating new functions (#58)
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
there was a raise missing for throwing exceptions (#1077) (d1f17b0)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* add data descriptions: '.nbytes', '.padbits', '.readonly'
* allow optional 'endian' argument to be 'None' when creating bitarrays
* fix type annotation for 'canonical_decode()', #178
* frozenbitarray's padbits are now guaranteed to be zero
* add tests
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed a crash in Python 3.11 when TempFileCleanup.SUCCESS is used.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
aiodns is a Python module for asynchronous DNS resolution using pycares.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Updated and converted to new recipe syntax.
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pycares is an interface to the c-ares asynchronous DNS library.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Updated and converted to new recipe syntax.
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Running supervisord without these fails with import errors. smtpd might look strange, but provides required asynchat.py.
Replaced PYTHON_PN with python3 as suggested in previous thread.
Signed-off-by: Martin Großhauser <mgrosshauser@gmx.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
And update the summary and description from the github website.
Two tests are failing because cython is not installed.
But this is the same when running pytest under a native Linux system.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* Fix remaining logic to support Python 3.6/7
* Drop python3.6/3.7 support in testing runtime
* Add Python3 zed unit tests
* Update master for stable/yoga
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add namespaces argument to Server and AsyncServer #822
Add missing await in asyncio server #952
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed a crash in the undefined-loop-variable check when enumerate() is used
in a ternary expression.
Fixed handling of -- as separator between positional arguments and flags.
Fixed the disabling of fixme and its interaction with useless-suppression.
Allow lists of default values in parameter documentation for Numpy style.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- fix timing in shared data release procedure PR #149
- revert use of nullpointer introduced in #142 Its use is not necessary anymore
in 3.11.0-beta.4 and used to cause issues on some platforms (see #144 ) PR #145
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog from 2.0.2 to 2.1.1
==============================
* Move install metadata from "setup.py" to "setup.cfg"
* Add py.typed to source distribution
* "Turkey" changed to "Türkiye"
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Inline some optional imports that are only used for certain CLI commands.
- Relax type annotation for after_request functions.
- instance_path for namespace packages uses the path closest to the imported submodule.
- Clearer error message when render_template and render_template_string are
used outside an application context.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence python3-json
Changelog from 2.15.3 to 2.16.1
================================
* Fix uniqueItems when explicitly set to False
* Fix generating invalid code for some schemas using items
* Preserving full path in combination with $ref
* Improved error messages for oneOf and anyOf
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features:
------------
Support for EdDSA (Ed25519, Ed448) signature creation and verification.
Support for Ed25519 and Ed448 in PKCS#8 and public key files.
Support for point precomputation for EdDSA.
New API:
------------
CurveEdTw class to represent the Twisted Edwards curve parameters.
PointEdwards class to represent points on Twisted Edwards curve and
provide point arithmetic on it.
curve_by_name in curves module to get a Curve object by providing curve
name.
Bug fix:
---------
Accept private EdDSA keys that include public key in the ASN.1 structure.
Fix incompatibility with Python 3.3 in handling of memoryviews of empty
strings.
Make the VerifyingKey encoded with explicit parameters use the same
kind of point encoding for public key and curve generator.
Better handling of malformed curve parameters (as in CVE-2022-0778);
make python-ecdsa raise MalformedPointError instead of AssertionError.
Doc fix:
-----------
Publish the documentation on https://ecdsa.readthedocs.io/,
include explanation of basics of handling of ECC data formats and how to use
the library for elliptic curve arithmetic.
Make object names more consistent, make them into hyperlinks on the
readthedocs documentation.
Make security note more explicit (Ian Rodney)
Fix the explicit vs named_curve confusion in VerifyingKey docs.
Maintenance:
------------
Fix few typos (thanks to Tim Gates and Kian Meng Ang).
Updated black version; slight changes to formatting
Include interoperability tests for Ed25519 and Ed448 with OpenSSL.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Enhancements
------------
-Updated argparse decorator to remove annotations when the docstring is used
for a command's help text.
-Updated unit test to be Python 3.11 compliant.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[bug] [sqlite]
--------------
Fixed bug where the SQLite implementation of Operations.rename_table() would
render an explicit schema name for both the old and new table name, which while
is the standard ALTER syntax, is not accepted by SQLite’s syntax which doesn’t
support a rename across schemas. In particular, the syntax issue would prevent
batch mode from working for SQLite databases that made use of attached databases
(which are treated as “schemas” in SQLAlchemy).
[bug] [batch]
-------------
Added an error raise for the condition where Operations.batch_alter_table() is
used in --sql mode, where the operation requires table reflection, as is the
case when running against SQLite without giving it a fixed Table object.
Previously the operation would fail with an internal error. To get a
“move and copy” batch operation as a SQL script without connecting to a
database, a Table object should be passed to the
Operations.batch_alter_table.copy_from parameter so that reflection may be
skipped.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This one is needed for version 5.0.7.
And should not be needed anymore for version 6.x.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is needed as rdepends of the python3-jsonrpcserver package in version 5.0.7.
Is should not be needed anymore in the 6.x version.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Summary was ending in a kind of cut off sentence.
The text for summary and description is taken from the homepage.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Still with the warning:
WARNING: python3-pyzmq-23.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.10/site-packages/zmq/utils/compiler.json in package python3-pyzmq contains reference to TMPDIR
File /usr/lib/python3.10/site-packages/zmq/utils/config.json in package python3-pyzmq contains reference to TMPDIR [buildpaths]
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Added
------
Add support for arbitrary size integers (#548)
Fixed
---------
CVE-2022-31116:
Replace wchar_t string decoding implementation with a uint32_t-based one (#555)
Fix handling of surrogates on decoding (#550)
CVE-2022-31117: Potential double free of buffer during string decoding
Fix memory leak on encoding errors when the buffer was resized (#549)
Integer parsing: always detect overflows (#544)
Fix handling of surrogates on encoding (#530)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed null check for fribidi_version_info in FriBiDi shim
Added GIF decompression bomb check
Handle PCF fonts files with less than 256 characters
Improved GIF optimize condition
Reverted to array_interface with the release of NumPy 1.23
Pad PCX palette to 768 bytes when saving
Fixed bug with rounding pixels to palette colors
Use gnome-screenshot on Linux if available
Fixed loading L mode BMP RLE8 images
Fixed incorrect operator in ImageCms error
Limit FPX tile size to avoid extending outside image
Added support for decoding plain PPM formats
Added apply_transparency()
Fixed behaviour change from endian fix
Use python3
Allow remapping P images with RGBA palettes
Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher"
[pre-commit.ci] pre-commit autoupdate
Only import ImageFont in ImageDraw when necessary
Fixed drawing translucent 1px high polygons
Pad COLORMAP to 768 items when saving TIFF
Fix P -> PA conversion
Once exif data is parsed, do not reload unless it changes
Only try to connect discontiguous corners at the end of edges
Improve transparency handling when saving GIF images
Do not update GIF frame position until local image is found
Netscape GIF extension belongs after the global color table
Only write GIF comments at the beginning of the file
Separate multiple GIF comment blocks with newlines
Always use GIF89a for comments
Ignore compression value from BMP info dictionary when saving as TIFF
If font is file-like object, do not re-read from object to get variant
Raise ValueError when trying to access internal fp after close
Support more affine expression forms in im.point()
Include 'twine check' in 'make sdist'
Ensure that furthest v is set in quantize2
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package has strict build dependencies defined in pyproject.toml:
requires = ['setuptools ~= 41.4', 'setuptools_scm ~= 3.3', 'wheel ~= 0.33.6']
The ~= operator is "compatible release", so "setuptools ~= 41.4" can be
read as "setuptools >= 41.4, setuptools == 41.*".
We have setuptools 62.6.0 and do builds using our own packages instead
of building inside virtual environments, so these dependencies cannot
be satisfied.
Resolve this by passing --loose-depends to picobuild, which effectively
turns ~= into >=.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's no need to depend on python3-toml-native, but this does need
python3-setuptools-scm-git-archive-native.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a DEPENDS on ptyhon3-setuptools-scm-git-archive-native as the setup.py
uses it.
In the future we'll have a Python building tool which validates build
requirements, so remove pip from those dependencies as it shouldn't depend
on a specific build tool being present.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The upstream pyproject.toml says it needs to be built with the Poetry
frontend, but that's deprecated behaviour and it should use the Poetry
Core API instead.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In the future we'll have a Python building tool which validates build
requirements. No package should require a specific tool to be present
(not even used, just present), so remove the dependency on 'build'.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build doesn't generate the right filenames without this package.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.0:
- style.py: Drop unused CSS class .bold
- Bring back putting a rendered man page into release archives
- Migrate from mock to unittest.mock of Python >=3.3
- Fix for ANSI color codes that include blank values
- Added py.typed file
- style.py: Get CSS class .inv_foreground in sync with
.body_foreground
- Fix --input-encoding= regression added in PR #143 + related
tests
- Add ability to also recognize colons in ANSI escapes
- Fixes to respect bright colors in palette
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.12.0:
- Add apply
- Support newer Python versions--up to Python 3.11-alpha
- Improve warning when using toolz.compatibility
- Improve documentation
- Improve performance of merge_with
- Improve import times
- Auto-upload new releases to PyPI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.7.4:
- Fixed git diff parsing issues (filename with spaces, only one
added/deleted file).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.4:
- Clean up maximal_independent_set tests
- MAINT: Cleanup centrality module, remove unused variables
- importorskip scipy instead of numpy for total spanning tree
- Add initial_graph parameter to scale_free_graph and deprecate
create_using
- Add docstring example for attr transfer to linegraph.
- Update ISMAGS.analyze_symmetry docstring.
- Add default value p=2 for minkowski distance metric.
- Update inline code to inline math in docstring
- Update multigraph docstrings to reflect remove_edges_from
behavior.
- Update simple_cycles docstring w/ yields and examples
- Chromatic polynomial
- Catch ':' explicitly while working with pydot
- Revert "Add workaround for pytest failures on 3.11b2"
- Default to lightmode for documentation
- Dont compute all biconnected components in is_biconnected()
- Some more changes to make pytest-randomly happy
- Add durations flag to coverage run on CI.
- Recover order of layers in multipartite_layout when layers are
sortable
- Update doc requirements
- Touchups to MG and MDG edges docstrings.
- Add PendingDeprecation for pydot
- Add example of topo_order kwarg to dag_longest_path
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.1:
- Rejecting domains with NULL MX records (when deliverability
checks are turned on).
- Rejecting unsafe unicode characters. (Some of these checks you
should be doing on all of your user inputs already!)
- Rejecting most special-use reserved domain names. A new
test_environment option is added for using @*.test domains.
- Some fixes in the tests.
- example and example.com/net/org are removed from the special-use
domains list.
- SPECIAL_USE_DOMAIN_NAMES is now a documented part of the API
(and it is a list instead of a tuple)
- New module-level attributes ALLOW_SMTPUTF8, CHECK_DELIVERABILITY,
TEST_ENVIRONMENT, and DEFAULT_TIMEOUT can be used to change the
default values of the keyword arguments.
- Travis CI is updated to test from Python 3.6 forward,
dropping 3.5.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.4.1:
- Greatly improved performance on PyPy, and other environments that
need the pure Python trace function.
- The conditions for using tomllib from the standard library have
been made more precise, so that 3.11 alphas will continue to work.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.2:
- The minimum supported Python version is now 3.7.
- Wheels are now published with the Python stable ABI (abi3) for
compatibility across versions of Python.
- SSL certificate verfication and hostname checks are now enabled
by default in more places (primarily in client-side usage of
SSLIOStream).
- Various improvements to type hints throughout the package.
- CI has moved from Travis and Appveyor to Github Actions.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.3:
- Update annotations, docs, and tests: naturaltime can also accept
a timedelta
- Update annotations: naturadelta and naturaltime can also accept
a float
- Rename Arabic locale from ar_SA to ar to enable fallbacks
- Use %d for year translations, convert to string for intcomma after
- Fix intcomma with ndigits=0
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.17.0:
- Support serialization as float in TimeDelta field
- Add messages_dict property to ValidationError to facilitate type
checking
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Handle ASGI lifespan when running with a secondary ASGI app #284
Update deprecated usage of asyncio.wait() #281
Better handling of queued WebSocket messages in uWSGI #256
Gracefully fail to decode empty packets #269
Only attempt to set an async signal handler once #276
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Handle ValueError for possible blank values when casting to int
Remove deprecated method AwesomeVersion.ensure_strategy
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Convert the metadata into PEP 621 format
- Use pyproject.toml only
- Memory leak when multiple field is set to true in ack
- No exception raised when heartbeat timed out
- Wrong return type for basic_get
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.29.2:
- Only thread lock methods attempting to access the cache for the
caching middleware.
- Socket timeout when pushing a significant amount of data
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.41:
- support for python 3.11 added (__getstate__ behavior change)
- replaced travis CI by Github actions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.3 and add runtime dependencies:
- Keccak backend was initialized every time it was called.
Now it's initialized only the first time it's called.
- Prune venv files from the release via MANIFEST.in
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.5.1:
- new: WAMP Flatbuffers IDL and schema processing (experimental)
- new: WAMP-cryptosign trustroot (experimental)
- new: add wrapper type for CryptosignAuthextra
- fix: stricted type checking of Challenge; fix cryposign unit test
- new: more test coverage
- fix: reduce log noise
- fix: forward channel_binding selected in Component client
- new: expand ISigningKey to provide security_module/key_id
- fix: Component cryptosign test
- fix: add type hints; fix channel_binding
- new: work on federated realms and secmods
- new: rename to and work on a.w.CryptosignKey
- new: add bip44 for cryptosign test
- fix: remove all txaio.make_logger refs from generic code
- new: initial support for federated WAMP realms via
a.x.FederatedRealm/Seeder
- new: moved utility functions and unit tests for WAMP realm name
checking from Crossbar.io
- new: allow list of URLs for transports in a.t.component.Component
- new: add websocket_options to a.t.wamp.ApplicationRunner
- new: add stop_at_close flag in a.t.component.run
- fix: reduce log noise (regression) on ApplicationRunner Twisted
- new: allow max_retry_delay==0 for always-immediate auto-reconnect
in ApplicationRunner on Twisted
- new: add websocket_options to WAMP ApplicationRunner on Twisted
- new: more type hints and docs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed regression caused by #8133 where the pickle format for mutable attributes
was changed, without a fallback to recognize the old format, causing in-place
upgrades of SQLAlchemy to no longer be able to read pickled data from previous
versions. A check plus a fallback for the old format is now in place.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Catch a racy ValueError that could occur on exit.
Create README-hacking.md, for Colorama contributors.
Tweak some README unicode characters that don't render correctly on PyPI.
Fix some tests that were failing on some operating systems.
Add support for Python 3.9.
Add support for PyPy3.
Add support for pickling with the dill module.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
--------
Output the Unicode table version when running the CLI with --version (PR #194)
Changed
--------
Re-use decoded buffer for single byte character sets
Fixing some performance bottlenecks
Fixed
--------
Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
CLI default threshold aligned with the API threshold from @oleksandr-kuzmenko (PR #181)
Removed
--------
Support for Python 3.5 (PR #192)
Deprecated
--------
Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
The Qt brain now correctly treats calling .disconnect() (with no
arguments) on a slot as valid.
The argparse brain no longer incorrectly adds "Namespace" to the locals
of functions that return an argparse.Namespace object.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
[fsevents] Fix flakey test to assert that there are no errors when stopping the emitter.
[inotify] Suppress occasional OSError: [Errno 9] Bad file descriptor at shutdown. #805
[watchmedo] Make auto-restart restart the sub-process if it terminates. #896
[watchmedo] Avoid zombie sub-processes when running shell-command without --wait. #405
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.py-Do-not-strip-debugging-symbols.patch
refreshed for new version.
License-Update:
version updated to 5.3.0
Build options added
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
e31d5fdf2ea00ac6349e64580a20816783064dd4.patch
removed since it's not available in 0.4.3
License-Update:
version updated to 0.4.3
The content location of the description of the license has changed
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.0:
- Add humanize.metric() for converting big/small numbers to SI units
- Add type hints
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.3.0:
- Fix traitlet name in docstring
- Re-support multiple-alias key for ArgParseConfigLoader
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed two false positives for bad-super-call for calls that refer to a non-direct parent.
* Fixed a false positive for useless-super-delegation for subclasses that specify the number of
of parameters against a parent that uses a variadic argument.
* Allow suppressing undefined-loop-variable and undefined-variable without raising useless-suppression.
* Fixed false positive for undefined-variable for __class__ in inner methods.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add an upstream patch that's not part of any release yet that addresses
an issue with python 3.10 (related to a missing macro).
Link: https://github.com/pybluez/pybluez/issues/426
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Avoid reporting unnecessary-dict-index-lookup or unnecessary-list-index-lookup
when the index lookup is part of a destructuring assignment.
Fixed parsing of unrelated options in tox.ini.
Fixed a crash when linting __new__() methods that return a call expression.
Don't crash if we can't find the user's home directory.
Fixed false positives for unused-import when aliasing typing e.g. as t
and guarding imports under t.TYPE_CHECKING.
Fixed a false positive regression in 2.13 for used-before-assignment where it is safe to rely
on a name defined only in an except block because the else block returned.
Fixed the use of abbreviations for some special options on the command line.
Fix a crash in the optional pylint.extensions.private_import extension.
bad-option-value (E0012) is now a warning unknown-option-value (W0012). Deleted messages that do not exist
anymore in pylint now raise useless-option-value (R0022) instead of bad-option-value. This allows to
distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for
bad-option-value will still work on both new messages.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Now that we have a new enough setuptools, cbor2 5.4.3 successfully builds.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python-can 4.0.0 release introduced a dependency on the
typing_extensions module:
$ python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import can
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "python-can/can/__init__.py", line 17, in <module>
from .listener import Listener, BufferedReader, RedirectReader, AsyncBufferedReader
File "python-can/can/listener.py", line 12, in <module>
from can.message import Message
File "python-can/can/message.py", line 11, in <module>
from . import typechecking
File "python-can/can/typechecking.py", line 9, in <module>
import typing_extensions
ModuleNotFoundError: No module named 'typing_extensions'
Signed-off-by: Ben Powell <ben_powell@trimble.com>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove change of default for clear_untrusted_proxy_headers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
==========
Improve logging when keyring fails. (#890)
Reconfgure root logger to show all log messages. (#896)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
*Improved macro definition logic and platform detection to enable building
universal2 binary wheels for macOS, alongside arm64 and x86_64 ones;
added step to GitHub Actions to generate and publish them (#28).
*Mention explicit support for Python 3.10.
*Fixed minor compilation warning in ARM64 builds.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence asyncio.
Changelog:
==========
Parse SPNs in SYM Files
Miscellaneous smaller fixes
Implement support for AUTOSAR secure on-board communication
Distribute & expose type annotations per PEP 561
Add more type annotations
Improve encoding performance
Add Support for Dumping Database as SYM File
Fix SYM file bugs
Fix parsing of referenced data in CDDs
implement decoding of partial messages
Use floating point scaling in encoding
Small improvements after #417
minor bug fixes and improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
*Alembic 1.8 now supports Python 3.7 and above.
*The "Pylons" environment template has been removed as of Alembic 1.8. This
template was based on the very old pre-Pyramid Pylons web framework which
has been long superseded by Pyramid.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
*Flag instances now raise an error if used in a bool context.
This prevents the occasional mistake of testing an instance for truthiness
rather than testing flag.value.
*absl-py no longer depends on six.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Python 3.11 (beta)
refresh ci settings.
Don't define _*ENDIAN macro on Unix.
Update setuptools and black
Use PyFloat_Pack8() on Python 3.11a7
Upgrade black to fix CI
Fix Unpacker max_buffer_length handling
ci: Update action versions.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Bugs fixed
----------
* GH#341: The mixin inheritance order in ''lxml.html'' was corrected.
Patch by xmo-odoo.
Other changes
-------------
* Built with Cython 0.29.30 to adapt to changes in Python 3.11 and 3.12.
* Wheels include zlib 1.2.12, libxml2 2.9.14 and libxslt 1.1.35
(libxml2 2.9.12+ and libxslt 1.1.34 on Windows).
* GH#343: Windows-AArch64 build support in Visual Studio.
Patch by Steve Dower.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Better handling of message_queue connection argument #1130
More robust handling of to and room arguments of emit and send #1771
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In order to fix the dependency issue on PIL module, python3-pillow is required.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1.3.5 (2022-05-20)
- Fix an exception with matplotlib on Python 3.10 (#97)
- Fix incorrect walltime when same coroutine is ran with concurrent tasks (#58)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix adding failed emitters on observer schedule. (#872)
[inotify] Fix hang when unscheduling watch on a path in an unmounted filesystem. (#869)
[watchmedo] Fix broken parsing of --kill-after argument for the auto-restart command. (#870)
[watchmedo] Fix broken parsing of boolean arguments. (#887)
[watchmedo] Fix broken parsing of commands from auto-restart, and shell-command. (#888)
[watchmedo] Support setting verbosity level via -q/--quiet and -v/--verbose arguments. (#889)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
Don't treat im_mode ? as im_mode V
Other
Add stacklevel=2 to some warnings.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Fix crash while obtaining object_type() of an Unknown node.
- Fix a bug where in attempting to handle the patching of distutils by virtualenv,
library submodules called distutils (e.g. numpy.distutils) were included also.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Hatchling is the build backend used by the Hatch tool. Add the recipe
and a pep517 build class.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This now uses hatching to build.
Also remove redundant PYPI_PACKAGE assignment.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe inherited python_flit_core, but actually builds with setuptools.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
The development server does not set Transfer-Encoding: chunked for 1xx, 204, 304, and HEAD responses.
Response HTML for exceptions and redirects starts with <!doctype html> and <html lang=en>.
Fix ability to set some cache_control attributes to False.
Disable keep-alive connections in the development server, which are not supported sufficiently by Python’s http.server.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
changes:
--------
Fix asyncio Search crash
Replace OSError exceptions from can_read with redis.ConnectionError
Updated FUNCTION LOAD changes (from release 7.0 rc3 to support redis 7.0 final)
New Features
--------------
Get command keys for subcommands
Add support for CLUSTER SHARDS
Add support for COMMAND LIST
Add Async RedisCluster
ACL SETUSER - add selectors and key based permissions
Support for redis 7 streams features
Async Connection: Allow PubSub.run() without previous subscribe()
Implemented LATENCY HISTOGRAM by always throwing NotImplementedError
Add async supoort for SEARCH commands
Retry(): Support negative retries value
Add support for MODULE LOADEX
INFO - add support for taking multiple section arguments
CONFIG SET - add the ability to set multiple parameters in one call
CONFIG GET - add the ability to pass multiple pattern parameters in one call
Add support for COMMAND GETKEYSANDFLAGS
Support CASESENSITIVE for TAG fields
Bug Fixes
---------
Rename 'update_supported_erros' to 'update_supported_errors' in Retry module
Fix execute_command() determining nodes error when no key command
Fix incorrect return statement in aut
Maintenance
------------
Add unittest for PubSub.connect()
Fix incorrect return annotation in asyncio.lock
Minor cleanups in commands/cluster.py
Update xtrim type annotation
Async tests for redis commands, json, bloom, timeseries
Fixed typing in getex command
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
2.13.9 is the last release supporting python interpreter between 3.6.2 and 3.7.2.
---------------------------------------------------------------------------------
Respect ignore configuration options with --recursive=y.
Fix false positives for no-name-in-module and import-error for numpy.distutils and pydantic.
Fix IndexError crash in uninferable_final_decorators method.
Fix a crash in unnecessary-dict-index-lookup when subscripting an attribute.
Fix a crash when accessing __code__ and assigning it to a variable.
Fix a false positive for undefined-loop-variable when using enumerate().
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix
Reset request when iterating over plugins (#792) (46a49c4)
Rename format_hint to extension and prefer it over actual file extensions (#807) (4830f15)
Other
Fix broken links in readme (#806) (52954bc)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are packages missing in RDEPENDS needed to run speedtest-cli. Add
them and use += for the assignment as we don't know what inherited
classes may have added.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-uinput: a python module for controlling the
virtual input devices on linux.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
add dependence: python3-awesomeversion
Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API
Mac address got lost in translation
Update to final models and fix parser errors
Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is disabled
Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device
Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state
Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands
Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
We have a recipe for python3-pyinotify (not to be confused with the
recently added python3-pyfanotify) but this project has been abandoned
years ago. There's another - still maintained - project called simply
inotify on pypi and this adds the recipe for it.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This build is broken and doesn't generate any files: it is missing a
DEPENDS on python3-setuptools-scm-native, and our setuptools recipe
isn't new enough to build this version.
This reverts commit 1e050deca1.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add load_media_failed callback to MediaStatusListener
Tweak media status
Lookup known cast models in mDNS discovery
Fix default value for fetching model name in discovery
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
allow grpc without grpcio-status
remove dependency on pkg_resources
Avoid AttributeError if grpcio-status is not installed
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix type annotation for json.loads, it accepts str or bytes.
The --cert and --key options on flask run can be given in either order.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Only preserve subdomain or host view args in unauthorized redirect
The new utility function login_remembered returns True if the current login is remembered across sessions.
Fix side effect potentially executing view twice for same request.
Clarify usage of FlaskLoginClient test client in docs.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Released 2022-04-28
Use verbose form of typing.Callable for @command and @group.
Show error when attempting to create an option with multiple=True, is_flag=True. Use count instead.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-04 2.5.0:
-------------------
* add calculating of canonical Huffman codes 'util.canonical_huffman()'
and decoding thereof 'util.canonical_decode()', see #173
* allow creating "Huffman codes" from frequency maps with a single symbol
in 'util.huffman_code()' and 'util.canonical_huffman()', see #172
* allow bytes-like argument in '.frombytes()' and '.pack()' - previously,
the arguments were limited to the 'bytes' object, see #174
* allow bytes-like arguments in 'util.deserialize()'
* add official pyodide support
* add [DEFLATE decompression](../examples/puff/) example
* optimize '.bytereverse()'
* optimize 'delslice()' for cases like 'del a[1:17:2]' when 'a' is large
* fix 'examples/huffman/compress.py' to handle files with 0 or 1 characters,
see also #172
* add 'skipIF' decorator for skipping tests
* add test
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for web3: a library for interacting with Ethereum.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for lru-dict: a fixed size dict like container.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-eth-account: a tool for signing Ethereum
transactions and messages with local private keys.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-abi: utilities for working with Ethereum ABI definitions.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for parsimonious: an arbitrary-lookahead parser written in
pure Python.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-rlp: RLP definitions for common Ethereum objects.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for hexbytes: a Python bytes subclass that decodes hex,
with a readable console output.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-keyfile: a library for handling the encrypted
keyfiles used to store ethereum private keys.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-keys: common API for Ethereum key operations.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-utils: utility functions for codebases
which interact with ethereum.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-typing: common type annotations for ethereum
python packages.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-hash: the Ethereum hashing function module.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python-decouple: generic tool for separating settings
from code.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for cytoolz: cython implementation of the toolz package.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for toolz: a set of utility functions for iterators,
functions, and dictionaries.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This adds a recipe for pyfanotify - a python wrapper around linux'
fanotify interface.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix a crash caused by using the new config from 2.14.0 in 2.13.x code.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
PHP
-------
Fix building packaged PHP extension (#9727)
Fixed composer.json to only advertise compatibility with PHP 7.0+. (#9819)
Ruby
----------
Disable the aarch64 build on macOS until it can be fixed. (#9816)
Other
-------
Fix versioning issues in 3.20.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add syr locale
Get translation changes from CLDR
Add more translations from CLDR
Fix names for keyboard layouts which have changed
Add ab_GE locale
Add rif language
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add keyword-only neato_no_op argument to .render(), .pipe(), and stand-alone
graphviz.render() and graphviz.pipe().
- When building a Graph or Digraph, warn about an expected DOT syntax error in
rendering when passing a string that ends with an odd number of backslashes
(e.g. invalid dot.node('spam', label='\\') instead of correct ..., label=r'\\'
for a node labled as a backslash).
- Increase visibility of graphviz.escape() in the documentation.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
Features
androidpublisher: update the api cdbabdfbda
firebase: update the api dcab2830e6
localservices: update the api 24da1cc0af
networkmanagement: update the api d0e5a726e9
realtimebidding: update the api 716ded3162
retail: update the api 2aa456adab
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>
correct the order of pushing and yielding in resending procedure
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>
The upgrade fixes a do_compile error in 1.2.6.
Release notes are brief:
Version 1.2.7 (September 20, 2021).
Minor improvements and bug fixes.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.1:
- Fix Python 2.7 compatilibity.
- Changed default TLS version to 1.2 instead of 1.0.
- Fix incoming MQTT v5 messages with overall property length > 127
bytes being incorrectly decoded. Closes#541.
- MQTTMessageInfo.wait_for_publish() and MQTTMessageInfo.is_published()
will now raise exceptions if called when the publish call
produced an error.
- Remove periodic retry checks for outgoing messages with QoS>0.
This means that outgoing messages will only be retried on the
client reconnecting to the server. They will *not* be retried
when the client is still connected.
- The `rc` parameter in the `on_disconnect` callback now has
meaningful values in the case of an error.
- Callbacks can now be applied to client instances using decorators.
- PUBACK messages are now sent to the broker only after the
on_message callback has returned.
- Raise exceptions when attempting to set MQTT v5 properties to
forbidden values.
- Callbacks can now be updated from within a callback.
- Remove _out_packet_mutex and _current_out_packet_mutex and
convert the _out_packet queue use to thread safe.
- Add basic MQTT v5 support to the subscribe and publish helper
functions.
- Fix on_disconnect() sometimes calling the MQTT v3.x callback
when it should call the MQTT v5 callback.
- Big performance improvement when receiving large payloads,
particularly for SSL.
- Fix connecting with MQTT v5 to a broker that doesn't support
MQTT v5.
- Removed ancient Mosquitto compatibility class.
- Fix exception on calling Client(client_id="", clean_session=False).
- Experimental support for Websockets continuation frames.
- `Properties.json()` now converts Correlation Data bytes()
objects to hex.
- Only use the internal sockpair wakeup when running with
loop_start() or loop(). This removes problems when running with
an external event loop.
- Drain all of sockpairR bytes to avoid unnecessary wakeups and
possible timeouts.
- Add timeout to MQTTMessageInfo:wait_for_publish().
License-Update: Update to EPL-2.0
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.6.3:
- Guard for unexpected ID v1
- Guard for events without a v1 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>
Version 2.0.2
-------------
Released 2021-10-05
- Handle multiple tokens in ``Connection`` header when routing
WebSocket requests. :issue:`2131`
- Set the debugger pin cookie secure flag when on https. :pr:`2150`
- Fix type annotation for ``MultiDict.update`` to accept iterable
values :pr:`2142`
- Prevent double encoding of redirect URL when ``merge_slash=True``
for ``Rule.match``. :issue:`2157`
- ``CombinedMultiDict.to_dict`` with ``flat=False`` considers all
component dicts when building value lists. :issue:`2189`
- ``send_file`` only sets a detected ``Content-Encoding`` if
``as_attachment`` is disabled to avoid browsers saving
decompressed ``.tar.gz`` files. :issue:`2149`
- Fix type annotations for ``TypeConversionDict.get`` to not return an
``Optional`` value if both ``default`` and ``type`` are not
``None``. :issue:`2169`
- Fix type annotation for routing rule factories to accept
``Iterable[RuleFactory]`` instead of ``Iterable[Rule]`` for the
``rules`` parameter. :issue:`2183`
- Add missing type annotation for ``FileStorage.__getattr__``
:issue:`2155`
- The debugger pin cookie is set with ``SameSite`` set to ``Strict``
instead of ``None`` to be compatible with modern browser security.
:issue:`2156`
- Type annotations use ``IO[bytes]`` and ``IO[str]`` instead of
``BinaryIO`` and ``TextIO`` for wider type compatibility.
:issue:`2130`
- Ad-hoc TLS certs are generated with SAN matching CN. :issue:`2158`
- Fix memory usage for locals when using Python 3.6 or pre 0.4.17
greenlet versions. :pr:`2212`
- Fix type annotation in ``CallbackDict``, because it is not
utilizing a bound TypeVar. :issue:`2235`
- Fix setting CSP header options on the response. :pr:`2237`
- Fix an issue with with the interactive debugger where lines would
not expand on click for very long tracebacks. :pr:`2239`
- The interactive debugger handles displaying an exception that does
not have a traceback, such as from ``ProcessPoolExecutor``.
:issue:`2217`
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>
Version 2.0.2
-------------
Released 2021-10-04
- Fix type annotation for ``teardown_*`` methods. :issue:`4093`
- Fix type annotation for ``before_request`` and ``before_app_request``
decorators. :issue:`4104`
- Fixed the issue where typing requires template global
decorators to accept functions with no arguments. :issue:`4098`
- Support View and MethodView instances with async handlers. :issue:`4112`
- Enhance typing of ``app.errorhandler`` decorator. :issue:`4095`
- Fix registering a blueprint twice with differing names. :issue:`4124`
- Fix the type of ``static_folder`` to accept ``pathlib.Path``.
:issue:`4150`
- ``jsonify`` handles ``decimal.Decimal`` by encoding to ``str``.
:issue:`4157`
- Correctly handle raising deferred errors in CLI lazy loading.
:issue:`4096`
- The CLI loader handles ``**kwargs`` in a ``create_app`` function.
:issue:`4170`
- Fix the order of ``before_request`` and other callbacks that trigger
before the view returns. They are called from the app down to the
closest nested blueprint. :issue:`4229`
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>
Version 8.0.3
-------------
Released 2021-10-10
- Fix issue with ``Path(resolve_path=True)`` type creating invalid
paths. :issue:`2088`
- Importing ``readline`` does not cause the ``confirm()`` prompt to
disappear when pressing backspace. :issue:`2092`
- Any default values injected by ``invoke()`` are cast to the
corresponding parameter's type. :issue:`2089, 2090`
Version 8.0.2
-------------
Released 2021-10-08
- ``is_bool_flag`` is not set to ``True`` if ``is_flag`` is ``False``.
:issue:`1925`
- Bash version detection is locale independent. :issue:`1940`
- Empty ``default`` value is not shown for ``multiple=True``.
:issue:`1969`
- Fix shell completion for arguments that start with a forward slash
such as absolute file paths. :issue:`1929`
- ``Path`` type with ``resolve_path=True`` resolves relative symlinks
to be relative to the containing directory. :issue:`1921`
- Completion does not skip Python's resource cleanup when exiting,
avoiding some unexpected warning output. :issue:`1738, 2017`
- Fix type annotation for ``type`` argument in ``prompt`` function.
:issue:`2062`
- Fix overline and italic styles, which were incorrectly added when
adding underline. :pr:`2058`
- An option with ``count=True`` will not show "[x>=0]" in help text.
:issue:`2072`
- Default values are not cast to the parameter type twice during
processing. :issue:`2085`
- Options with ``multiple`` and ``flag_value`` use the flag value
instead of leaving an internal placeholder. :issue:`2001`
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>
"import pyinotify" throws an error for these modules if they are not
included.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>