Changelog:
==========
- Fix for the module command-line usage. Bug #290.
- Fix for when creating bitstrings from memoryview objects.
- Renamed the 'fmt' parameter for Arrays to 'dtype'.
- More Array operator coverage.
- Added operators that act on two Arrays of the same size.
- Added comparison operators for Arrays that return an Array of bools.
- Added Array.equals method as == will now return an Array (see above item).
- Added astype() method for Arrays to easily cast to a new dtype.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch
refreshed for 0.2.1
Changelog:
==========
add installing clang package for readthedocks
atexit fix
fix file system events: store fs info when marked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Implement lazy.__set_name__() which helps in cases like foo=lazy(_foo).
Update tox.ini for latest tox.
Add GitHub CI workflow.
Add .readthedocs.yaml file.
Pin sphinx and sphinx-rtd-theme versions in docs extra.
Add mypy extra which installs mypy.
Fix stray characters in keywords.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- change signatures for ReportAttemptingFullContext() and
ReportContextSensitivity() to be identical to all other targets
- Move GetText(), SetText(), and String() from CommonToken to BaseToken
- Restore "Obtained from string" source name.
- fix: Fix very minor code issues spotted by goreportcard.com
- Java: suppress this-escape warning introduced in JDK 21.
- Adds default targets for babel configuration
- fix dependabot warnings
- Add Antlr4Dynamic product
- Cleanup duplicate SwiftTarget code
- Fix for #4320--export additional types
License-Update: Version updated to 4.13.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The new version requires hatchling to build, so add that and remove
poetry (which isn't actually needed). Note that the changelog says it
switched to PDM from poetry.
Changelog: https://github.com/Tinche/aiofiles#history
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Shellingham is a python library to detect what shell the current
Python executable is running in. This recipe uses pypi as source:
https://pypi.org/project/shellingham
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update run-ptest script to print the output of python3-appdirs ptest results in
unified format
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Speed up answering queries (#1255) (2d3aed3)
Optimize DNSCache.get_by_details (#1254) (ce59787)
Speed up adding and removing RecordUpdateListeners (#1253) (22e4a29)
Optimize cache implementation (#1252) (8d3ec79)
No change re-release due to unrecoverable failed CI run (#1251) (730921b)
Reduce overhead to answer questions (#1250) (7cb8da0)
Cache construction of records used to answer queries from the service registry (#1243) (0890f62)
Remove useless calls in ServiceInfo (#1248) (4e40fae)
Reduce overhead to process incoming updates by avoiding the handle_response shim (#1247) (5e31f0a)
Avoid python float conversion in listener hot path (#1245) (816ad4d)
Reduce overhead to process incoming questions (#1244) (18b65d1)
Speed up RecordManager with additional cython defs (#1242) (5a76fc5)
Improve performance by adding cython pxd for RecordManager (#1241) (a7dad3d)
Build wheels for cpython 3.12 (#1239) (58bc154)
Use server_key when processing DNSService records (#1238) (cc8feb1)
Simplify code to unpack properties (#1237) (68d9998)
Context managers in ServiceBrowser and AsyncServiceBrowser (#1233) (bd8d846)
Rebuild wheels with cython 3.0.2 (#1236) (dd637fb)
Speed up question and answer history with a cython pxd (#1234) (703ecb2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Dropped Python 3.7 support
-Fixed @typechecked optimization causing compilation of instrumented code to
fail when any block was left empty by the AST transformer
(eg if or try / except blocks) (#352)
-Fixed placement of injected typeguard imports with respect to __future__
imports and module docstrings (#385)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow passing in multiple overrides using the ; character and fix , being used as splitting values
Add support for setting build backend config_settings in the configuration file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support Python 3.12.
NEW: Drop support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Optimized performance and memory usage for broadcasts
Improved documentation on horizontal scaling
Corrected user session documentation example
Improved grammar in documentation
Fix docstring typo: client/server mixup
Fix typos in the documentation
Upgrade dependencies in Django server example
Update reference JavaScript examples
Upgrade to pypy-3.9 in unit tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Copyright from LICENSE: xdist loadscope (test is not split). (#1708)
Changelog:
============
Async retry (#1752)
test_client: Fix test_client_protocol_execute() (#1751)
Use enums for constants (#1743)
Local Echo Broadcast with Async Clients (#1744)
Fix#1746 . Return missing result (#1748)
Document nullmodem. (#1739)
Add system health check to all tests. (#1736)
Handle partial message in ReadDeviceInformationResponse (#1738)
Broadcast with Handle Local Echo (#1737)
transport_emulator, part II. (#1710)
Added file AUTHORS, to list all Volunteers. (#1734)
Fix#1702 and #1728 (#1733)
Clear retry count when success. (#1732)
RFC: Reduce parameters for REPL server classes (#1714)
retries=1, solved. (#1731)
Impoved the example "server_updating.py" (#1720)
pylint 3.11 (#1730)
Correct retry loop. (#1729)
Fix faulty not check (#1725)
bugfix local echo handling on sync clients (#1723)
Updated copyright in LICENSE.
Correct README pre-commit.
Fix custom message parsing in RTU framer (#1716)
Request tracer (#1715)
pymodbus.server: allow strings for "-p" paramter (#1713)
New nullmodem and transport. (#1696)
xdist loadscope (test is not split). (#1708)
Add client performance example. (#1707)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Update Sharing group info from full object.
- Changes in msg-extract strip a character.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Adjust type check
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Add more translations from CLDR
* Get translation changes from CLDR
* Japanese: prefer anthy over kkc
* Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
-implement exceptions in Python PR #162 This allows to expose in a natural
manner the object relevant to the exception: constraint or edit_variable
-add missing signature of Constraint.violated for Python wrapper PR #166
-add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor resolution metadata reading for TIFF and avoid failing on missing data
Add bytes to ImageResource typehints
Update readthedocs.yaml
Deprecate Python 3.7 support
Add bytes to ImageResource typehints
Remove deprecations in CD
Fix typo in README.md
Fix several typos in the docs and source code comments
Add migration note for format kwarg
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added send_packet() method
Fixed race condition when lots of connections are ended at the same time #328
Workaround for strange memory leak in Eventlet's Thread class #328
Use daemon threads for background tasks in threading mode
Upgrade to pypy-3.9 in unit tests
Fix double close of websockets in ASGI adapter #327
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug #283.
Fix for using numpy integers as integer parameters. Bug #286.
Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
Improvements when pretty-printing the Array.
Array.count() can now count 'nan' values for floating point types.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add include_joined_str parameter to util.walk
setup.cfg shouldn't have version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Wrapped exceptions now cause dispatching.dispatch() to raise SystemExit(1)
instead of returning without error.
-Renamed arguments in add_commands() (#165 / #178):
-Can control exit status (see Backwards Incompatible Changes above) when raising
CommandError using the code keyword arg.
-Positional arguments should not lead to removal of short form of keyword argument
-Avoid depending on iocapture by using pytest's built-in feature
-chore: publishing to prod PyPI
-test: add coverage for action="count" (#127)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[feature] [autogenerate] Added new feature to the "code formatter" function which allows standalone
executable tools to be run against code, without going through the Python
interpreter. Known as the exec runner, it complements the existing
console_scripts runner by allowing non-Python tools such as ruff to
be used.
[usecase] [autogenerate] Change the default value of
EnvironmentContext.configure.compare_type to True.
As Alembic's autogenerate for types was dramatically improved in
version 1.4 released in 2020, the type comparison feature is now much
more reliable so is now enabled by default.
[bug] [operations] Added support for op.drop_constraint() to support PostrgreSQL
ExcludeConstraint objects, as well as other constraint-like objects
that may be present in third party dialects, by resolving the type_
parameter to be None for this case. Autogenerate has also been
enhanced to exclude the type_ parameter from rendering within this
command when type_ is None.
[bug] [commmands] Fixed issue where the revision_environment directive in alembic.ini
was ignored by the alembic merge command, leading to issues when other
configurational elements depend upon env.py being invoked within the
command.
[bug] [autogenerate] Fixed issue where the ForeignKeyConstraint.match parameter would not be
rendered in autogenerated migrations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some tests in test-inotify.py assume values for watch
descriptors. This is not safe, so we retrieve the
assigned values to compare with event information generated.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-piccata: piccata - a simple CoAP toolkit added
piccata is a simple CoAP (RFC7252) toolkit compatible with Python 2.7.
The toolkit provides basic building blocks for using CoAP in an
application. piccata handles messaging between endpoints
(retransmission, deduplication) and request/response matching.
Handling and matching resources, blockwise transfers, etc. is left to
the application but functions to faciliate this are provided.
piccata uses a transport abstraction to faciliate using the toolkit for
communication over different link types. Transport for a UDP socket is
provided.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-gspread: interface for google spreadsheet
Simple interface for working with Google Sheets.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
For x86/x32 it was overwriting SWIG_FEATURES, its better to append it
like for other arches, in addition it brings essential options to remove
buildpaths from .so files.
Use OPENSSL_NO_FILENAMES define instead of overrding OPENSSL_FILE for
achieving reproducibility. Takes care of line numbers too.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Build failures with older cython 0.29 series
Optimize processing of records in RecordUpdateListener subclasses
Speed up the service registry with a cython pxd
Optimizing sending answers to questions
Optimize unpacking properties in ServiceInfo
Refactor notify implementation to reduce overhead of adding and removing listeners
Add cython pxd file for _listener.py to improve incoming message processing performance
Cythonize _listener.py to improve incoming message processing performance
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Removed code referencing bdist_wininst in install_scripts.
- Promote pyproject.toml’s [tool.setuptools] out of beta.
- Automatically add files listed in Extension.depends to sdists, as long as they
are contained in the project directory
- Require Python 3.8 or later.
- Made imports in editable installs case-sensitive on case-insensitive filesystems
- Use default encoding to create .pth files with editable_wheel.
- Detects (and complain about) scripts and gui-scripts set via setup.py when
pyproject.toml does not include them in dynamic.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed Any being removed from a subscript that still contains other elements
Fixed suppress_type_checks() causing annotated variable assignments to always assign None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Change accepted environment name rule: must be made up of factors defined in
configuration or match regex (pypy|py|cython|)((\d(\.\d+(\.\d+)?)?)|\d+)?.
- --override foo+=bar appending syntax will now work correctly when foo wasn't
defined in tox.ini.
- Disallow command line environments which are not explicitly specified in the config file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Added new helper methods for Atlas Search Index (requires MongoDB Server 7.0+).
Added Database.cursor_command to support
executing an arbitrary command that returns a cursor.
Improved bson encoding and decoding performance by up to 134%.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Protobuf News may include additional announcements or pre-announcements for
upcoming changes.
-Revert CopyFrom() optimization that was causing crashes back to
Serialize/Parse (protocolbuffers/upb@78e9694)
-Ruby: Fix object cache lookups on 32-bit platforms
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add Hungarian localization
-Revise Turkish localization
-Translate "thousand" to "千" for zh_CN
-Update docs link to https://humanize.readthedocs.io
-Move logic to convert aware datetime to naive into function
-Docs: fix formatting of return value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improvements in the connection rejected flow
Better handling of Gunicorn threaded worker
shutdown() method for the Engine.IO server
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix issue with regex flags in shell completion.
Bash version detection issues a warning instead of an error.
Fix issue with completion script for Fish shell.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Added two new floating point interpretations: float8_143 and float8_152.
-Auto initialistion from ints has been removed and now raises a TypeError.
-Explicitly specifying the 'auto' parameter is now disallowed rather than discouraged.
-Deleting, replacing or inserting into a bitstring resets the bit position to 0 if the
bitstring's length has been changed.
-Only empty bitstring are now considered False in a boolean sense.
-Casting to bytes now behaves as expected, so that bytes(s) gives the same result as
s.tobytes(). Previously it created a byte per bit.
-Pretty printing with the 'bytes' format now uses characters from the 'Latin Extended-A'
unicode block for non-ASCII and unprintable characters instead of replacing them with '.'
-When using struct-like codes you can now use '=' instead of '@' to signify native-
endianness. They behave identically, but the new '=' is now preferred.
-More fixes for LSB0 mode. There are now no known issues with this feature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Remove support for Python 3.7
Add hash dunder
Use OIDC for PyPI release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improved autogenerate compare of expression based indexes on PostgreSQL
to produce fewer wrong detections.
-Fixed issue with NULLS NOT DISTINCT detection in postgresql that
would keep detecting changes in the index or unique constraint.
-Added encoding="locale" setting to the use of Python's
ConfigParser.read(), so that a warning is not generated when using the
recently added Python feature PYTHONWARNDEFAULTENCODING specified in
PEP 597. The encoding is passed as the "locale" string under Python
3.10 and greater, which indicates that the system-level locale should be
used, as was the case already here.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-pyroute2 is upgraded to 0.7.9.
Fixes:
=================================================
tests/test_unit/test_iproute_match/test_match.py:10: in <module>
with open('test_unit/test_iproute_match/links.dump', 'r') as f:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_iproute_match/links.dump'
with open(sample, 'r') as buf:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_nlmsg/gre_01.dump'
=================================================
root@qemux86-64:~# ptest-runner python3-pyroute2
START: ptest-runner
2023-08-22T10:31
BEGIN: /usr/lib/python3-pyroute2/ptest
============================= test session starts ==============================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /usr/lib/python3-pyroute2/ptest
collected 103 items
PASS: tests/test_unit/test_addr_pool.py::test_alloc_aligned
PASS: tests/test_unit/test_addr_pool.py::test_alloc_odd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to the setup.py of v4.2.2 [1] the following runtime
dependencies are currently missing. Add them.
* packaging
* setuptools
[1] https://github.com/hardbyte/python-can/blob/4.2.2/setup.py
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
At least one of the following DISTRO_FEATURES needs to be present: X11 or
Wayland. The recipe now work with pure Wayland.
Signed-off-by: Marine Vovard <m.vovard@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Feature
--------
Improve performance responding to queries (#1217) (69b33be)
Expose flag to disable strict name checking in service registration (#1215) (5df8a57)
Speed up processing incoming records (#1216) (aff625d)
Speed up unpacking text records in ServiceInfo (#1212) (99a6f98)
Add a cache to service_type_name (#1211) (53a694f)
Speed up processing incoming records (#1206) (126849c)
Fix
-------
Remove typing on reset_ttl for cython compat (#1213) (0094e26)
Revert adding typing to DNSRecord.suppressed_by (#1210) (3dba5ae)
Revert DNSIncoming cimport in _dns.pxd (#1209) (5f14b6d)
Race with InvalidStateError when async_request times out (#1208) (2233b6b)
Improve performance of ServiceInfo.async_request (#1205) (8019a73)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Python 3.11 upgrade, drop 3.7 (use old version < 1.3 if desired in Python 3.7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Bugfixes
----------
Fix the type for the optional param asking for "full transactions" when subscribing to newPendingTransactions via eth_subscribe to bool. (#3067)
Improved Documentation
-----------------------
Change docs to reflect AsyncHTTPProvider does accept ENS names now (#3070)
Features
-----------
Return structured JSON-RPC errors for missing or unimplemented eth-tester methods. (#3061)
ENS name-to-address support for eth_subscribe. (#3066)
Asynchronous iterator support for AsyncWeb3 with WebsocketProviderV2 using async for syntax. (#3067)
Internal Changes - for web3.py Contributors
--------------------------------------------
Minor fixes to type hinting in the core tests setup fixtures. (#3069)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Python version specific classifiers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
--------
* --override can now take options in the form of foo+=bar which will append
bar to the end of an existing list/dict, rather than replacing it. (#3087)
* Make –hashseed default to PYTHONHASHSEED, if defined
The main motivation for this is to able to set the hash seed when building the
documentation with “tox -e docs”, and thus avoid embedding a random value in
the tox documentation for –help. This caused documentation builds to fail to
build reproducibly. (#2942)
Bugfixes
----------
* Update a regular expression in tests to match the exception message in both
Python 3.12 and older. (#3065)
Improved Documentation
------------------------
* Fix broken links
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fixed
--------
Fixed Text.expand_tab assertion error
Fix tilde character (~) not included in link regex when printing to console #3057
Fixed Text.expand_tabs not expanding spans.
Fixed TimeElapsedColumn from showing negative.
Fix for escaping strings with a trailing backslash #2987
Fixed exception in Markdown with partial table #3053
Fixed the HTML export template so that the <html> tag comes before the <head> tag #3021
Fixed issue with custom classes overwriting __eq__ #2875
Fix rich.pretty.install breakage in iPython #3013
Added
--------
Added Text.extend_style method.
Added Span.extend method.
Changed
----------
Text.tab_size now defaults to None to indicate that Console.tab_size should be used.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
emoved usage of _PyBytes_Join and did a little tidying of the code that makes the result string.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Drop support for EOL python 3.6 / 3.7
Remove ContinueInFinally check (only relevant in python < 3.8)
Fix forward annotations inside a nested scope
Produce an error when a definition shadows an unused variable
Fix accessed global annotation being redefined in a local scope
Allow redefinition of functions across match arms
Fix potential None for lineno during tokenization errors
Add support for PEP 695 and python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix a regression in joblib.Parallel introduced in 1.3.0 where explicitly
setting n_jobs=None was not interpreted as "unset".
-Fix a regression in joblib.Parallel introduced in 1.3.0 where joblib.Parallel
logging methods exposed from inheritance to joblib.Logger didn't work because
of missing logger initialization.
-Various maintenance updates to the doc, the ci and the test.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Async queries could wait forever instead of respecting the timeout if the
timeout was 0 and a packet was lost. The timeout is now respected.
- Restore HTTP/2 support which was accidentally broken during the https
refactoring done as part of 2.4.0.
- When an inception time and lifetime are specified, the signer now sets
the expiration to the inception time plus lifetime, instead of the current
time plus the lifetime.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a .Coverage.collect context manager to start and stop coverage data collection.
- Dropped support for Python 3.7.
- Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode.
Coverage.py would fail with the error Safety level may not be changed inside
a transaction. This is now avoided, closing issue 1646.
- Docs: examples of configuration files now include separate examples for the
different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
- Fix: added nosemgrep comments to our JavaScript code so that semgrep-based
SAST security checks won't raise false alarms about security problems that
aren't problems.
- Added a CITATION.cff file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* use reconstructor function for pickling, see #207
* simplify implementation of '.reverse()'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed compatibility with asyncio.timeout() on Python 3.11+.
Added support for Python 3.11.
Dropped support for Python 3.6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- [feature] [operations] Added parameters if_exists and if_not_exists for index operations.
Pull request courtesy of Max Adrian.
- [usecase] [typing] Added typing to the default script mako templates.
- [usecase] [autogenerate] Added support in autogenerate for NULLS NOT DISTINCT in
the PostgreSQL dialect.
- [bug] Fixed format string logged when running a post write hook
Pull request curtesy of Mathieu Défosse.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switched RDEPEND to python3-modules as this is a complex package that is
still under fairly heavy development by python core contributors. It's
likely that the dependency list will change from release to release and
unlikely that anyone wanting type-checking will be object to having a
full python installation.
Note for anyone attempting to backport this, you'll need to add
python3-tomli to RDEPENDS as python < 3.11 won't be in the stdlib.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Cleanup naming from previous refactoring in ServiceInfo
Pin python-semantic-release to fix release process
No change re-release to fix wheel builds
Add missing if TYPE_CHECKING guard to generate_service_query
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for passing a tuple as expected_type to check_type(), making it
more of a drop-in replacement for isinstance()
- Fixed regression where Literal inside a Union had quotes stripped from its
contents, thus typically causing NameError to be raised when run
- Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when
typing_extensions>=4.6.0 is installed
- Fixed NameError when generated type checking code references an imported
name from a method
- Fixed docstrings disappearing from instrumented functions
- Fixed @typechecked failing to instrument functions when there are more than
one function within the same scope
- Fixed frozenset not being checked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Make float and int hashable.
Allow users to specify encoders for custom types.
Fix the incorrect sort when building a table with dotted keys.
Complete the methods required for integer and float items.
Replace the deprecated usage of datetime.utcnow().
Minor performance improvements when iterating over the escape sequences.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix serial startup problems. (#1701)
pass source_address in tcp client. (#1700)
serial server use source_address[0]. (#1699)
Examples coverage nearly 100%. (#1694)
new async serial (#1681)
Docker is not supported (lack of maintainer). (#1693)
Forwarder write_coil --> write_coil. (#1691)
Change default source_address to (0.0.0.0, 502) (#1690)
Update ruff to 0.0.277 (#1689)
Fix dict comprehension (#1687)
Removed requests dependency from contrib/explain.py (#1688)
Fix broken test (#1685)
Fix readme badges (#1682)
Bump aiohttp from 3.8.3 to 3.8.5 (#1680)
pygments from 2.14.0 to 2.15.0 (#1677)
Handle partial local echo. (#1675)
clarify handle_local_echo. (#1674)
async_client: add retries/reconnect. (#1672)
Fix 3.11 problem. (#1673)
Add new example simulator server/client. (#1671)
examples/contrib/explain.py leveraging Rapid SCADA (#1665)
_logger missed basicConfig. (#1670)
Bug fix for #1662 (#1663)
Bug fix for #1661 (#1664)
Fix typo in config.rst (#1660)
test action_increment. (#1659)
test codeql (#1655)
mypy complaints. (#1656)
Remove self.params from async client (#1640)
Drop test of pypy with python 3.8.
repair server_async.py (#1644)
move common framer to base. (#1639)
Restrict Return diag call to bytes. (#1638)
use slave= in diag requests. (#1636)
transport listen in server. (#1628)
CI test.
Integrate transport in server. (#1617)
fix getFrameStart for ExceptionResponse (#1627)
Add min/min to simulator actions.
Change to "sync client" in forwarder example (#1625)
Remove docker (lack of maintenance). (#1623)
Clean defaults (#1618)
Reduce CI log with no debug. (#1616)
prepare server to use transport. (#1607)
Fix RemoteSlaveContext (#1599)
Combine stale and lock. (#1608)
update pytest + extensions. (#1610)
Change version follow PEP 440. (#1609)
Fix regression with REPL server not listening (#1604)
Remove handler= for server classes. (#1602)
Fix write function codes (#1598)
transport nullmodem (#1591)
move test of examples to subdirectory. (#1592)
transport as object, not base class. (#1572)
Simple examples. (#1590)
transport_connect as bool. (#1587)
Prepare dev (#1588)
Release corrections. (#1586)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Import error when using create_api outside a REPL
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.11 support
-Massive improvements in performance for Interpreter (e.g. IPython) users.
This especially affects pandas users with large datasets.
-Add jedi.settings.allow_unsafe_interpreter_executions to make it easier for
IPython users to avoid unsafe executions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Added TRUST_EXPIRED to trust_keys. Thanks to Leif Liddy for the patch.
-Fix #206: Remove deprecated --always-trust in favour of --trust-model always
-Fix #208: Add status_detail attribute to result objects which is populated when
the status is 'invalid recipient' (encryption/decryption) or 'invalid signer'
(signing).
-Add scan_keys_mem() function to scan keys in a string. Thanks to Sky Moore
for the patch.
-Fix #214: Handle multiple signatures when one of them is invalid or unverified.
-A problems attribute was added which holds problems reported by gpg
during verification.
-Fix #217: Use machine-readable interface to query the gpg version. Thanks to Justus
Winter for the patch.
-Added the ability to export keys to a file. Thanks to Leif Liddy for the patch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Prevent allow_unsafe_werkzeug option from being passed to web servers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix typed value of ElementNode() if self.elem.text is None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Cython 3.0
Stop building wheels for PyPy 3.9 and PyPy 3.10, which stopped working for some reason
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
added several missed global variables from the argparse module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix an issue with type hints for @click.group()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Upgraded the vendored copy of llhttp_ to v8.1.1
Added information to C parser exceptions to show which character caused the error.
Fixed a transport is :data:None error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
align LICENSE wording with BSD-3-Clause
Copyright updated to 2023.
Changelog:
==========
Fix _is_builtin_module
minor changes from PR #554
align LICENSE wording with BSD-3-Clause
Python 3 Metaclasses [Support ABC and Enums - Part 1]
Abstract Base Classes [Support ABC and Enums - Part 2]
fix typo
Bump requests from 2.27.1 to 2.31.0 in /docs
Fixed crashed in _dill._is_builtin_module when a module's file is None
Bump pygments from 2.11.2 to 2.15.0 in /docs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
telnetlib3 is a Telnet client and server library for python.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not poison include paths with build system include and lib dirs
these paths get appended to cflags/ldflags when building the c extention
Fixes
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-pyaudio/0.2.13-r0/recipe-sysroot/usr/include/python3.11/pyconfig.h:23:10: fatal error: 'python3.11/pyconfig-32.h' file not found
| 23 | #include <python3.11/pyconfig-32.h>
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
- Use python_flit_core instead of setuptools3
- Modify 0001-sqlparse-change-shebang-to-python3.patch to apply on 0.4.4
- Remove CVE-2023-30608.patch since it's now upstream:
[tgamblin@megalith sqlparse]$ git tag --contains c457abd
0.4.4
Changelog (https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG):
Release 0.4.4 (Apr 18, 2023)
----------------------------
Notable Changes
* IMPORTANT: This release fixes a security vulnerability in the
parser where a regular expression vulnerable to ReDOS (Regular
Expression Denial of Service) was used. See the security advisory
for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
The vulnerability was discovered by @erik-krogh from GitHub
Security Lab (GHSL). Thanks for reporting!
Bug Fixes
* Revert a change from 0.4.0 that changed IN to be a comparison (issue694).
The primary expectation is that IN is treated as a keyword and not as a
comparison operator. That also follows the definition of reserved keywords
for the major SQL syntax definitions.
* Fix regular expressions for string parsing.
Other
* sqlparse now uses pyproject.toml instead of setup.cfg (issue685).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Move to LICENSE.txt
Changelog:
2022-12-26 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.13
* Move pyaudio.Stream to pyaudio.PyAudio.Stream.
The pyaudio.Stream class is now pyaudio.PyAudio.Stream, nested under the
existing pyaudio.PyAudio class. This should not affect existing code, as
directly accessing the module-level pyaudio.Stream class has always been
unsupported (use PyAudio.open instead). Accessing pyaudio.Stream
directly is deprecated and will raise a DeprecationWarning.
* Deprecate PaMacCoreStreamInfo's get_channel_map() and get_flags() methods.
Use the channel_map and flags properties, respectively, instead. Also
deprecates internal method _get_host_api_stream_object. Calling
deprecated methods will raise a DeprecationWarning.
* Package PyAudio as an actual package (directory).
Previously, the library deployed a single pyaudio.py file and a C
extension module to the root of site-packages. Now, the library deploys
a Python package.
* Add default shared library path for Homebrew installations on Apple Silicon.
* Refactor and cleanup.
- Refactor C extension for better maintainability.
- Add more unit tests.
- Update and modernize examples directory.
- Improve C and python style conformance, plus many cosmetic updates.
2022-07-18 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.12
- Modernize build process for Microsoft Windows, using the native toolchain.
Setuptool setup.py and INSTALL instructions are more streamlined.
Building from Cygwin/MinGW is no longer supported nor tested.
Thanks to Sean Zimmermann for the patches and general help!
- Change default frames per buffer size to paFramesPerBufferUnspecified.
Previously, pyaudio.py set a default frames per buffer size of 1024,
which can lead to dropped frames on some systems. Now, by default,
PortAudio selects the buffer size based on host and latency
requirements.
Thanks to Jason Hihn for the suggestion!
- Minor fixes and refactoring for compatibility with Python 3.7+.
Updates include:
* Remove call to deprecated PyEval_InitThreads() for Python 3.7+
* Use Py_ssize_t types in appropriate places (for Python 3.10+).
* Remove the min macro to ease compilation for Windows.
- Use the locale's preferred encoding to decode device names.
Thanks to Eiichi Takamori for the patch!
- Unit tests: add skipIf decorators to skip tests that require hardware.
Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that
require sound hardware, useful for (automated) test environments without
access to audio devices.
Thanks to Matěj Cepl for the suggestion and patch!
- Documentation, examples, and unit tests: various fixes.
* Add more unit tests and repair a few that test the GIL on macOS.
* Remove examples/error.py, which is redundant with tests/error_tests.py.
* Fix type documentation of return value types in docstrings.
Thanks to Vasily Zakharov for pointing out the return-value type errors!
- Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Adjust target lines in setup.py for LIC_FILES_CHKSUM, since the
content of interest has moved (but not changed)
- Tweak matplotlib-disable-download.patch to apply on 3.7.2
- Remove backported patch since it's in 3.7.2:
[tgamblin@megalith matplotlib]$ git log --oneline --grep="removed RandomNumberGenerator class"
601d92a885 removed RandomNumberGenerator class, included <random>, replaced random_shuffle with shuffle and used mersenne twister engine to generate uniform random bit generator for the shuffle.
[tgamblin@megalith matplotlib]$ git tag --contains 601d92a885
v3.7.0
v3.7.0rc1
v3.7.1
v3.7.2
Changelog: https://github.com/matplotlib/matplotlib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the CVE-2020-25657 patch, as it is fixed in 0.39.0:
[tgamblin@megalith m2crypto]$ git log --oneline --grep="CVE-2020-25657"
84c5395 Mitigate the Bleichenbacher timing attacks in the RSA decryption API (CVE-2020-25657)
[tgamblin@megalith m2crypto]$ git tag --contains 84c53958def0f510e92119fca14d74f94215827a
0.39.0
Changelog (https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES?ref_type=heads):
0.39.0 - 2023-01-31
-------------------
- SUPPORT FOR PYTHON 2 HAS BEEN DEPRECATED AND IT WILL BE
COMPLETELY REMOVED IN THE NEXT RELEASE.
- Remove dependency on parameterized and use unittest.subTest
instead.
- Upgrade embedded six.py module to 1.16.0 (really tiny
inconsequential changes).
- Make tests working on MacOS again (test_bio_membuf: Use fork)
- Use OpenSSL_version_num() instead of unrealiable parsing of .h
file.
- Mitigate the Bleichenbacher timing attacks in the RSA
decryption API (CVE-2020-25657)
- Add functionality to extract EC key from public key + Update
tests
- Worked around compatibility issues with OpenSSL 3.*
- Support for Twisted has been deprecated (they have their own
SSL support anyway).
- Generate TAP while testing.
- Stop using GitHub for testing.
- Accept a small deviation from time in the testsuite (for
systems with non-standard HZ kernel parameter).
- Use the default BIO.__del__ rather tha overriding in BIO.File
(avoid a memleak).
- Resolve "X509_Name.as_der() method from X509.py -> class
X509_Name caused segmentation fault"
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update-License: Change name from COPYING to LICENSE
No changelog provided. Commit log:
0b05203 (tag: v1.33) bump version to 1.33
45cfe90 Switch to GitHub actions (#144)
33562b0 Update license text to match official 3-clause-BSD (#142)
a76f742 feat(jsondiff): Add support for preserving Unicode characters (#145)
714df3c docs: fix simple typo, raies -> raise (#135)
e0b3a9b Merge pull request #134 from Ventilateur/b/fix-invalid-remove-index
46eef55 remove unused import
db194f8 fix invalid remove index
a652648 Merge pull request #132 from JulienPalard/mdk/TypeError
c9bfb91 FIX: TypeError when one forgot to put its operation in a list.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream states that the build backend is now flit, but inheriting
python_flit_core alone still causes the following error:
| ModuleNotFoundError: No module named 'setuptools'
|
| ERROR Backend 'setuptools.build_meta' is not available.
Instead, inherit python_setuptools_build_meta, which works OK.
Changelog: https://github.com/pallets/werkzeug/blob/main/CHANGES.rst
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The udev file was updated and renamed in 1.1 to 50-snagboot.rules.
Changelog (https://github.com/bootlin/snagboot/releases/tag/v1.1):
- udev: use uaccess tags instead of group assignments
- fix and test i.MX8QM and i.MX93 supports
- homogenize i.MX firmware configuration interfaces
- don't require contributors to modify license headers
- fix README links on PyPI
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project uses poetry now, so inherit python_poetry_core
- Add python3-asyncio and python3-compression to RDEPENDS
Changelog (https://github.com/amoffat/sh/blob/develop/CHANGELOG.md):
2.0.4 - 5/13/22
- Allow ok_code to be used with fg #665
- Make sure new_group never creates a new session #675
2.0.2 / 2.0.3 (misversioned) - 2/13/22
- Performance regression when using a generator with _in #650
- Adding test support for python 3.11
2.0.0 - 2/9/22
- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts #636
- Added basic asyncio support via _async
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as stdin
- RunningCommand.__eq__ no longer has the side effect of executing the command #518
- _tee now supports both "err" and "out" #215
- Removed the builtin override cd link
- Altered process launching model to behave more expectedly #495
- Bugfix where _no_out isn't allowed with _iter="err" #638
- Allow keyword arguments to have a list of values #529
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Update build backend since they use a pyproject.toml file now.
- Add python3-io to RDEPENDS so that the module can be imported.
Changelog (https://github.com/arsenetar/send2trash/releases):
1.8.2
- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, #41, #63)
- win/legacy: tiny logic simplification by @BoboTiG in #77
- TravisCI is not used anymore by @sobolevn in #73
- fix(ci): Update to latest actions, fix python versions by @arsenetar in #78
1.8.1b0
- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, #41, #63)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Update to point at the proper license file with correct checksum.
Previously it was pointing at a subset of a PKG-INFO file, which was
a legacy output from distutils
- Update build backend and include python3-setuptools-scm-native in
DEPENDS
- Modify ptest installation and run-ptest script since the tests have
been moved into their own folder
Changelog: https://github.com/python-semver/python-semver/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The LICENSE file's copyright year was updated, so the checksum changed.
rdflib now uses poetry as the backend, so switch from setuptools3.
Changelog: https://github.com/RDFLib/rdflib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pandas now requires versioneer, so add that to the DEPENDS list. The
LICENSE checksum changed but this was due to line endings and not a
difference in content.
Changelog: https://github.com/pandas-dev/pandas/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to using git and a SRCREV to make sure we can keep the ptests.
Changelog (https://github.com/r1chardj0n3s/parse/releases):
- Add support for sign specifiers in number formats. by @anntzer in #134
- Fix handling of unused alignment by @tomerha in #132
- modern packaging by @wimglenn in #151
- universal wheel by @wimglenn in #155
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This module is required by newer versions of pandas, so add it as a
recipe.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
humanize moved to hatchling as a build backend, so adjust the recipe to
match.
Changelog: https://github.com/python-humanize/humanize/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to python_setuptools_build_meta.
No changelog provided Commit history:
a4643c4 (HEAD -> main, tag: v2.0.2, origin/main, origin/HEAD) Release 2.0.2
87269f0 Remove redundant wheel dep from pyproject.toml
e30d3c4 (tag: v2.0.1) Release 2.0.1
36b348a Require a current version of Python
e189f4b Revert breaking API changes
868e9d0 Format with Black
5f4f424 Strip quotes from string stats
a31ad74 Add __repr__ to Job and Client
ebbb0f2 Improve names of private parsing functions
3ff9ef1 Use phony targets in Makefile
4feaf07 Format with Black
2c9165f Add test for drain mode
5068dc2 Enable strict mode in mypy
383176c Add type hints to integration test decorator
6fb0a48 Polish documentation
e8c5f20 Fix reportUnknownVariableType Pylance warnings
e7ac1da Polish API reference
9a384a8 Remove __slots__ from Job
45c53b4 Polish error handling
4f79e7c Document and type hint Job attributes
0f576a0 Remove sphinx-autodoc-typehints dev dependency
29a5499 Always use bytes for job bodies
3dc6430 Make it clear the requirements are for development
db496d5 Add command for building HTML docs
da73ed0 Fix Sphinx import path
c93efc0 Update link after changing default branch to main
7fc7eef Add PEP 561 py.typed marker file
5174142 Switch to package directory structure
40a9149 Add python_requires
18196e2 Add project_urls
59e3f99 Avoid installing unnecessary dependencies on CI
764f5bf Stop checking code coverage by default
45de080 Remove Codecov integration
1f0baf6 Specify license with license_files
74cad3b Switch to declarative package configuration
9e6aebb Remove unused Flake8 ignore
48cecff Use variable annotation syntax
56387c8 Drop support for Python 3.5
62e4bbf Update CI to only send one coverage report
d168cff Move CI to GitHub Actions
6281716 Add 3.9 to list of supported Python versions
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
flask has migrated to using pyproject.toml, so we need
python_setuptools_build_meta instead of setuptools3.
Changelog: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
execnet requires hatchling and hatch-vcs now, instead of setuptools.
Changelog (https://github.com/pytest-dev/execnet/blob/master/CHANGELOG.rst):
2.0.2 (2023-07-09)
- Re-release without code changes, just to include tox.ini into the source distribution.
2.0.1 (2023-07-08)
- Re-release without code changes, just to include docs and tests into the source distribution.
2.0.0 (2023-07-06)
- Removed support for Python < 3.7.
- Applied pyupgrade --py37-plus.
- Minimal mypy fixes and dropped Python 2 support code.
- Migrated packaging to hatch.
- Dropped deprecated APIs of old makegateway names.
- Removed py testing dependency.
- Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195).
- Fixed error when loading source code files from a path containing non-ascii characters.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
blinker now needs setuptools.build_meta instead of setuptools3.
Changelog (https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst):
Version 1.6.2
Released 2023-04-12
- Type annotations are not evaluated at runtime. typing-extensions is not a runtime dependency. :pr:`94`
Version 1.6.1
Released 2023-04-09
- Ensure that py.typed is present in the distributions (to enable other projects to use blinker's typing).
- Require typing-extensions > 4.2 to ensure it includes ParamSpec. :issue:`90`
Version 1.6
Released 2023-04-02
- Add a muted context manager to temporarily turn off a signal. :pr:`84`
- Allow int senders (alongside existing string senders). :pr:`83`
- Add a send_async method to the Signal to allow signals to send to coroutine receivers. :pr:`76`
- Update and modernise the project structure to match that used by the pallets projects. :pr:`77`
- Add an intial set of type hints for the project.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://github.com/scott-griffiths/bitstring/releases
The LICENSE checksum changed but this is because of a difference in line
endings; the content is the same.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has stopped using setuptools in favor of poetry, so inherit
python_poetry_core instead.
Changelog (https://github.com/ludeeus/awesomeversion/releases/tag/23.5.0):
- Add CI for Python 3.11 by @ludeeus in #191
- Add demo page by @ludeeus in #195
- Add better styles to demo by @ludeeus in #197
- Remove setuptools from dev-dependencies by @ludeeus in #202
- Update demo with compare by @ludeeus in #219
- Add Python 3.12 to CI by @ludeeus in #222
- Add in_range helper method by @ludeeus in #224
- Restructure README contents by @ludeeus in #225
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://docs.djangoproject.com/en/4.2/releases/4.2.3/
Django 4.2.3 fixes a security issue with severity “moderate” and several
bugs in 4.2.2.
CVE-2023-36053: Potential regular expression denial of service
vulnerability in EmailValidator/URLValidator
EmailValidator and URLValidator were subject to potential regular
expression denial of service attack via a very large number of domain
name labels of emails and URLs.
Bugfixes
- Fixed a regression in Django 4.2 that caused incorrect alignment of
timezone warnings for DateField and TimeField in the admin (#34645).
- Fixed a regression in Django 4.2 that caused incorrect highlighting of
rows in the admin changelist view when ModelAdmin.list_editable
contained a BooleanField (#34638).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-release 20.23.1
-Fix the CI
-Quickstart guide
-Updated CLI documentation with config file name
-Exclude dependabot and pre-commit ci from release notes
-Export VIRTUAL_ENV_PROMPT in activation scripts (#2194)
-Upgrade setuptools
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Ensure tox r -e docs generates the documentation
-[pre-commit.ci] pre-commit autoupdate
-Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7
-s/setup.cfg/pyproject.toml/ in the development docs
-Fix hang and zombie process on interrupt (CTRL-C).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed a bug where pymongo would raise a ConfigurationError
-Fixed a minor reference counting bug in the C extension (PYTHON-3798 2).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-unix: Optionally create the opinionated log/ in user_log_dir()
-BSD: provide a fallback for user_runtime_di
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-bpo-44185: :func:'unittest.mock.mock_open' will call the :func:'close' method
of the file handle mock when it is exiting from the context manager.
-gh-94924: :func:'unittest.mock.create_autospec' now properly returns coroutine
functions compatible with :func:'inspect.iscoroutinefunction'
-bpo-17013: Add ThreadingMock to :mod:'unittest.mock' that can be used to create
Mock objects that can wait until they are called.
-bpo-41768: :mod:'unittest.mock' speccing no longer calls class properties.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
----------
-Add preliminary support for Python 3.12, using greenlet 3.0a1.
-Update the bundled c-ares version to 1.19.1.
Bugfixes
------------
-Fix an edge case connecting a non-blocking SSLSocket that could result in an AttributeError.
-Make gevent's FileObjectThread (mostly used on Windows) implement readinto cooperatively.
-Work around an AttributeError during cyclic garbage collection when Python finalizers (__del__ and the like) attempt to use gevent APIs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Restore support for old versions of eventlet #321
Configure eventlet's websocket max frame length #319
Remove old Python 2 syntax in super() calls
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-tests-Fix-test_bytes_args.patch
removed since it's included in 8.1.5
Changelog:
==========
-Fix an issue with type hints for @click.command(), @click.option(), and other decorators. Introduce typing tests.
-Replace all typing.Dict occurrences to typing.MutableMapping for parameter hints. #2255
-Improve type hinting for decorators and give all generic types parameters. #2398
-Fix return value and type signature of shell_completion.add_completion_class function. #2421
-Bash version detection doesn’t fail on Windows. #2461
-Completion works if there is a dot (.) in the program name. #2166
-Improve type annotations for pyright type checker. #2268
-Improve responsiveness of click.clear(). #2284
-Improve command name detection when using Shiv or PEX. #2332
-Avoid showing empty lines if command help text is empty. #2368
-ZSH completion script works when loaded from fpath. #2344.
-EOFError and KeyboardInterrupt tracebacks are not suppressed when standalone_mode is disabled. #2380-@group.command does not fail if the group was created with a custom command_class. #2416
-multiple=True is allowed for flag options again and does not require setting default=(). #2246, #2292, #2295
-Make the decorators returned by @argument() and @option() reusable when the cls parameter is used. #2294
-Don’t fail when writing filenames to streams with strict errors. Replace invalid bytes with the replacement character
-Remove unnecessary attempt to detect MSYS2 environment. #2355
-Remove outdated and unnecessary detection of App Engine environment. #2554
-echo() does not fail when no streams are attached, such as with pythonw on Windows. #2415
-Argument with expose_value=False do not cause completion to fail. #2336
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Changed
---------
Typehint for function from_path no longer enforce PathLike as its first argument
Minor improvement over the global detection reliability
Added
---------
Introduce function is_binary that relies on main capabilities, and optimized to detect binaries
Propagate enable_fallback argument throughout from_bytes, from_path, and from_fp that allow a deeper control over the detection (default True)
Explicit support for Python 3.12
Fixed
-----------
Edge case detection failure where a file would contain 'very-long' camel cased word (Issue #289)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Add a common issue section and document the Bluetooth issue.
Adds support for the Mode 9 PIDS, including VIN and CVN.
Changelog:
===========
Updated pint dependency for compatibility with python >= 3.10
Support for Mode 9 PIDs
Added 1 second read-retry loop for unresponsive dongles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0.21.1
- Output a proper error message when an invalid asyncio_mode is selected.
- Extend warning message about unclosed event loops with additional
possible cause. #531
- Previously, some tests reported "skipped" or "xfailed" as a result.
Now all tests report a "success" result.
0.21.0
- Drop compatibility with pytest 6.1. Pytest-asyncio now depends on
pytest 7.0 or newer.
- pytest-asyncio cleans up any stale event loops when setting up and
tearing down the event_loop fixture. This behavior has been deprecated
and pytest-asyncio emits a DeprecationWarning when tearing down the
event_loop fixture and current event loop has not been closed.
0.18.2 (22-03-03)
- Fix asyncio auto mode not marking static methods. #295
- Fix a compatibility issue with Hypothesis 6.39.0. #302
0.18.1 (22-02-10)
- Fixes a regression that prevented async fixtures from working in
synchronous tests. #286
0.18.0 (22-02-07)
- Raise a warning if @pytest.mark.asyncio is applied to non-async
function. #275
- Support parametrized event_loop fixture. #278
0.17.2 (22-01-17)
- Require typing-extensions on Python<3.8 only. #269
- Fix a regression in tests collection introduced by 0.17.1, the plugin
works fine with non-python tests again. #267
0.17.1 (22-01-16)
- Fixes a bug that prevents async Hypothesis tests from working without
explicit asyncio marker when --asyncio-mode=auto is set. #258
- Fixed a bug that closes the default event loop if the loop doesn't
exist #257
- Added type annotations.
0.17.0 (22-01-13)
- [pytest-asyncio]{.title-ref} no longer alters existing event loop
policies. #168, #188
- Drop support for Python 3.6
- Fixed an issue when pytest-asyncio was used in combination with
[flaky]{.title-ref} or inherited asynchronous Hypothesis tests. #178#231
- Added flaky to test dependencies
- Added unused_udp_port and unused_udp_port_factory fixtures (similar to
unused_tcp_port and unused_tcp_port_factory counterparts. #99
- Added the plugin modes: strict, auto, and legacy. See documentation
for details. #125
- Correctly process KeyboardInterrupt during async fixture setup phase
#219
License-Update: whitespace
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
c5590c5 Switch from GitHub to gitlab
22b0ed7 make pass all mypy type checks
abd15f8 add __weakref__ to inotify and watch
5e57e0b add slots to all classes
f907237 restore support to 3.6
5269b9d improve documentation
2512aa3 Merge branch '16-add-timeout-for-the-sync-version-of-get-sync_get' into 'master'
5beff57 add sync_timeout
c8f8653 fix readthedocs
97056b9 remove package rule
faebfa9 move test after package
a75f116 version bump
6b4921f rework docs
35716a4 rework docs
c51d603 fix test for deprecations
ddd987c switch to pyproject.toml, test against all supported python versions
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bandit wasn't imported properly without the rich module, so add it.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst
Changes for v3.1.1 (2023-06-11)
- Search through asdf shims
- Use ` as escape character in PowerShell (#434)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are numerous changes between 1.10.4 and 1.11.1, including several
bug fixes. Changelog: https://github.com/sqlalchemy/alembic/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Currently we see ptest failures like below
testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-requests-toolbelt_qemux86-64_20230713012809
ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_all
ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_response
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_override_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_with_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_override_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_with_base
These patches from a posted pull upstream fixes them
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch inherit from setuptools3 to python_flit_core
* Correct SUMMARY
* Add DESCRIPTION
* Add python3-argcomplete to RDEPENDS (found with poky/scripts/pythondeps)
https://github.com/neithere/argh/blob/v0.28.1/CHANGES
License-Update: use COPYING.LESSER, change to LGPL-3.0-or-later
NOTE: Includes COPYING which is GPL-3.0 but README clearly states LGPL-3.0-or-later
https://github.com/neithere/argh/blob/v0.28.1/README.rst#licensing
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for sending to a specific addr and port with ServiceInfo.async_request and ServiceInfo.request
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Made issue template have less whitespace
Docs link of env var subs section to set_env
Removed duplicate text in bug report template
Ensure get_requires* hook is called before prepare_metadata*
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Experimental Features
-----------------------
Support JSON.MERGE command (#2761)
Support JSON.MSET command (#2766)
New Features
-------------
Extract abstract async connection class (#2734)
Add support for WAITAOF (#2760)
Introduce OutOfMemoryError exception for Redis write command rejections due to OOM errors (#2778)
Add WITHSCORE argument to ZRANK (#2758)
Add support for sharded pubsub in sync client (#2762)
Bug Fixes
-----------
Fix dead weakref in sentinel connection causing ReferenceError (#2767) (#2771)
Fix Key Error in parse_xinfo_stream (#2788)
Remove unnecessary __del__ handlers (#2755)
Added support for missing argument to SentinelManagedConnection.read_response() (#2756)
Fixed resp3 dict parse response (#2757)
Maintenance
-------------
Fix type hint for retry_on_error in async cluster (#2804)
Clean up documents and fix some redirects (#2801)
Add unit tests for the connect method of all Redis connection classes (#2631)
Docstring formatting fix (#2796)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed deallocating mask images #7246
Added ImageFont.MAX_STRING_LENGTH #7244
Fix Windows build with pyproject.toml #7230
Do not close provided file handles with libtiff #7199
Convert to HSV if mode is HSV in getcolor() #7226
Added alpha_only argument to getbbox() #7123
Prioritise speed in _repr_png_ #7242
Do not use CFFI access by default on PyPy #7236
Limit size even if one dimension is zero in decompression bomb check #7235
Use --config-settings instead of deprecated --global-option #7171
Better C integer definitions #6645
Fixed finding dependencies on Cygwin #7175
Changed grabclipboard() to use PNG instead of JPG compression on macOS #7219
Added in_place argument to ImageOps.exif_transpose() #7092
Fixed calling putpalette() on L and LA images before load() #7187
Fixed saving TIFF multiframe images with LONG8 tag types #7078
Fixed combining single duration across duplicate APNG frames #7146
Remove temporary file when error is raised #7148
Do not use temporary file when grabbing clipboard on Linux #7200
If the clipboard fails to open on Windows, wait and try again #7141
Fixed saving multiple 1 mode frames to GIF #7181
Replaced absolute PIL import with relative import #7173
Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 #7192
Improved wl-paste mimetype handling in ImageGrab #7094
Added _repr_jpeg_() for IPython display_jpeg #7135
Use "/sbin/ldconfig" if ldconfig is not found #7068
Prefer screenshots using XCB over gnome-screenshot #7143
Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions #7151
Support reading signed 8-bit TIFF images #7111
Added width argument to ImageDraw regular_polygon #7132
Support I mode for ImageFilter.BuiltinFilter #7108
Raise error from stderr of Linux ImageGrab.grabclipboard() command #7112
Added unpacker from I;16B to I;16 #7125
Support float font sizes #7107
Use later value for duplicate xref entries in PdfParser #7102
Load before getting size in __getstate__ #7105
Fixed type handling for include and lib directories #7069
Remove deprecations for Pillow 10.0.0 #7059, #7080
Drop support for soon-EOL Python 3.7 #7058
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix compatibility with python 3.7 by vendor loky 3.4.1 which is compatible
with this version. #1472
-Ensure native byte order for memmap arrays in joblib.load. #1353
-Add ability to change default Parallel backend in tests by setting the
JOBLIB_TESTS_DEFAULT_PARALLEL_BACKEND environment variable. #1356
-Fix temporary folder creation in joblib.Parallel on Linux subsystems on
Windows which do have /dev/shm but don't have the os.statvfs function #1353
-Drop runtime dependency on distutils. distutils is going away in Python 3.12
and is deprecated from Python 3.10 onwards.
-A warning is raised when a pickling error occurs during caching operations.
-Avoid (module, name) collisions when caching nested functions.
-Add cache_validation_callback in :meth:'joblib.Memory.cache', to allow custom
cache invalidation based on the metadata of the function call. #1149
-Add a return_as parameter for Parallel, that enables consuming results
asynchronously. #1393, #1458
-Improve the behavior of joblib for n_jobs=1, with simplified tracebacks and
more efficient running time. #1393
-Add the parallel_config context manager to allow for more fine-grained control
over the backend configuration.
-Add items_limit and age_limit in :meth:'joblib.Memory.reduce_size' to make it
easy to limit the number of items and remove items that have not been accessed
for a long time in the cache. #1200
-Deprecate bytes_limit in Memory as this is not automatically enforced, the
limit can be directly passed to :meth:'joblib.Memory.reduce_size' which needs
to be called to actually enforce the limit. #1447
-Vendor loky 3.4.0 which includes various fixes. #1422
-Various updates to the documentation and to benchmarking tools.
-Move project metadata to pyproject.toml. #1382, #1433
-Add more tests to improve python nogil support. #1394, #1395
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
The LICENSE file now explicitly says "GPL-2.0-or-later OR Apache-2.0".
Changelog:
https://github.com/svinota/pyroute2/blob/master/CHANGELOG.rst
Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Tracing without performance (#2136)
Load tracing information from environment (#2176)
Auto-enable HTTPX integration if HTTPX installed (#2177)
Support for SOCKS proxies (#1050)
Wrap parse_url calls in capture_internal_exceptions (#2162)
Run 2.7 tests in CI again (#2181)
Crons: Do not support sub-minute cron intervals (#2172)
Profile: Add function name to profiler frame cache (#2164)
Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165)
Update changelog (#2163)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add pytest.mark.network to test cases
pyproject.toml config for black, isort, and pytest
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add SeekableZstdFile class, it's a subclass of ZstdFile, supports Zstandard Seekable Format.
Add mode argument to ZstdFile.flush() method, now it can flush a zstd frame.
Add read_size and write_size arguments to ZstdFile.__init__() method, can work with Network File Systems better.
Optimize ZstdFile performance to C language level.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Change macOS default configuration dir from ~/Library/Preferences to ~/Library/Application Support
Simplify git command, by letting exceptions go through
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for MongoDB 7.0.
- Added support for Python 3.11.
- Added support for passing a list containing (key, direction) pairs or keys to
create_index().
- Improved bson encoding performance (PYTHON-3717 and PYTHON-3718).
- Improved support for Pyright to improve typing support for IDEs like Visual
Studio Code or Visual Studio.
- Improved support for type-checking with MyPy "strict" mode (-strict).
- Added create_encrypted_collection(), EncryptedCollectionError,
encrypt_expression(), RangeOpts, and RANGEPREVIEW as part of the experimental
Queryable Encryption beta.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix RemoteSlaveContext (#1599)
Change version follow PEP 440. (#1609)
Fix regression with REPL server not listening (#1604)
Fix write function codes (#1598)
Release corrections. (#1586)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- The changelog now only explictly exists in the repository (issue #162)
- Inputs with spaces near adjascent to the extension are now sorted correctly
for os_sorted on Windows (issues #165 and #166)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features
------------
- New out argument to read_direct_chunk() to allow passing the output buffer
- The objects from Dataset.asstr() and Dataset.astype() now implement the
__array__() method (PR 2269). This speeds up access for functions that
support it, such as np.asarray().
- Validate key types when creating groups and attributes, giving better error
messages when invalid types are used (PR 2266).
Bug fixes
----------
- Group.__contains__ and Group.get now use the default link access property
list systematically (PR 2244).
- Removed various calls to the deprecated numpy.product function
- Fix the IPython tab-completion integration in IPython 8.12
- Replacing attributes with AttributeManager.create() now deletes the old
attributes before creating the new one, rather than using a temporary name
and renaming the new attribute (PR 2274).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
From the project description:
Tox aims to automate and standardize testing in Python. It is part of a larger
vision of easing the packaging, testing and release process of Python software
(alongside pytest and devpi).
tox is a generic virtual environment management and test command line tool you
can use for:
- checking your package builds and installs correctly under different
environments (such as different Python implementations, versions or
installation dependencies),
- running your tests in each of the environments with the test tool of choice,
- acting as a frontend to continuous integration servers, greatly reducing
boilerplate and merging CI and shell-based testing.
Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-platformdirs version 3.6.0 requires hatchling build system.
Before this fix it would previously build without issue but throw error when
used in the final image.
Additionally, fixing the ptest which now requires two additional
dependencies.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Don't use PYTHON_PN, order RDEPENDS alphabetically. Replace toml with
tomllib to fix a run-time dependency issue.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package has long been deprecated by upstream maintainers and doesn't
even work in meta-openembedded due to a run-time import error. Remove
the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
While at it: use '+=' for RDEPENDS assignment.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN and fix white spaces.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN, make indentation and line breaks consistent and
order dependencies alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
If we don't want to pull python3-unittest at run-time then we must not
install test packages. This recipe doesn't provide ptest anyway.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN and make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so stop using PYTHON_PN and use python3
explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The native package has the same dependencies. Even if normally they are
satisfied by python3-native, we should still use a global RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
None of these are required at build-time. Remove them.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a
This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).
This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.
This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:
5 (26%) meta-xfce
6 (50%) meta-perl
15 (42%) meta-webserver
21 (36%) meta-gnome
25 (57%) meta-filesystems
26 (43%) meta-initramfs
45 (45%) meta-python
47 (55%) meta-multimedia
312 (63%) meta-networking
756 (61%) meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Reduce overhead to handle queries and responses (#1184) (81126b7)
Speed up answering incoming questions (#1186) (8f37665)
Optimize construction of outgoing dns records (#1182) (fc0341f)
Reduce overhead to enumerate ip addresses in ServiceInfo (#1181) (6a85cbf)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
bugfix: stall on some kinds of error in recv(), PR #56
bugfix: sequence number miscalculation in send(), PR #52
enhancement: callback function added for recv() method, PR #53
bugfix: receiving empty file and stall condition in recv(), PR #50
bugfix: callback is now called for some kinds of errors and some CLI fixes, 8a798e8
bugfix: remove DepreactionWarning for logging.warn(), PR #49
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Meta-schema elements and groups ignore xsi:type attributes (issue #350)
Use the meta-schemas only for validating XSD sources otherwise create dummy schemas
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
--------
Build wheel for Python 3.12 beta (built against 3.12.0b2)
Changed
--------
Drop support for Python 3.7
Fixed
--------
Include BSD-3-Clause and TCL license text
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
C++
------
Regenerate stale files (#13046) (58b6ddb)
Use the same ABI for static and shared libraries on non-Windows platforms (#12983) (efa1ec7)
Objective-C
-----------
Regenerate stale files (#13046) (58b6ddb)
UPB (Python/PHP/Ruby C-Extension)
----------------------------------
Fixed a bug in upb_Map_Delete() that caused crashes in map.delete(k) for Ruby when string-keyed maps were in use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Match ExIf orientation tag behavior to ExIf spec in pillow(#983) (953029b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
---------
Add public API load_credentials_from_dict (#1326) (5467ad7)
Bug Fixes
---------
Expiry in compute_engine.IDTokenCredentials (#1327) (56a6159), closes#1323
Expiry in impersonated_credentials.IDTokenCredentials (#1330) (d1b887c)
Invalid dev version identifiers in setup.py (#1322) (a9b8f12), closes#1321
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Invalid dev version identifiers in setup.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
==========
Add actionable errors for GCE long running operations
Invalid dev version identifiers in setup.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Make a retrocompatible version of 1.4.0 change about supporting VIXIECRON bug.
Added "implement_cron_bug" flag to make the cron parser compatible with a bug in Vixie/ISC Cron
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed introspection for failed assert_has_calls (#365).
Updated type annotations for mocker.patch and mocker.spy (#364).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Add "Copyright (c) 2016-2026 Asif Saif Uddin & contributors." to
license file.
Changelog:
===========
Drop Python 2 support, remove six.
Uses PromptSession() class from prompt_toolkit instead of prompt() function (#63).
Added filter for hidden commands and options (#86).
Added click's autocompletion support (#88).
Added tab-completion for Path and BOOL type arguments (#95).
Added 'expand environmental variables in path' feature (#96).
Delegate command dispatching to the actual group command.
Updated completer class and tests based on new fix#92 (#102).
Python 3.11 support.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The READMEs are often viewed from websites markdown format which is
much as readable as text and yet friendlier in browsers.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a new PEP517 compatible build class for python modules
that use pyproject.toml and this:
[build-system]
build-backend = 'mesonpy'
The new class uses python3-meson-python-native.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This python module adds support for a new PEP517 build backend
used by recent versions of scikit-image, scipy and others.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add logic to avoid error in the case where content-length header does not exist, bug introduced in 1.5.2 (#911)
- Fix wsdump.py script typing, bug introduced in 1.5.2 (#91)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix parse_url (#2161)
Better version parsing in integrations (#2152)
Align HTTP status code as span data field http.response.status_code (#2113)
Do not encode cached value to determine size (#2143)
Fix using unittest.mock whenever available (#1926)
Fix 2.7 common tests (#2145)
Bump actions/stale from 6 to 8 (#1978)
Bump black from 22.12.0 to 23.3.0 (#1984)
Bump mypy from 1.2.0 to 1.3.0 (#2110)
Bump sphinx from 5.3.0 to 7.0.1 (#2112)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
transport fixes and 100% test coverage. (#1580)
Delay self.loop until connect(). (#1579)
Added mechanism to determine if server did not start cleanly (#1539)
Proof transport reconnect works. (#1577)
Fix non-shared block doc in config.rst. (#1573)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed a regression in Django 4.2 that caused an unnecessary DBMS_LOB.SUBSTR()
wrapping in the __isnull and __exact=None lookups for TextField()/BinaryField()
on Oracle (#34544).
- Restored, following a regression in Django 4.2, get_prep_value() call in
JSONField subclasses (#34539).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.defer() when
passing a ManyToManyField or GenericForeignKey reference. While doing so is a
no-op, it was allowed in older version (#34570).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.only() when
passing a reverse OneToOneField reference (#34612).
- Fixed a bug in Django 4.2 where makemigrations --update didn't respect the
--name option (#34568).
- Fixed a performance regression in Django 4.2 when compiling queries without
ordering (#34580).
- Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a
"Congratulations!" page (#34588).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with expressions referencing other aggregates (#34551).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with aggregates referencing subqueries (#34551).
- Fixed a regression in Django 4.2 that caused a crash of querysets on SQLite
when filtering on DecimalField against values outside of the defined range (#34590).
- Fixed a regression in Django 4.2 that caused a serialization crash on a
ManyToManyField without a natural key when its Manager's base QuerySet used select_related() (#34620).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
---------
Add support for vector type (PYTHON-1352)
Cryptography module is now an optional dependency (PYTHON-1351)
Bug Fixes
----------
Store IV along with encrypted text when using column-level encryption (PYTHON-1350)
Create session-specific protocol handlers to contain session-specific CLE policies (PYTHON-1356)
Others
---------
Use Cython for smoke builds (PYTHON-1343)
Don't fail when inserting UDTs with prepared queries with some missing fields (PR 1151)
Convert print statement to function in docs (PR 1157)
Update comment for retry policy (DOC-3278)
Added error handling blog reference (DOC-2813)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The stopit package needs setuptools python module so add it to RDEPENDS.
This fixes:
File "/usr/lib64/python3.9/site-packages/stopit/__init__.py", line 10, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
stopit is a library to raise asynchronous exceptions in other threads, control
the timeout of blocks or callables with two context managers and two decorators.
The license isn't shipped in the pypi package, so it was extracted from the
github repo at [1].
[1] https://github.com/glenfant/stopit/blob/master/LICENSE
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for ninja-syntax - a package that allows to use all
features of python3-ninja.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so switch to using python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-lazy - a package on which python3-msm run-time
depends but which dependency is not satisfied by meta-python.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Order run-time dependencies alphabetically and add some whitespaces for
consistency.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pull in a patch from upstream that addresses an issue with relative
imports.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2, so use python3 explicitly. While at it:
add missing spaces for consistent coding style.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2, so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the package python3-pylyrics run-time depends on but
which was never provided by meta-python.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libproj is already included in the rootfs as it's in recipe's DEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Make indentations consistent and stop using PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add the missing dependency on ctypes and drop libusb1 from RDEPENDS as
it will be already present in the rootfs thanks to being in project's
build-time dependencies.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-qrcode has a run-time dependency on pypng but it's not provided
in meta-python. Add a recipe for it. It has no run-time dependencies
itself.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Don't use PYTHON_PN, order includes alphabetically and fix whitespaces.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: order dependencies alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Put RDEPENDS on separate lines, don't use PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tornado has the testing submodule in __all__ so calling:
from tornado import *
fails if we don't include the ptest package. To fix it: put the testing
module into the main package.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Order RDEPENDS alphabetically and don't use PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Ptest package doesn't need to explicitly depend on the main package.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use 4 spaces instead of tabs and order RDEPENDS alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add the missing run-time dependency on python3-json. As a result we no
longer need to pull python3 native and can drop other *DEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop PYTHON_PN, improve coding-style and order the dependencies
alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fixed typing extensions import in markdown #2979
Added support for tables in Markdown #2977
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
# Git issue 498: Conditional negative lookahead inside positive lookahead fails to match
Conditional node needed an additional member that points to the true branch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Stabilize windows tests. (#1567)
Bump mypy 1.3.0 (#1568)
Transport integrated in async clients. (#1541)
Client async corrections (due to 3.1.2) (#1565)
Server_async[udp], solve 3.1.1 problem. (#1564)
Remove ModbusTcpDiagClient. (#1560)
Remove old method from Python2/3 transition (#1559)
Switch to ruff's version of bandit (#1557)
Allow reading/writing address 0 in the simulator (#1552)
Remove references to "defer_start". (#1548)
Client more robust against faulty response. (#1547)
Fix missing package_data directives for simulator web (#1544)
Fix installation instructions (#1543)
Solve pytest timeout problem. (#1540)
DiagnosticStatus encode missing tuple check. (#1533)
test SparseDataStore. (#1532)
BinaryPayloadBuilder.to_string to BinaryPayloadBuilder.encode (#1526)
Adding flake8-pytest-style` to ruff (#1520)
Simplify version management. (#1522)
pylint and pre-commit autoupdate (#1519)
Add type hint (#1512)
Add action to lock issues/PR. (#1508)
New common transport layer. (#1492)
Solve serial close raise problem.
Remove old config values (#1503)
Document pymodbus.simulator. (#1502)
Refactor REPL server to reduce complexity (#1499)
Don't catch KeyboardInterrupt twice for REPL server (#1498)
Refactor REPL client to reduce complexity (#1489)
pymodbus.server: listen on ID 1 by default (#1496)
Clean framer/__init__.py (#1494)
Duplicate transactions in UDP. (#1486)
clean ProcessIncommingPacket. (#1491)
Enable pyupgrade (U) rules in ruff (#1484)
clean_workflow.yaml solve parameter problem.
Correct wrong import in test. (#1483)
Implement pyflakes-simplify (#1480)
Test case for UDP duplicate msg issue (#1470)
Test of write_coil. (#1479)
Test reuse of client object. (#1475)
Comment about addressing when shared=false (#1474)
Remove old aliases to OSError (#1473)
pymodbus.simulator fixes (#1463)
Fix wrong error message with pymodbus console (#1456)
update modbusrtuframer (#1435)
Server multidrop test.: (#1451)
mypy problem ModbusResponse.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix#292: disuse HTTPResponse.strict
fix: double reading error on urllib3 2.0
Packaging the tests, or not
Add type annotations
Use Python's unittest mock
feat: remove compat module
tests: Support python 3.11
fix: use pytest native method name
Remove use of utcnow
Release 0.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Small speed up to fetch dns addresses from ServiceInfo (#1176) (4deaa6e)
Speed up the service registry (#1174) (360ceb2)
Improve dns cache performance (#1172) (bb496a1)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Drop Python 3.8 compatability following NEP-29.
- Drop NumPy < 1.21 following NEP-29.
- Improved typing experience.
- Migrated fully to pyproject.toml.
- Migrated to ruff.
- In order to make static typing possible as required by mypy
and similar tools, the way to subclass the registry has been
changed.
- Allow non-quantity atol parameters for isclose and allclose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-lru-Use-PyCFunction-instead-of-PyCFunctionWithKeywor.patch
removed since it's included in 1.2.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Use latest skeleton
Update license list to latest ScanCode and SPDX 3.20
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
SPE plugin: Support new SDT-control metadata (#989) (c93536c)
Remove standard images from built package (#988) (6288f19)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix
-------
Fix#60: return a correctly dedented docstring when long docstring are using the D212 or D213 format.
Other
--------
Add support for Python 3.11.
Drop support for Python older than 3.7 in build systems like pytest and tox, while ensuring the library remains production-compatible.
Update GitHub workflow to run in recent Python versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Fix: reverted a change from 6.4.3 that helped Cython, but also increased the
size of data files when using dynamic contexts, as described in the now-fixed
issue 1586. The problem is now avoided due to a recent change (issue 1538).
- Wheels are now provided for CPython 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* The type annotations for SyncToAsync and AsyncToSync have been changed to
more accurately reflect the kind of callables they return.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe that builds snagrecover and snagflash. These tools are
useful for yocto-based distros used to control DUTs in board farms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- The logging info under windows made it look like it looked up the registry
info even when you had a TZ environment, but it doesn't actually do that.
- Improved the handling of loggers.
- Fixed a bug in the new assert_tz_offset method.
- Change how the system offset is calculated to deal with non-DST
temporary changes, such as Ramadan time in Morocco.
- Change the default to only warn when the timezone offset and system
offset disagree (but still not even warn if TZ is set)
- Add the assert_tz_offset() method to the top level for those who want
to explicitly check and fail.
- Removed the deprecation shim.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New: Celery Beat exclude tasks option
New: Add support for ExceptionGroups
Prefer importlib.metadata over pkg_resources if available
Work with a copy of request, vars in the event
Pinned version of dependency that broke the build
Disable Django Cache spans by default.
New: Add loguru integration
Do not truncate request body if request_bodies is "always"
Fixed Celery headers for Beat auto-instrumentation
Add db.operation to Redis and MongoDB spans
Make sure we're importing redis the library
Add include_source_context option
Import Markup from markupsafe
Fix __qualname__ missing attribute in asyncio integration
Remove relay extension from AWS Layer
Add a note about pip freeze to the bug template
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Revert "Moves supported python runtimes from version 3.8 to 3.10"
* Moves supported python runtimes from version 3.8 to 3.10
* Update master for stable/2023.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Add support for new Excel dynamic functions added in 2023.
* Added support for adding a color to the 'invert_if_negative' chart option.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
========
-#907: Avoid remote calls during startup as execnet by default does not ensure
remote affinity with the main thread and might accidentally schedule the
pytest worker into a non-main thread, which breaks numerous frameworks, for
example asyncio, anyio, PyQt/PySide, etc.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Self signed jwt token should be string type
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Migrate module to package.
Migrate documentation to Sphinx.
Improve types and formatting in docstrings.
Add type stubs.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
===========
The ASCWriter now logs the correct channel for error frames (#1578, #1583).
Fix PCAN library detection (#1579, #1580).
On Windows, the first two periodic frames were sent without delay (#1590).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* On Python 3.10 and below, the version of the "typing_extensions" package
is now constrained to be at least version 4 (as we depend on functionality
in that version and above)
* Contextvars are now required for the implementation of Local as Python 3.6
is now no longer a supported version.
* sync_to_async and async_to_sync now pass-through
* Debug and Lifespan State extensions have resulted in a typing change for some
request and response types. This change should be backwards-compatible.
* "asgiref" frames will now be hidden in Django tracebacks by default.
* Raw performance and garbage collection improvements in Local, SyncToAsync,
and AsyncToSync.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the lcov command could raise an IndexError exception if a file is
translated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes issue 1553.
- Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
- Fix: the coverage debug sys command includes some environment variables in its
output. This could have included sensitive data. Those values are now hidden
with asterisks, closing issue 1628.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Issues fixed
------------
antlr4 jar doubled in size in 4.9.3 (unicode, comp:performance)
Go: exponentially bad/absymal performance as of ... (type:bug, target:go)
Go runtime panic (type:bug, target:go)
Improvements, features
------------------------
Update LexerATNSimulator.cs with virtual Consume (type:improvement, target:csharp)
Feature/fixembedding (type:improvement, target:go, comp:performance)
Provide Javascript port of TokenStreamRewriter (type:feature, target:javascript, target:typescript)
License-Update:
Version updated to 4.13.0
"Home-page" changed to "Project-URL: Homepage,"
"Eric Vergnaud" removed from Author
Author-email changed to "Eric Vergnaud <eric.vergnaud@wanadoo.fr>"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix incorrect context handling when a tag is used 2+ levels deeper than it was created.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched since 2018 and doesn't appear to have
any real dependents.
If something similar to pydbus is needed, then a maintained alternative
would be https://github.com/rhinstaller/dasbus (recipe available in
meta-anaconda).
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched upstream for six years and doesn't appear
to be considered "finished".
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of pygobject needs to support gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of python-gstreamer (and so, pygobject) needs to support
gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is one test in the pylint suite involving pickling non-pickleable
plugins that fails on target (but not host). Disable this test for
ptest runs.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This upgrade fixes most of the ptest errors that have been seen with
pylint, which were caused by a tomlkit issue. Changelog (see also
https://github.com/pylint-dev/pylint/releases/tag/v2.17.4):
False Positives Fixed
- Fix a false positive for bad-dunder-name when there is a
user-defined __index__ method. Closes#8613
Other Bug Fixes
- pyreverse: added escaping of vertical bar character in annotation
labels produced by DOT printer to ensure it is not treated as field
separator of record-based nodes. Closes#8603
- Fixed a crash when generating a configuration file:
tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
caused by tomlkit v0.11.8. Closes#8632
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed the threading implementation of servers on Windows.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
#555: Improved progress output when collecting nodes to be less verbose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
--------------
Add support for CLIENT NO-TOUCH (#2745)
Add support for CLUSTER MYSHARDID (#2704)
Add "address_remap" feature to RedisCluster (#2726)
Add WITHSCORES argument to ZREVRANK command (#2725)
Improve error output for master discovery (#2720)
Bug Fixes
----------
Fix XADD: allow non negative maxlen (#2739)
Fix create single connection client from url (#2752)
Optionally disable disconnects in read_response (#2695)
Fix SLOWLOG GET return value (#2732)
Fix potential race condition during disconnection (#2719)
Return response in case of KeyError (#2628)
Fix incorrect usage of once flag in async Sentinel (#2718)
Fix memory leak caused by hiredis in asyncio case (#2694)
Really do not use asyncio's timeout lib before 3.11.2 (#2699)
Maintenance
-----------
Clean PytestUnraisableExceptionWarning from asycio client (#2731)
Add RedisCluster.remap_host_port, Update tests for CWE 404 (#2706)
Updated AWS Elasticache IAM connection example (#2702)
Update CONTRIBUTING guidelines (#2736)
Fix ClusterCommandProtocol type (#2729)
Fix TOPK list example. (#2724)
Improving vector similarity search example (#2661)
Update example of Redisearch creating index (#2703)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add classifier for Python 3.11
Add Algorithm.compute_hash_digest and use it to implement at_hash validation example
fix: use datetime.datetime.timestamp function to have a milliseconds
[pre-commit.ci] pre-commit autoupdate
Custom header configuration in jwk client
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Add PyJWT._{de,en}code_payload hooks
Add sort_headers parameter to api_jwt.encode
Make mypy configuration stricter and improve typing
Bump actions/stale from 6 to 7
[pre-commit.ci] pre-commit autoupdate
Add more types
Differentiate between two errors
Fix _validate_iat validation
Improve error messages when cryptography isn't installed
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Make Algorithm an abstract base class
docs: correct mistake in the changelog about verify param
[pre-commit.ci] pre-commit autoupdate
Bump actions/stale from 7 to 8
[pre-commit.ci] pre-commit autoupdate
Add a timeout for PyJWKClient requests
Add client connection error exception
Add complete types to take all allowed keys into account
[pre-commit.ci] pre-commit autoupdate
Build and upload PyPI package
Fix for issue #862 - ignore invalid keys in a jwks.
Add as_dict option to Algorithm.to_jwk
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add 3.12 support
Add tox.ini to sdist
removing Windows versions
Better handling for UNIX support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Software Identification (SWID) tags provide an extensible XML-based structure
to identify and describe individual software components, patches, and
installation bundles.
CoSWID supports a similar set of semantics and features as SWID tags, as well
as new semantics that allow us to describe additional types of information,
all in a more memory efficient format.
python3-uswid is used to generate the CoSWID data blob. For example, fwupd
project requires CoSWID data to be embedded into firmware binary to hold the
version information.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed Google App Engine support to allow using urllib3 2.0
Ensured the test suite no longer reaches the Internet
Added explicit support for Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improve performance of ServiceBrowser outgoing query scheduler (#1170) (963d022)
Speed up parsing NSEC records (#1169) (06fa94d)
Speed up processing incoming data (#1167) (fbaaf7b)
Speed up decoding dns questions when processing incoming data (#1168) (f927190)
Re-release to rebuild failed wheels (#1165) (4986271)
Reduce cast calls in service browser (#1164) (c0d65ae)
Speed up incoming parser (#1163) (4626399)
Speed up incoming data parser (#1161) (cb4c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
New Features / Improvements
------------------------------
Add constants for potential model object fields (f3f73bc)
DIRECT_MESSAGE_EVENT_FIELDS
DM_EVENT_FIELDS
LIST_FIELDS
MEDIA_FIELDS
PLACE_FIELDS
POLL_FIELDS
PUBLIC_SPACE_FIELDS
SPACE_FIELDS
PUBLIC_TWEET_FIELDS
TWEET_FIELDS
USER_FIELDS
Add creator_id field for Space (a13726a)
Twitter API Backwards-Incompatible Changes
-------------------------------------------
Remove support for streaming with Twitter API v1.1 status/filter endpoint (c8a02eb)
Stream
AsyncStream
Remove support for deprecated Premium v1.1 Search APIs (a955f30)
API.search_30_day
API.search_full_archive
Misc
------
Overhaul Getting Started documentation (addb9f7)
Remove no longer valid Twitter API version badges in README (880e7bf)
Update and improve various documentation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add no_color and force_color parameters to override env vars
Add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: Handle a list of keys (not just a single key) in Django cache spans (#2082)
Add cache.hit and cache.item_size to Django (#2057)
Use http.method instead of method (#2054)
Handle non-int exc.status_code in Starlette (#2075)
Handle SQLAlchemy engine.name being bytes (#2074)
Fix KeyError in capture_checkin if SDK is not initialized (#2073)
Use functools.wrap for ThreadingIntegration patches to fix attributes (#2080)
Pin urllib3 to <2.0.0 for now (#2069)
Do not send monitor_config when unset (#2058)
Add db.system span data (#2040, #2042)
Fix memory leak in profiling (#2049)
Fix crash loop when returning none in before_send (#2045)
Better handling of redis span/breadcrumb data (#2033)
Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037)
Upgraded linting tooling (#2026)
Made code more resilient. (#2031)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed semicolon after 'else' in 'munge_name'.
Fixed pyproject.toml and setup.py.
pyproject.toml was missing.
Added pyproject.toml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Closed issues:
----------------
GeventConnection may now work on Windows #1407
ExchangeType should be from str type #1409
Merged pull requests:
---------------------
Attempt to re-enable GeventConnection on Windows #1417
fix typo #1414
Fix exchange type enum type #1410
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add PEP621/631 support.
- Exposed matplotlib unit formatter (PR #1703)
- Fix error when when re-registering a formatter.
- Add new SI prefixes: ronna-, ronto-, quetta-, quecto-.
- Fix unit check with 'atol' using 'np.allclose' & 'np.isclose'.
- Implementation for numpy.positive added for Quantity.
- Changed frequency to angular frequency in the docs.
- Remove deprecated 'alen' numpy function
- Updated URLs for log and offset unit errors.
- Patched TYPE_CHECKING import regression.
- Parse '°' along with previous text, rather than adding a space,
allowing as a unit.
- Improved escaping of special characters for LaTeX format
- Avoid addition of spurious trailing zeros when converting units and non-int-type is
Decimal (PR #1625).
- Implementation for numpy.delete added for Quantity.
- Fixed Quantity type returned from '__dask_postcompute__'.
- Added Townsend unit
- Fix get_compatible_units() in dynamically added units.
- Fix pint-convert script
- Honor non_int_type when dividing.
- Fix 'trapz', 'dot', and 'cross' to work properly with non-multiplicative units
- Support percent and ppm units. Support the '%' symbol.
- Fix error when parsing subtraction operator followed by white space.
- Removed Td as an alias for denier (within the Textile group)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Get translation changes from CLDR
Add more translations from CLDR
Add Norwegian keyboard layout to keyboards.xml (Resolves: #16)
Add Hang script to Southern Aymara
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Fix
-----
Avoid exception when n_frames is not set by Pillow
Forward get_reader/get_writer kwargs to read/write (#979)
Allow incremental write in pillow (#978)
Add writeable_output=True to pillow plugin to ensure data is writable by default (#976)
Other
-----
Refactor invoke in no-internet CI (#986)
Fixed typo in CI script (#985)
Fix typo in PyPI link tooltip (#980)
Generate images in temporary folders (#977)
Feature
--------
Expose v3 plugins via v2 API (#824)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: html_report() could fail with an AttributeError on isatty if run in an
unusual environment where sys.stdout had been replaced.
- Fix: with relative_files = true, specifying a specific file to include or
omit wouldn't work correctly (issue 1604).
- Fix: the XML report would have an incorrect <source> element when using
relative files and the source option ended with a slash (issue 1541).
- When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser.
- Docs: a new :ref:'Migrating page <migrating>' with details about how to
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Test suite shell wrapper: Accept OSError on exit
- Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420,
#424)
- Note completers can return iterables of strings, not just lists
(#422)
- Documentation and test improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add visitor function for TryStar to AsStringVisitor and add TryStar to astroid.nodes.ALL_NODE_CLASSES.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for client-side encryption (PYTHON-1341)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
feature
----------
Added support for autogenerate comparison of indexes on PostgreSQL which
include SQL sort option, such as ASC or NULLS FIRST.
bug
---------
Fixed issue where using a directive such as op.create_foreign_key() to
create a self-referential constraint on a single table where the same
column were present on both sides (e.g. within a composite foreign key)
would produce an error under SQLAlchemy 2.0 and a warning under SQLAlchemy 1.4
indicating that a duplicate column were being added to a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix regression with truediv and absolute URLs with empty paths causing the raw path to lack the leading /.
License-Update:Update the LICENSE file to contain the license used (Apache-2.0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete more code from __init__.py as we'll never be running from inside
a build tree.
Replace the use of skbuild.setup() with setuptools.setup(): the same
Python module is built and the only value-add is the potential build of
ninja, which we don't want and delete anyway.
This means we can remove most of the DEPENDS and RDEPENDS.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed a deadlock in the threading implementation when closing a connection without reading all messages.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Re-use pre-built wheels in CI for upgrade tests in #702
Make security permissions explicit in GHA template #704
Fix GITHUB_TOKEN variable in GHA template #715
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Send all events to /envelope endpoint when tracing is enabled
Note: If you’re self-hosting Sentry 9, you need to stay in the previous version of the SDK or update your self-hosted to at least 20.6.0
Profiling: Remove profile context from SDK
Profiling: Additionl performance improvements to the profiler
Fix: Celery Beat monitoring without restarting the Beat process
Fix: Using the Codecov uploader instead of deprecated python package
Fix: Support for Quart
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
FIX: Attribute syntax for case insensitive flag optionally allows a space, it does not require one.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix realtime timestamp reporting for line events in gpio-cdev v2 implementation.
Avoid writing direction and inverted on open to retain existing state with sysfs GPIOs
Add support for gpio-cdev v2 ABI.
Add type stubs.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Add useEmailAzp claim for id token iam flow
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Simplify type annotations for XSD datatypes
Full test coverage of sequence type functions with bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add check for range begin/end
restore py2 compat
Do not expose i into global namespace
Fix DOW hash parsing
better error handling on py3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-pandas-1.5.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/1.5.3-r0/pandas/_libs/hashing.c in package python3-pandas-src contains reference to TMPDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-h5py-3.8.0-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/_conv.c in package python3-h5py-src contains reference to TMPDIR
File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/h5fd.c in package python3-h5py-src contains reference to TMPDIR [buildpaths]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python bindings to libgpiod are now available on pypi. The source
package is a limited subset of the original repository. As such the
ptest package now requires the libgpiod-ptest to be available at
run-time (for libgpiosim.so against which the test C extension is
linked).
The problem with installing the C extensions for tests is now fixed so
drop the do_install:append(). We no longer have to pass any additional
CFLAGS to setup.py either.
We update the version of the recipe but the changes only apply to
building and packaging, there are no functional changes to the code.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The gpiod package needs some standard python modules so add them to
RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the provided PV variable when referring to project's version.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Make auto monitoring beat update support Celery 4 and 5
New: Celery Beat auto monitoring
New: gRPC integration
New: gRPC integration
Fix: Do not trim span descriptions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
future release of simplejson. The following fixes were implemented in
one PR: https://github.com/simplejson/simplejson/pull/313
* Fix invalid handling of unicode escape sequences in the pure Python
implementation of the decoder (SJ-PT-23-01)
* Fix missing reference count decrease if PyOS_string_to_double raises
an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
* Backport the integer string length limitation from Python 3.11 to
limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
* Remove unused unichr import from encoder (SJ-PT-23-101)
* Remove unused namedtuple_as_object and tuple_as_array arguments from
simplejson.load (SJ-PT-23-102)
* Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
* Change default of allow_nan from True to False and add allow_nan
to decoder (SJ-PT-23-107)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Wait longer when attempting to play media
Bump black from 23.1.0 to 23.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
==========
Do not create new JWT credentials if they make the same claims as the existing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the :ref:`config_run_sigterm` setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always.
- Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller.
- Development dependencies no longer use hashed pins, closing issue 1592.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* Support more possible usages of "attrs" decorators.
Closespylint-dev/pylint#7884
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[bug] [typing] Fixed various typing issues observed with pyright, including issues
involving the combination of Function and
MigrationContext.begin_transaction().
[bug] [autogenerate] Fixed error raised by alembic when running autogenerate after removing
a function based index.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Use standard licence text and SPDX identifier.
Changelog:
==========
Bug fixes
----------
Restored the C extension in the source distribution.
Backwards-incompatible changes
-------------------------------
The Sans-I/O implementation was moved.
Sans-I/O protocol constructors now use keyword-only arguments.
Closing a connection without an empty close frame is OK.
serve() times out on the opening handshake after 10 seconds by default.
New features
-------------
websockets 10.0 introduces a implementation on top of threading.
Added open_timeout to serve().
Made it possible to close a server without closing existing connections.
Added select_subprotocol to customize negotiation of subprotocols in the Sans-I/O layer.
Improvements
--------------
Added platform-independent wheels.
Improved error handling in broadcast().
Set server_hostname automatically on TLS connections when providing a sock argument to connect().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Alex Clark -> Jeffrey A. Clark (Alex)
Update HPND wording in LICENSE file
Changelog:
==========
Added ImageSourceData to TAGS_V2 #7053
Clear PPM half token after use #7052
Removed absolute path to ldconfig #7044
Support custom comments and PLT markers when saving JPEG2000 images #6903
Load before getting size in __array_interface__ #7034
Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 #7010
Consider transparency when applying APNG blend mask #7018
Round duration when saving animated WebP images #6996
Added reading of JPEG2000 comments #6909
Decrement reference count #7003
Allow libtiff_support_custom_tags to be missing #7020
Improved I;16N support #6834
Added QOI reading #6852
Added saving RGBA images as PDFs #6925
Do not raise an error if os.environ does not contain PATH #6935
Close OleFileIO instance when closing or exiting FPX or MIC #7005
Added __int__ to IFDRational for Python >= 3.11 #6998
Added memoryview support to Dib.frombytes() #6988
Close file pointer copy in the libtiff encoder if still open #6986
Raise an error if ImageDraw co-ordinates are incorrectly ordered #6978
Added "corners" argument to ImageDraw rounded_rectangle() #6954
Added memoryview support to frombytes() #6974
Allow comments in FITS images #6973
Support saving PDF with different X and Y resolutions #6961
Fixed writing int as UNDEFINED tag #6950
Raise an error if EXIF data is too long when saving JPEG #6939
Handle more than one directory returned by pkg-config #6896
Do not retry past formats when loading all formats for the first time #6902
Do not retry specified formats if they failed when opening #6893
Do not unintentionally load TIFF format at first #6892
Stop reading when EPS line becomes too long #6897
Allow writing IFDRational to BYTE tag #6890
Raise ValueError for BoxBlur filter with negative radius #6874
Support arbitrary number of loaded modules on Windows #6761
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Correct "startline=" to "beginline=" in LIC_FILES_CHKSUM so that the
correct lines from crc32c_adler.c are used.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Drop support for Python 3.6.
watchdog is now PEP 561 compatible, and tested with mypy
Fix missing > in FileSystemEvent.__repr__() (#980)
[ci] Lots of improvements
[inotify] Return from InotifyEmitter.queue_events() if not launched when thread is inactive (#963)
[tests] Stability improvements
[utils] Remove handling of threading.Event.isSet spelling (#962)
[watchmedo] Fixed tricks YAML generation (#965)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Updated denylist to include other widely used cookies/headers (#1972)
Forward all sentry- baggage items (#1970)
Update OSS licensing (#1973)
Profiling: Handle non frame types in profiler (#1965)
Tests: Bad arq dependency in tests (#1966)
Better naming (#1962)
New: Implement EventScrubber (#1943)
New: Added new functions_to_trace option for central way of performance instrumentation (#1960)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Improved warnings by ensuring that they target user code and not Typeguard internal code
Fixed warn_on_error() not showing where the type violation actually occurred
Fixed local assignment to *args or **kwargs being type checked incorrectly
Fixed TypeError on check_type(..., None)
Fixed unpacking assignment not working with a starred variable (x, *y = ...) in the target tuple
Fixed variable multi-assignment (a = b = c = ...) being type checked incorrectly
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Disabled repeat guards. They keep causing issues, and it's just simpler to rely on timeouts.
Re-enabled modified repeat guards due to regression in speed caused by excessive backtracking.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Upgrade urgency: SECURITY, contains fixes to security issues.
--------------------------------------------------------------
(CVE-2023-28859) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
(CVE-2023-28858) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
Bug Fixes
-------------
Fixing cancelled async futures (#2666)
Fix: do not use asyncio's timeout lib before 3.11.2 (#2659)
Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument (#2630)
Maintenance
--------------
Minor fixes for #2666 and enhanced async test (#2673)
Fix issue 2660: PytestUnraisableExceptionWarning from asycio client (#2669)
Removing accidentally checked in files (#2642)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix creating schema from model using ConstrainedStr with regex as dict key
Address bug in mypy plugin caused by explicit_package_bases=True
Add implicit defaults in the mypy plugin for Field with no default argument
Fix schema generated for Enum values used as Literals in discriminated unions
Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes
Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Print out reauth plugin error and raise if challenge output is None (#1265) (08d22fe)
Experimental service account iam endpoint flow for id token (#1258) (8ff0de5)
Python: Remove aws url validation (#1254) (20a966b)
Read both applicationId and relyingPartyId. (#1246) (e125dfe)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
https: disable_ssl_certificate_validation caused ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled
build(deps): bump cryptography from 37.0.4 to 38.0.3
Reason from cryptography changelog: Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Features
----------
Add overrides_by_request_protocol to BackendRule in google/api/backend.proto (77376dd)
Add proto_reference_documentation_uri to Publishing in google/api/client.proto (77376dd)
Add SERVICE_NOT_VISIBLE and GCP_SUSPENDED to ErrorReason in google/api/error_reason.proto (77376dd)
Documentation
--------------
Use rst syntax in readme (77376dd)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor XPath function call (context=None only as keyword argument)
Add external function support (issue #60)
Some fixes to string representation and source property of tokens
Extend documentation and tests
Clean XSD datatypes hierarchy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
==============
Improved date parsing for Chinese (#1148)
Improved date parsing for Czech (#1151)
Reorder language by popularity (#1152)
Fix leak of memory in cache (#1140)
Add support for "\d units later" (#1154)
Move modification in CLDR data to yaml (#1153)
Add support to use timezone via settings to get PREFER_DATES_FROM result (#1155)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Restore behavior of setting a Call as a base for classes created using six.with_metaclass(),
and harden support for using enums as metaclasses in this case.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
--------
Add support for execution profiles in execute_concurrent (PR 1122)
Bug Fixes
----------
Handle empty non-final result pages (PR 1110)
Do not re-use stream IDs for in-flight requests (PR 1114)
Asyncore race condition cause logging exception on shutdown (PYTHON-1266)
Others
---------
Fix deprecation warning in query tracing (PR 1103)
Remove mutable default values from some tests (PR 1116)
Remove dependency on unittest2 (PYTHON-1289)
Fix deprecation warnings for asyncio.coroutine annotation in asyncioreactor (PYTTHON-1290)
Fix typos in source files (PR 1126)
HostFilterPolicyInitTest fix for Python 3.11 (PR 1131)
Fix for DontPrepareOnIgnoredHostsTest (PYTHON-1287)
tests.integration.simulacron.test_connection failures (PYTHON-1304)
tests.integration.standard.test_single_interface.py appears to be failing for C* 4.0 (PYTHON-1329)
Authentication tests appear to be failing fraudulently (PYTHON-1328)
PreparedStatementTests.test_fail_if_different_query_id_on_reprepare() failing unexpectedly (PTYHON-1327)
Refactor deprecated unittest aliases for Python 3.11 compatibility (PR 1112)
Deprecations
------------
This release removes support for Python 2.7.x as well as Python 3.5.x and 3.6.x
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Call _default as fallback in zsh global completion hook
Begin support for mapping-emitting completers
activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
Add NOTICE file
Establish long term name for split_line as argcomplete.lexers.split_line
Re-add split_line to API (#419)
Fix zsh default completion issues
Fix zsh autoload issues
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
============
DEP: Minimum PROJ version 9.0 (issue #1223)
WHL: PROJ 9.2 in wheels (pull #1243)
ENH: Add return_back_azimuth: bool to allow compatibility between the azimuth output of the following functions (issue #1163):
fwd and fwd_intermediate, inv and inv_intermediate
ENH: Added only_best kwarg to Transformer.from_crs() (issue #1228)
PERF: Optimize point transformations (pull #1204)
REF: Raise error when CRS.to_wkt(), CRS.to_json(), or CRS.to_proj4() returns None (issue #1036)
CLN: Remove AzumuthalEquidistantConversion & LambertAzumuthalEqualAreaConversion.
AzimuthalEquidistantConversion & LambertAzimuthalEqualAreaConversion should be used instead (pull #1219)
BUG: Fix Derived Projected CRS support (issue #1182)
BUG: Add horizontal_datum_name for geographic CRS in CRS.to_cf() (issue #1251)
BUG: Add datum ensemble support to GeographicCRS (pull #1255)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest RDEPENDS on pytest
* Use python3-unittest-automake-output instead of using sed to reformat
the output use this new module.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"
Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.
* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s
This allows parallel execution of the tests.
The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.
A useful advantage is that the dependencies of each ptest package are
checked/tested individually.
Add to local.conf:
IMAGE_CLASSES += "testimage"
All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image
Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image
You will likely want to limit the number of parallel image tests:
BB_NUMBER_THREADS = "4"
based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.
Results can be summarized with:
$ resulttool report tmp/log/oeqa/testresults.json
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)
* Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests
or other issues with ptest package
The initial list was taken from:
meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
--layer meta-python --inherits ptest --bare | tr '\n' ' ' | \
pcregrep -o1 '^NOTE:.+===(.+)$')
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In betamax fixtures and recorde_modes ptest are failing due to
the deprecation of fixture usage and the httpbin.org service.
Drop these ptests in meta-oe, until there is a suitable solution
to fix this failure.
Validation:
Enable ptest and add python3-betamax into IMAGE_INSTALL
$runqemu ...
$cd /usr/[lib/lib64]/python3-betamax/ptest
$./run-ptest
ALL ptests PASS.
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
import stack_data
ModuleNotFoundError: No module named 'stack_data'
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Build Linux binary wheels for Python 3.11.
Drop support for Python 2.7, 3.5, 3.6.
Fix test deprecation warning on Python 3.11.
Add preliminary support for Python 3.12 as of 3.12a5.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Correct duplicate record entries in windows wheels by updating poetry-core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improved the documentation
Fixed assignment unpacking (a, b = ...) being checked incorrectly
Fixed @typechecked attempting to instrument wrapper decorators such as @contextmanager when applied to a class
Fixed py.typed missing from the wheel when not building from a git checkout
BACKWARD INCOMPATIBLE Dropped the argname, memo, globals and locals arguments from check_type()
BACKWARD INCOMPATIBLE Removed the check_argument_types() and check_return_type() functions (use @typechecked instead)
BACKWARD INCOMPATIBLE Moved install_import_hook to be directly importable from the typeguard module
BACKWARD INCOMPATIBLE Changed the checking of collections (list, set, dict, sequence, mapping) to only check the first item by default.
BACKWARD INCOMPATIBLE Type checking failures now raise typeguard.TypeCheckError instead of TypeError
Dropped Python 3.5 and 3.6 support
Dropped the deprecated profiler hook (TypeChecker)
Added a configuration system
Added support for custom type checking functions
Added support for PEP 604 union types (X | Y) on all Python versions
Added support for generic built-in collection types (list[int] et al) on all Python versions
Added support for checking arbitrary Mapping types
Added support for the Self type
Added support for typing.Never (and typing_extensions.Never)
Added support for Never and NoReturn in argument annotations
Added support for LiteralString
Added support for TypeGuard
Added support for the subclassable Any on Python 3.11 and typing_extensions
Added the possibility to have the import hook instrument all packages
Added the suppress_type_checks() context manager function for temporarily disabling type checks
Much improved error messages showing where the type check failed
Made it possible to apply @typechecked on top of @classmethod / @staticmethod (PR by jacobpbrugh)
Changed check_type() to return the passed value, so it can be used (to an extent) in place of typing.cast(), but with run-time type checking
Replaced custom implementation of is_typeddict() with the implementation from typing_extensions v4.1.0
Emit InstrumentationWarning instead of raising RuntimeError from the pytest plugin if modules in the target package have already been imported
Fixed TypeError when checking against TypedDict when the value has mixed types among the extra keys (PR by biolds)
Fixed incompatibility with typing_extensions v4.1+ on Python 3.10 (PR by David C.)
Fixed checking of Tuple[()] on Python 3.11 and tuple[()] on Python 3.9+
Fixed integers 0 and 1 passing for Literal[False] and Literal[True], respectively
Fixed type checking of annotated variable positional and keyword arguments (*args and **kwargs)
Fixed checks against unittest.Mock and derivatives being done in the wrong place
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Improved the error message when the ZoneInfo cannot be found
- Don't error out because we find multiple possible timezones for
a symlink.
- More stable on Android/Termux with proot
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Made kombu client manager more robust and efficient
Made aio_pika client manager more robust and efficient
Correctly handle emits to multiple rooms in the async server
Expose the ignore_queue option in namespaces
Do not automatically import zmq
TLS/SSL client documentation
Removed incorrect reference to multiple callback invocations in documentation
Fix documentation typos
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use current master version of rapidjson
Produce ppc64le wheels, thanks to mgiessing (PR #170)
Use cibuildwheel 2.21.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Changes
--------
- Bump version.
- Include event reports by default in feed.
- Bump deps.
- Add greynoise-ip object.
Fix
----
- Use proper parameter to trigger the request in search_galaxy_clusters.
- Use POST in search galaxy cluster.
Other
------
- Rename include_event_reports kwarg to with_event_reports, in-line with
other kwarg naming.
- Add kwarg to allow the inclusion of event reports into to_feed(),
honour with_distribution and valid_distributions kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
displaymode: Update description to describe behavior
network: Move new options to Fedora 39
Add conflict test between ostree sources
Fix missing seen check for output generation
Add new ostreecontainer command
Check the conflicting commands automatically
Fix tests for conflicting commands
Add conflicting commands support
Fix handling of package section arguments in older versions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow configuring underlying websocket connection with custom options
Cancel all running tasks in async SIGINT handler
Handle unexpected WebSocket close frames sent by server
Close aiohttp session after a failed connection
Catch IOErrors from uWSGI and explicitly close the driver
Recommend ASGI integration for Sanic in Documentation
Fix documentation for max_http_buffer_size
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bugs Fixed:
* Migrate to use the explicitly-maintained 'packaging' library.
The package bundled in 'setuptools.extern.packaging' is to help make that
package self-contained, but is not a supported API.
* Declare dependency on Setuptools >= 62.4.0.
This is necessary for establishing the version information via Setuptools. We
use 'setuptools.command.build', 'introduced in Setuptools version 62.4.0
* Refactor calculation of file descriptor ranges to close.
Added:
* Document a 'ServiceRunner' class as an example of using 'DaemonContext'.
* PyPA recommended Project URLs for the distribution.
Changed:
* Raise a TypeError if any 'exclude' values are not valid file descriptors.
* Migrate package version handling to use Setuptools API.
Removed:
* Remove redundant 'wheel' from the requirements specification.
* Remove Setuptools 'test' command support.
* Remove Setuptools 'register' and 'upload' command support.
* Remove the obsolete 'runner' module.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect,
but has now been fixed: only the specified packages will be measured.
- Fix: the coverage lcov command could create a .lcov file with incorrect
LF (lines found) and LH (lines hit) totals.
- Fix: the coverage xml command on Windows could create a .xml file with
duplicate <package> elements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fully support zsh. Argcomplete now supports completion descriptions and global completion in zsh.
Clean up top level namespace.
Documentation and test improvements.
Test infrastructure improvements
Indicate that there is no support commitment for fish and tcsh shells
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update library name in license
Changelog:
==========
Add Support for Python 3.11.x minor revisions
Support for Python versions 3.7-3.11 (Python 2 no longer supported)
Primary development branch renamed from master to main
Handle all real numbers as coordinates
Default precision improvements
CI improvements
utf-8 support added to geojson.dumps()
Polygons now constrained to bounding box
Better GeometryCollection handling in util.coords()
Improved point validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: delete empty line at the end of the file.
Changelog:
==========
add missing server.start(). (#1443)
Don't publish univeral (Python2 / Python 3) wheels (#1423)
Remove unneccesary custom LOG_LEVEL check (#1424)
Include py.typed in package (#1422)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-requests-toolbelt is upgraded
to 0.10.1.
=======================================================
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.11/importlib/{}init{}.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_x509_adapter.py:20: in <module>
import trustme
E ModuleNotFoundError: No module named 'trustme'
=======================================================
The commit b93b4067ea "Fix x509 tests by using trustme" of
python3-requests-toolbelt introduces the trustme in test_x509_adapter.py.
Introducing python3-trustme to fix ptest error of python3-requests-toolbelt,
also introducing python3-service-identity, which is requested by python3-trustme's
ptest.
The ptest passes of all the three packages.
Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python3 click-repl package requires prompt-toolkit to be installed.
Add the missing RDEPENDS to the recipe.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add value <-> registers converter helpers. (#1413)
Add pre-commit config (#1406)
Make baud rate configurable for examples (#1410)
Clean __init_ and update log module. (#1411)
Simulator add calls functionality. (#1390)
Add note about not being thread safe. (#1404)
Update docker-publish.yml
Forward retry_on_empty and retries by calling transaction (#1401)
serial sync recv interval (#1389)
Add tests for writing multiple writes with a single value (#1402)
Enable mypy in CI (#1388)
Limit use of Singleton. (#1397)
Cleanup interfaces (#1396)
Add request names. (#1391)
Simulator, register look and feel. (#1387)
Fix enum for REPL server (#1384)
Remove unneeded attribute (#1383)
Fix mypy errors in reactive server (#1381)
remove nosec (#1379)
Fix type hints for http_server (#1369)
Merge pull request #1380 from pymodbus-dev/requirements
remove second client instance in async mode. (#1367)
Pin setuptools to prevent breakage with Version including "X" (#1373)
Lint and type hints for REPL (#1364)
Clean mixin execute (#1366)
Remove unused setup_commands.py. (#1362)
Run black on top-level files and /doc (#1361)
repl config path (#1359)
Fix NoReponse -> NoResponse (#1358)
Make whole main async. (#1355)
Fix more typing issues (#1351)
Test sync task (#1341)
Fixed text in ModbusClientMixin's writes (#1352)
lint /doc (#1345)
Remove unused linters (#1344)
Allow log level as string or integer. (#1343)
Sync serial, clean recv. (#1340)
Test server task, async completed (#1318)
main() should be sync (#1339)
Bug: Fixed caused by passing wrong arg (#1336)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Implement logic to support creating validators from non standard callables by
using defaults to identify them and unwrapping functools.partial and
functools.partialmethod when checking the signature
- Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses
- Raise ValidationError, not ConfigError, when a discriminator value is unhashable
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-[Feature] #2173: Accept single tabs as field separators (in addition to single
spaces) in <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
OpenSSH’s KnownHosts parser.
-[Feature] #2013: (solving #2009, plus others) Add an explicit channel_timeout
keyword argument to paramiko.client.SSHClient.connect, allowing users to
configure the previously-hardcoded default value of 3600 seconds.
-[Support] #2178: Apply codespell to the codebase, which found a lot of very old
minor spelling mistakes in docstrings. Also modernize many instances of
*largs vs *args and **kwarg vs **kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
------
An AbstractDiscreteInterval class to ease the creation of specialized discrete intervals (experimental).
A create_api function to generate an API similar to the one of portion but configured to use a given subclass of Interval (experimental, see Specialize & customize intervals).
Changed
-------
Speed up repr and to_string for Interval instances (see #76, adm271828).
Some internal changes to ease subclassing:
from_string and from_data accepts a klass parameter to specify which class should be used to create Interval instances (default is Interval).
Add a klass parameter for open, closed, openclosed, closedopen, singleton and empty (default is Interval).
Add a _klass class attribute in IntervalDict to specify how to create Interval instances (default is Interval).
IntervalDict uses self.__class__ to preserve subclasses when creating new instances.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
Breaking changes:
------------------
Remove not allowed attributes function-rate, functions-covered and functions-valid from cobertura report. (:issue:'671')
Remove "noncode" entries in JSON reports. (:issue:'663')
New :option:'--exclude-noncode-lines' to exclude noncode lines. Noncode lines are not excluded by default anymore. (:issue:'704', :issue:'705')
Changed :option:'--gcov-ignore-parse-errors' to accept list of errors to ignore. (:issue:'701')
The default filename for :option:'--cobertura' is changed from coverage.xml to cobertura.xml (:issue:'721')
Handling of gcov errors:
Do not ignore return code of gcov. (:issue:'653')
New :option:'--gcov-ignore-errors' to ignore gcov errors. Old behavior was to print a warning and continue. (:issue:'718')
Revert changes from :issue:'623' and add documentation entry :ref:'support keil uvision format'. (:issue:'727')
New features and notable changes:
---------------------------------
New :option:'--html-nested' for reports that summarize subdirectories with aggregated statistics per directory. (:issue:'687')
Accept NAN % which is used in GCOV 7.5.0 instead of an invalid value. (:issue:'651')
New :option:'--json-base' to define a base bath used in JSON reports. (:issue:'656')
New :option:'--calls' to report call coverage: function calls invoked/total (:issue:'666')
New nox session to generate a portable application with pyinstaller, see :ref:'standalone application'. (:issue:'661')
Print a warning if root directory contains symlinks. (:issue:'652')
Change :option:'--keep' when calling gcov internaly. (:issue:'703')
Allow annotations for never executed branches. (:issue:'711')
Add function merge mode for same function defined in different lines. (:issue:'700')
Update link to gcovr documentation in HTML report to point to the documentation of the used version. (:issue:'723')
Add environment SOURCE_DATE_EPOCH to set default for :option:'--timestamp'. (:issue:'729')
Bug fixes and small improvements:
--------------------------------
Fix :option:'--html-tab-size' feature. (:issue:'650')
Fix alphabetical sort of html report, for when there are symlinks. (:issue:'685')
Handle :option:'--version' before parsing the configuration file. (:issue:'696')
Fix reports of excluded coverage. (:issue:'409', :issue:'503', :issue:'663')
Fix handling for nonexistent source code for HTML-details and Coveralls reports. (:issue:'663')
Exclude functions with :ref:'Exclusion markers'. (:issue:'713')
Fix problem in decision parser if open block brace is on same line. (:issue:'681')
Add Python 3.11 to test matrix. (:issue:'717')
Fix casing of files if filesystem is case insensitive. (:issue:'694')
Fix deadlock if :option:'-j' is used and there are errors from gcov execution. (:issue:'719')
Fix problem in decision parser if case is not on a single line with the break statement. (:issue:'738')
Do not use realpath for DirectoryPrefixFilter to support symlinks in root directory. (:issue:'712')
Documentation:
-------------
Add detailed reference for the JSON output format. (:issue:'663')
Internal changes:
-----------------
Select the :option:'--html-theme' using CSS classes. (:issue:'650')
Change and extend cmake tests. (:issue:'676')
Detect gcc version for running tests. (:issue:'686')
Use scrubbed data for --update_reference option. (:issue:'698')
Install ninja with package manager instead of GitHub action. (:issue:'699')
Rename the reference files coverage.xml to cobertura.xml and the test from xml to cobertura (:issue:'721')
Add support for clang-14 in our test suite and improve startup performance of docker image. (:issue:'731')
Compare files by extension in test suite. (:issue:'733')
Split HTML templates into one file for each part of the page. (:issue:'735')
Change docker image to be able to use it like the nox command itself. (:issue:'734')
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import cmake".
Only build and ship the python parts, and don't download and
build cmake from sources. Use the already built cmake instead.
The CMakeLists.txt file is a crippled copy from this cmake
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so cmake is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import ninja".
Only build and ship the python parts, and don't download and
build ninja from sources. Use the already built ninja instead.
The CMakeLists.txt file is a crippled copy from this ninja
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so ninja is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Documentation and test improvements
Remove scripts for contrib-supported shells from global namespace
setup.py: exclude test.* subpackages from find_packages (#406)
Support PowerShell (#405)
CI updates
Revert "Support powershell (#392)"
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Support powershell (#392)
Update importlib-metadata dependency to include versions 5.x (#389)
Test and documentation improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added
-----
Argument should_rename_legacy for legacy function detect and disregard any new arguments without errors (PR #262)
Removed
-------
Support for Python 3.6 (PR #260)
Changed
-------
Optional speedup provided by mypy/c 1.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-pyproject.toml-Replace-with.patch
removed since it's included in 2.15.0
Changelog:
==========
* astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11.
* "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the
"Formattedvalue" class.
* "Astroid" now supports custom import hooks.
* "astroid" now infers return values from match cases.
* "AstroidManager.clear_cache" now also clears the inference context cache.
* "Astroid" now retrieves the default values of keyword only arguments and sets them on
"Arguments.kw_defaults".
* "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating
code that uses this singleton.
* Deprecate "modutils.is_standard_module()". It will be removed in the next minor release.
Functionality has been replaced by two new functions,
"modutils.is_stdlib_module()" and "modutils.module_in_path()".
* Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
[bug] [ops] Fixed regression where Alembic would not run with older SQLAlchemy 1.3
versions prior to 1.3.24 due to a missing symbol. Workarounds have been
applied for older 1.3 versions.
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:
===========
Security issues:
----------------
* Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063)
Features:
----------
* Added quadsubdiv() for numerical integration with adaptive path splitting
* Added the Cohen algorithm for inverse Laplace transforms
* Some speedup of matrix multiplication
* Optimizations to Carlson elliptic integrals
* Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle()
sigmoidw())
Bug fixes:
----------
* Correct mpf initialization from tuple for finf and fninf
* Support QR decomposition for matrices of width 0 and 1
* Fixed some cases where elliprj() gave inaccurate results
* Fixed cases where digamma() hangs for complex input
* Fixed cases of polylog() with integer-valued parameter with complex type
* Fixed fp.nsum() with Euler-Maclaurin algorithm
Maintenance:
------------
* Dropped support for Python 3.4
* Documentation cleanup
* Removed obsolete files
* Added options to runtests.py to skip tests and exit on failure
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Rich is a Python library for rich text and beautiful formatting in the
terminal.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
-----
- [doc] added the Jupyter notebook used in a.7-rest-api-extensive-
restsearch.
Fix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Run black on the entire source code
Bundle the requirements-tests.txt file in the source distribution (#939)
[watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (#949)
[watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fix incorrect behaviour of __or__ and __ior__, see #8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
=======
Broken test on FreeBSD due to a broken locale.strxfrm. This change has no effect outside fixing tests (issue #161)
Added
=========
The PRESORT option to the ns enum to attain consistent sort order in certain corner cases (issue #149)
Logic to ensure None and NaN are sorted in a consistent order (issue #149)
Explict Python 3.11 support
Changed
========
Only convert to str if necessary in os_sorted (@Dobatymo, issues #157 and #158)
Attempt to use new fastnumbers functionality if available
Move non-API documentation to the GitHub wiki
Removed
========
Support for EOL Python 3.6
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Feature
=========
Collection of small improvements to pyav (#939) (b0dc210)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Call gcloud config get project to get project for user cred (#1243) (c078a13)
Do not use hardcoded string 'python', when you mean sys.executable. (#1233) (91ac8e6)
Don't retry if error or error_description is not string (#1241) (e2d263a)
Improve ADC related errors and warnings (#1237) (2dfa213)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Performance improvements, especially with the haversine_vector function #65 by jobh
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
--------
Added the map option to all try_* functions to enable very fast conversions of lists or other iterables (issues #61, #63 and #67)
Added try_array to enable very fast conversions directly to numpy arrays (issues #62 and #65)
Changed
---------
Move to a model where the return code is a value or error instead of a model where one has to check the error state after getting a value (issue #66)
Significantly simplified the type annotations (by 4000+ lines!)
Fixed
-------
Increased code coverage and fixed missing headers in codecov reaport (issue #64)
Add back missing key option in type hints for deprecated fast_* functions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add missing LONG_PRESS enum member for button events (#190)
Mark auto_dynamic attribute optional on scene resource (#189)
Fixes for some small schema parse errors (#188)
Make active_timeslot optional in smart_scene model (#177)
Add util methods for backwards compatibility in Scenes controller (#176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise KeyError when key is not found in ini repositories
Fix infinite recursion on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix: the PyPI page had broken links to documentation pages, but no longer does, closing issue 1566.
Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing issue 1564.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The final libgpiod v2.0 release is out so update the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove deprecated 'setuptools-markdown' dependency
(https://github.com/ethereum/eth-keyfile/pull/37)
- Use twine to upload package to pypi
0001-setup-don-t-use-setuptools-markdown.patch
removed since it's not available in 0.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a new setting "[report] exclude_also" to let you add more exclusions
without overwriting the defaults. Thanks, 'Alpha Chen <pull 1557_>'_,
closing 'issue 1391_'.
- Added a :meth:'.CoverageData.purge_files' method to remove recorded data for
a particular file. Contributed by 'Stephan Deibel <pull 1547_>'_.
- Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
- Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the "data_file" and "config_file" arguments to
the Coverage constructor and the "basename" argument to CoverageData.
Closes 'issue 1552'_.
- Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
'Russell Keith-Magee <pull 1543_>'_, closing 'issue 1542'_.
- Added a "py.typed" file to announce our type-hintedness. Thanks,
'KotlinIsland <pull 1550_>'_.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix:
Hold a strong reference to the query sender start task (#1128) (808c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Ensure that URL rules using path converters will redirect with strict slashes
when the trailing slash is missing. #2533
- Type signature for get_json specifies that return type is not optional when
silent=False. #2508
- parse_content_range_header returns None for a value like bytes */-1 where the
length is invalid, instead of raising an AssertionError. #2531
- Address remaining ResourceWarning related to the socket used by run_simple.
Remove prepare_socket, which now happens when creating the server. #2421
- Update pre-existing headers for multipart/form-data requests with the test
client. #2549
- Fix handling of header extended parameters such that they are no longer
quoted. #2529
- LimitedStream.read works correctly when wrapping a stream that may not return
the requested size in one read call. #2558
- A cookie header that starts with = is treated as an empty key and discarded,
rather than stripping the leading ==.
- Specify a maximum number of multipart parts, default 1000, after which a
RequestEntityTooLarge exception is raised on parsing. This mitigates a DoS
attack where a larger number of form/file parts would result in
disproportionate resource use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired
[watchmedo] Add optional event debouncing for auto-restart, only restarting once
if many events happen in quick succession (--debounce-interval) (#940)
[watchmedo] Exit gracefully on KeyboardInterrupt exception (Ctrl+C) (#945)
[watchmedo] Add option to not auto-restart the command after it exits
(--no-restart-on-command-exit) (#946)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Better handling of empty strings passed as input.
Fix the shift safe number issue from 0.9.12
More minor pylint / etc fixes / cleanups (general code quality)
separate .parse from #115
Allow setting up completely empty {} operators / functions ( #75 via #123 )
Add extra bit-ops from #87
Add @daxamin to contributors ?
Version bump stuff.
other readme tweaks
star expressions, eg x = {"a": 1, "b": 2, **c}
no-build.patch
removed since it's included in 0.9.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified
languages, e.g. lang="", but not lang=und.
NEW: Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup
Sieve supports "forgiving" which is limited to empty selectors).
NEW: Formally drop Python 3.6.
NEW: Formally declare support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improved Documentation
----------------------
- #863: Document limitations for debugging due to standard I/O of workers not
being forwarded. Also, mention remote debugging as a possible workaround.
Features
----------
- #855: Users can now configure load scheduling precision using --maxschedchunk
command line option.
- #858: New worksteal scheduler, based on the idea of work stealing. It's
similar to load scheduler, but it should handle tests with significantly
differing duration better, and, at the same time, it should provide similar
or better reuse of fixtures.
Trivial Changes
---------------
- #870: Make the tests pass even when $PYTEST_XDIST_AUTO_NUM_WORKERS is set.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Relaxed dependency requirements (#77).
Dropped support for Python 3.6.
Added official support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fix broken parametrized bases handling with GenericModels with complex sets of models
Invalidate mypy cache if plugin config changes
Fix RecursionError when deep-copying dataclass types wrapped by pydantic
Fix X | Y union syntax breaking GenericModel
Switch coverage badge to show coverage for this branch/release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Remove the auth and authconfig commands
The parse method is expected to return a value
tests: unittest isn't used in handle_unicode anymore
Add RHEL 9 handler
Resolves: rhbz#1966730
Add RHEL 9 version for commands that had a RHEL version in the past
Add RHEL 9 version for BTRFS related commands
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
========
#1881 DocumentProperties times set by module import only
#1947 Worksheet-specific definitions are missing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
----
Format hint test doesn't need to establish a connection (#941) (b7a0f35)
Other
------
Don't build pdfs on RTD (#944) (d200673)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improves propagation of errors in task results and includes fix for newer versions of pip.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Autoescape is enabled by default for ".svg" template files. :issue:'4831'
-Fix the type of "template_folder" to accept "pathlib.Path". :issue:'4892'
-Add "--debug" option to the "flask run" command. :issue:'4777'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fixes a security issue with severity "moderate" (CVE-2023-24580)
Fixed a bug in Django 4.1 that caused a crash of model validation on ValidationError with no code (#34319).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* fix popcount64 name conflict on NetBSD, #189
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also #188
* allow running `python setup.py test`
* add official Python 3.12 support
* simplify count functionality in util module
* retire `bitcount_lookup[256]` table
* improve `util.count_n()` error messages
* avoid `util` module tests from being run more than once in each
call to `bitarray.test()` when called multiple times in the same
Python process, see #6e52e49a
* improve testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Text encoding and errors to compile().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
'_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[bug] [mssql] Ongoing fixes for SQL Server server default comparisons under autogenerate,
adjusting for SQL Server's collapsing of whitespace between SQL function
arguments when reporting on a function-based server default, as well as its
arbitrary addition of parenthesis within arguments; the approach has now
been made more aggressive by stripping the two default strings to compare
of all whitespace, parenthesis, and quoting characters.
References: #1177
[bug] [postgresql] Fixed PostgreSQL server default comparison to handle SQL expressions
sent as text() constructs, such as text("substring('name', 1, 3)"),
which previously would raise errors when attempting to run a server-based
comparison.
[bug] [autogenerate] Removed a mis-use of the
EnvironmentContext.configure.render_item callable where the
"server_default" renderer would be erroneously used within the server
default comparison process, which is working against SQL expressions, not
Python code.
References: #1180
[bug] [commands] Fixed regression introduced in 1.7.0 where the "config" object passed to
the template context when running the merge() command
programmatically failed to be correctly populated. Pull request courtesy
Brendan Gann.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed incorrectly overwriting cookies with the same name and domain, but different path.
Fixed ConnectionResetError not being raised after client disconnection in SSL environments.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ptest results:
====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ======
for qemux86-64 with 2 GB RAM which is the same as seen on master.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Includes bugfix from v234 which won't run on python3.10
See: https://github.com/systemd/python-systemd/issues/107
Removes patches now no longer required as they are implemented in v235
drop setting md5 checksum for src_uri as it is no longer needed
rename patch directory to match recipe name as python2 version of recipe
is gone
V235 released to PyPI on 11 Feb 23
https://pypi.org/project/systemd-python/235/
Signed-off-by: Samuel Cook <samuel.cook@cornelisnetworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for libgpiod v2 python bindings. This is a release
candidate but once the proper v2.0 is released, it will be made public
on pypi and the recipe modified accordingly.
As libgpiod python bindings now use setuptools and not make, we can
separate the recipe from the rest of the library.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python-daemon was part of meta-python2 this has now been updated to
python3 and v2.3.2
Signed-off-by: Bhargav Das <bhargav_das@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix mixed content extension without explicit mixed attribute (issue #334)
Refine string serialization of XML resources and data elements
Switch to use elementpath v4
Fix sequence_type property for XSD types
Remove XsdElement.get_attribute(): unused and doesn't work as expected
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix for "autofit()" exception when user defined column width was "None".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix logic bug that can cause disconnects (#893)
- Refactor and improve ping/pong logic to resolve several issues, including
an infinite loop issue during reconnect (#862)
- Fix issue where `skip_utf8_validation = True` is ignored (#886)
- Fix issue where sslopt `is_ssl` is ignored (#875)
- Downgrade "websocket connected" message from logging.warning to logging.info (#888)
- Update github actions to newer versions (669fe1b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
sql
------
- Fixed critical regression in SQL expression formulation in the 2.0 series due
to #7744 which improved support for SQL expressions that contained many
elements against the same operator repeatedly; parenthesis grouping would be
lost with expression elements beyond the first two elements.
typing
-------
Remove typing.Self workaround, now using PEP 673 for most methods that return
Self.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Polishing argcomplete support #829
Test that name and description can be set via constructor. #826
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix regression in sdist archive
* Distribute a pure python wheel for Pyodide
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Drop cythonization by default, to avoid installation issues for users with
Cython installed but no C++ compiler. Cythonization needs to be requested
explictly now, using pip install --upgrade reedsolo
--install-option="--cythonize" --verbose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Allow pypng factory to allow for saving to a string
(like qr.save("some_file.png")) in addition to file-like objects.
- Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to
mattiasj-axis!
- Restructure the factory drawers, allowing different shapes in SVG image
factories as well.
- Add a --factory-drawer option to the qr console script.
- Optimize the output for the SVGPathImage factory (more than 30% reduction in
file sizes).
- Add a pypng image factory as a pure Python PNG solution. If pillow is not
installed, then this becomes the default factory.
- The pymaging image factory has been removed, but its factory shortcut and the
actual PymagingImage factory class now just link to the PyPNGImage factory.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Various fixes & improvements
=============================
New: Add Huey Integration
Profiling: Do not send single sample profiles (#1879)
Profiling: Add additional test coverage for profiler (#1877)
Profiling: Always use builtin time.sleep (#1869)
Profiling: Defaul in_app decision to None (#1855)
Profiling: Remove use of threading.Event (#1864)
Profiling: Enable profiling on all transactions (#1797)
FastAPI: Fix check for Starlette in FastAPI integration (#1868)
Flask: Do not overwrite default for username with email address in FlaskIntegration (#1873)
Tests: Add py3.11 to test-common (#1871)
Fix: Don't log whole event in before_send / event_processor drops (#1863)
Add before_send_transaction (#1840)
Django: Always remove values of Django session related cookies. (#1842)
Profiling: Enable profiling for ASGI frameworks (#1824)
Profiling: Better gevent support (#1822)
Profiling: Use co_qualname in python 3.11 (#1831)
OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#1847)
OpenTelemetry: fix extra dependency (#1825)
OpenTelemetry: fix NoOpSpan updates scope (#1834)
OpenTelemetry: Make sure to noop when there is no DSN (#1852)
FastAPI: Fix middleware being patched multiple times (#1841)
Starlette: Avoid import of pkg_resource with Starlette integration (#1836)
Removed code coverage target (#1862)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add codespell to pre-commit config
Allow venv_install in config file
Avoid problematic tox 4.0 and 4.1
Update macos instances on Cirrus CI
Replace deprecated set-output
Update CI templates
Add comments about building sdist in tox.ini and FAQ
Update Python version in Read The Docs configuration
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-support-authentication-for-kickstart.patch
0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch
0004-load.py-retry-to-invoke-request-with-timeout.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Solve log problem in payload.
Fix register type check for size bigger than 3 registers (6 bytes) (#1323)
Re-add SQL tests. (#1329)
Central logging. (#1324)
Skip sqlAlchemy test. (#1325)
Solve 1319 (#1320)
Update README.rst
Correct README link. (#1316)
More direct readme links for REPL (#1314)
Add classifier for 3.11 (#1312)
Update README.rst (#1313)
Delete ModbusCommonBlock.png (#1311)
Add modbus standard to README. (#1308)
fix no auto reconnect after close/connect in TCPclient (#1298)
Update examples.rst (#1307)
var name clarification (#1304)
Bump external libraries. (#1302)
Reorganize documentation to make it easier accessible (#1299)
Simulator documentation (first version). (#1296)
Updated datastore Simulator. (#1255)
Update links to pydmodbus-dev (#1291)
Change riptideio to pymodbus-dev. (#1292)
#1258 Avoid showing unit as a seperate command line argument (#1288)
Solve docker cache problem. (#1287)
add missing server.start() (#1282)
small performance improvement on debug log (#1279)
Fix Unix sockets parsing (#1281)
client: Allow unix domain socket. (#1274)
transfer timeout to protocol object. (#1275)
Add ModbusUnixServer / StartAsyncUnixServer. (#1273)
Added return in AsyncModbusSerialClient.connect (#1271)
add connect() to the very first example (#1270)
Solve docker problem. (#1268)
Test stop of server task. (#1256)
Thanks to:
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix
========
- Set relationship_type default in MISPTag to empty string.
- Another typo in readme.
- Typo in readme.
- Update whl files.
- Nvm, readthedocs requires python 3.8 at most.
New
======
- Add relationship_type in Tag entries for feeds.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changed
=======
Speed up lookups in IntervalDict for non-interval keys.
Speed up iterate by no longer creating singleton instances under the hood.
Drop official support for Python 3.6.
Fixed
=====
Infinite recursion when a subclass of an Interval is compared using > with an Interval instance (see #75).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bubfix:
==========
-A handful of lower-level classes (notably paramiko.message.Message and
paramiko.pkey.PKey) previously returned bytes objects from their
implementation of __str__, even under Python 3; and there was never any
__bytes__ method.
-Streamline some redundant (and costly) byte conversion calls in the packetizer
and the core SFTP module. This should lead to some SFTP speedups at the very least.
-Remove some unnecessary __repr__ calls when handling bytes-vs-str conversions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
------------
Added support for data table formulae
Mapped chartspace graphical properties to charts for advanced formatting
Bugfixes
---------
#1156 Table filters are always overriden
#1360 Can't read some ScatterCharts if the x-axis is not numerical
#1786 NamedStyles share attributes - mutables gotcha
#1851 Allow print area to be set to None
#1852 Worksheet for print title and print areas can't be found
#1853 Custom document properties that are strings can be empty
#1858 ConditionalFormatting lost when pivot table updated
#1864 Better handling of defined names
#1912 Excel doesn't like xmlns:space on nodes with only whitespace, which it treats as empty.
#1942 Exception when print areas use table references.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.py-switch-from-distutils-to-setuptools.patch
removed since it's included in 0.51.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use latest skeleton (and updated configure script)
Update license list to latest ScanCode and SPDX 3.19
Use correct syntax for python_require
Drop using Travis and Appveyor
Drop support for Python 3.7 and add Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Fix-host-contamination-of-include-files.patch
updated for 2.10.2
Changelog:
==========
- fixed bug in logic computing max_char for PyUnicode_New()
- fixed build issues with ICU < 72
- fixed bug with building on MacOS when pkg-config is present
- added link to note about building everything from sources
- added wrapper for u_cleanup/u_init sequence as ResourceBundle.resetICU()
- added wrapper for TimeZone.getRegion()
- added support for ICU 72.1
- added wrapper for UnicodeSetIterator::skipToStrings()
- added wrapper for DisplayOptions, DisplayOptions::Builder and related enums
- added wrapper for FormattedNumber::getNounClass()
- added wrapper for NumberFormatter.displayOptions()
- added support for ICU 71.1
- added wrappers for UMeasurePrefix, MeasureUnit.withPrefix()|getPrefix()
- added UNumberRoundingPriority, FractionPrecision.withSignificantDigits()
- added UNumberTrailingZeroDisplay, Precision.trailingZeroDisplay()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- right accepts a single character from suggestion
- ctrl+right accepts a semantic token (macos default shortcuts take precedence
and need to be disabled to make this work
- backspace deletes a character and resumes hinting autosuggestions
- ctrl-left accepts suggestion and moves cursor left one character.
- backspace deletes a character and resumes hinting autosuggestions
- down moves to suggestion to later in history when no lines are present below
the cursors.
- up moves to suggestion from earlier in history when no lines are present
above the cursor.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
===========
* Add support for SH1107 greyscale OLED
* Fix SSD1322 NHD initialization and encode each pixel as 4bit+4bit
identical nibbles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Correctly obtain database URL with SQLAlchemy 2.0
Remove legacy future import in Alembic templates
Add SQLAlchemy 1.4 and 2.0 to the test matrix
Switch to pytest as test runner
Support "check" command #502
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2021.
Changelog:
==========
- Removed a nasty memory leak that would cause every number returned
from 'fastnumbers' to never get freed.
- Added 'check_real', 'check_float', 'check_int', and 'check_intlike'
to provide a more flexible interface than 'isreal', 'isfloat', 'isint',
and 'isintlike', respectively
- Added 'try_real', 'try_float', 'try_int', and 'try_forceint'
to provide a more flexible interface than 'fast_real', 'fast_float', 'fast_int',
and 'fast_forceint', respectively
- Added Python 3.11 support
- 'query_type' now sets 'allow_underscores' to 'False' by default
- Complete rewrite into C++
- All functions now use use 'METH_FASTCALL' to pass arguments from
Python to C
- Always parse integers using 'int64_t' instead of using 'long' to ensure
we can always quickly parse at least 18 digits
- Parsing floats now always uses the fast and robust parser
['fast_float::from_chars()'](https://github.com/fastfloat/fast_float)
- 'isreal', 'isfloat', 'isint', and 'isintlike' are deprecated in
favor of 'check_real', 'check_float', 'check_int', and 'check_intlike',
though they will never be removed from the API
- 'fast_real', 'fast_float', 'fast_int', and 'fast_forceint' are deprecated in
favor of 'try_real', 'try_float', 'try_int', and 'try_forceint',
though they will never be removed from the API
- Support for Python 3.6
- Removed the undocumented 'dig', 'max_exp', 'min_exp', and 'max_int_len'
module-level constants, as they are now meaningless
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fix packaging: include py.typed in package data
* Revert to comparison between xs:QName instances and strings
* First XPath 3.1 implementation (without UCA collation support)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
============
Add an “ago” synonym for Arabic (#1128)
Improved date parsing for Czech (#1131)
Improved date parsing for Indonesian (#1134)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
* Bug Fixes
* Fixed ValueError caused when passing 'Cmd.columnize()' strings wider than 'display_width'.
* Enhancements
* Renamed 'utils.str_to_bool()' -> 'utils.to_bool()'.
* Enhanced 'utils.to_bool()' so that it accepts and converts 'bool', 'int', and 'float' in addition to 'str'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added: the debug output file can now be specified with [run] debug_file in
the configuration file. Closes issue 1319.
- Performance: fixed a slowdown with dynamic contexts that's been around since
6.4.3.
- Typing: all product and test code has type annotations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
fix: use repr() when adding values to plot
Allow cantools.tester to work with multiplexed signals
Relaxed an PDU assert for ARXML format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
==========
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Add support for inferring binary union types added in Python 3.10.
* Capture and log messages emitted when inspecting a module for astroid.
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Fix issues with "typing_extensions.TypeVar".
* Fix "ClassDef.fromlino" for PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.
* Preserve parent CallContext when inferring nested functions.
* Add "Lock" to the "multiprocessing" brain.
* Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
* Fix overwritten attributes in inherited dataclasses not being ordered correctly.
* Fix a false positive when an attribute named "Enum" was confused with "enum.Enum".
Calls to "Enum" are now inferred & the qualified name is checked.
* Remove unnecessary typing_extensions dependency on Python 3.11 and newer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add support for Python 3.11.
- Drop support for decorating non-async functions with @template (deprecated since 0.16).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2022.
0001-Remove-tornado-6-test-constraint.-Ref-15.patch
removed since it's not available in 2.0.0.
Changelog:
=========
Drop support for legacy Pythons (2.7, 3.6 or older).
Remove Travis/Appveyor CI and switch to GitHub Actions.
Added support for Tornado 6 (in the test suite).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop backported patches as they are already in 2.0.2 release
Add a patch to cleanup register keyword usage
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brings in these changes
Fix poetry pip-shims extras dependency (#2078) @jooola
Add the ability to restrict which directories isort works against (#1967) @vkomarov-r7
docs: fix simple typo, detrmination -> determination (#1948) @timgates42
updated format strings to fstrings (#2076) @marksmayo
Simplify typeshed integration test (#2075) @AlexWaygood
Fix re-export sorter (#2065) @parafoxia
Add more docs about filter-files option (#2074) @micahjsmith
Removal Python 3.7 (#2064) @staticdev
Added test case and fix for cython pure python import (#2063) @jtoledo1974
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add initial pillow ptest support.
The ptest result is:
====== 3600 passed 324 skipped, 2 xfailed, 1 xpassed in 62.41s (0:01:02) ======
for qemux86-64 with 2 GB RAM.
The skipped tests as summarized with:
# ptest-runner python3-pillow | tee log
# grep SKIPP log | cut -d"(" -f2- | cut -d")" -f1 | cut -d" " -f1 | sort | uniq -c| sort -n | tail -4
12 webp
13 Tk
14 Qt
84 raqm
Webp was explicityly disabled in 2018 in:
6cb4e90fc python3-pillow: add 5.4.1
I didn't test Tk or Qt and there isn't yet a recipe for libraqm:
https://github.com/HOST-Oman/libraqm
a library that encapsulates the logic for complex text layout.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.3.0:
- Add cache_info() function to @cached decorator.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.25.0:
- Add audio support for ffmpeg writer
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 new SPF 'v=spf1 -all' (reject-all) deliverability check is
removed in most cases. It now is performed only for domains that
do not have MX records but do have an A/AAAA fallback record.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive keys. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive values. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
- Added support for storing None as a value in a NocaseList.
Previously, that was rejected with AttributeError since the
casefold method was attempted to be called on the None value.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.8:
- fixing/test for a regression introduced in 5.0.7 that prevented
import validate from working
- update testing to validate against python version 2.7 & 3.5-3.11
- update broken links / non-existent services and references
License-Update: Use file LICENSE, no change of the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Improved :func:'autofit' algorithm to account for the additional width of
autofilter and table dropdowns.
* Improved :func:'autofit' take user defined column widths into account.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright changed from "Crossbar.io Technologies GmbH"
to "typedef int GmbH"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add Starlite integration (#1748)
- Adding support for the Starlite framework. Unhandled errors are captured.
Performance spans for Starlite middleware are also captured.
- Profiling: Remove sample buffer from profiler (#1791)
- Profiling: Performance tweaks to profile sampler (#1789)
- Add span for Django SimpleTemplateResponse rendering (#1818)
- Use @wraps for Django Signal receivers (#1815)
- Add enqueued_at and started_at to rq job extra (#1024)
- Remove sanic v22 pin (#1819)
- Add support for byterray and memoryview built-in types (#1833)
- Handle "rc" in SQLAlchemy version. (#1812)
- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790)
- Auto publish to internal pypi on release (#1823)
- Added Python 3.11 to test suite (#1795)
- Update test/linting dependencies (#1801)
- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Experimental Features
---------------------
Add support for BF.CARD (#2545)
New Features
------------
Add support for custom connection pool class in NodesManager (#2547)
Bug Fixes
---------
Allow replica to master promotion in nodes_cache (#2549)
Security Fix: Updating graph parser for potential injection cases (#2548)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New:
------
- Added socket_class argument to zmq.Context.socket()
- Support shadowing sockets with socket objects, not just via address,
e.g. zmq.asyncio.Socket(other_socket). Shadowing an object preserves a
reference to the original, unlike shadowing via address.
- in zmq.auth, CredentialsProvider callbacks may now be async.
- ZMQStream callbacks may now be async.
- Add zmq.ReconnectStop draft constants.
- Add manylinux_2_28 wheels for x86_64 CPython 3.10, 3.11, and PyPy 3.9
(these are in addition to not instead of the manylinux_2014 wheels).
Fixed:
-------
- When ZMQStream is given an async socket, it now warns and hooks up events
correctly with the underlying socket, so the callback gets the received
message, instead of sending the callback the incorrect arguments.
- Fixed toml parse error in pyproject.toml, when installing from source with
very old pip.
- Removed expressed dependency on py when running with pypy, which hasn't
been used in some time.
Deprecated:
----------
- zmq.auth.ioloop.IOLoopAuthenticator is deprecated in favor of
zmq.auth.asyncio.AsyncioAuthenticator
- As part of migrating toward modern pytest, zmq.tests.BaseZMQTestCase
is deprecated and should not be used outside pyzmq.
- python setup.py test is deprecated as a way to launch the tests.
Just use pytest.
Removed:
----------
- Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is
removed, so ZMQStream cannot be used without an actual install of tornado.
- Remove support for tornado 4, meaning tornado is always assumed to run on asyncio.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add xdist pr default. (#1253)
Create docker-publish.yml (#1250)
Parallelize pytest with pytest-xdist (#1247)
Support Python3.11 (#1246)
Fix reconnectDelay to be within (100ms, 5min) (#1244)
Fix typos in comments (#1233)
WEB simulator, first version. (#1226)
Clean async serial problem. (#1235)
terminate when using 'randomize' and 'change_rate' at the same time (#1231)
Used tooled python and OS (#1232)
add 'change_rate' randomization option (#1229)
add check_ci.sh (#1225)
Simplify CI and use cache. (#1217)
Solve issue 1210, update simulator (#1211)
Add missing client calls in mixin.py. (#1206)
Advanced simulator with cross memory. (#1195)
AsyncModbusTcp/UdpClient honors delay_ms == 0 (#1203) (#1205)
Fix#1188 and some pylint issues (#1189)
Serial receive incomplete bytes.issue #1183 (#1185)
Handle echo (#1186)
Add updating server example. (#1176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names
prefixed with assert.
- gh-100690: Mock objects which are not unsafe will now raise an AttributeError
when accessing an attribute that matches the name of an assertion but without
the prefix assert_, e.g. accessing called_once instead of assert_called_once.
This is in addition to this already happening for accessing attributes with
prefixes assert, assret, asert, aseert, and assrt.
- gh-96127: inspect.signature was raising TypeError on call with mock objects.
Now it correctly returns (*args, **kwargs) as infered signature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
AwsCredentials should not call metadata server if security creds and region are retrievable through the environment variables (#1195) (5e27c8f)
Wrap all python built-in exceptions into library excpetions (#1191) (a83af39)
Bug Fixes
---------
Allow get_project_id to take a request (#1203) (9a4d23a)
Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services (#1208) (9fc7b1c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.7 or newer is required.
-Type annotations are now integrated with the source code and cover far more of
the library.
-The get_soa() method has been added to dns.zone.Zone.
-The minimum TLS version is now 1.2.
-EDNS padding is now supported. Messages with EDNS enabled and with a non-zero
pad option will be automatically padded appropriately when converted to wire format.
-dns.zone.from_text() and dns.zone.from_file() now have an allow_directives
parameter to allow finer control over how directives in zonefiles are processed.
-A preliminary implementation of DNS-over-QUIC has been added, and will be
available if the aioquic library is present. See dns.query.quic(),
dns.asyncquery.quic(), and examples/doq.py for more info. This API is subject
to change in future releases. For asynchronous I/O, both asyncio and Trio are
supported, but Curio is not.
-DNSSEC signing support has been added to the dns.dnssec module, along with a
number of functions to help generate DS, CDS, and CDNSKEY RRsets.
-Curio asynchronous I/O support is deprecated as of this release and will be
removed in a future release.
-The resolver object's nameserver field is planned to become a property in
dnspython 2.4. Writing to this field other than by direct assignment is
deprecated, and so is depending on the mutability and form of the iterable
returned when it is read.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix the bug where Monday is parsed as a month (#1121)
Prevent ReDoS in Spanish sentence splitting regex (#1084)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: On Python 3.7, a file with type annotations but no from __future__
import annotations would be missing statements in the coverage report.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 23.1.1:
- fix: support for Python up to v3.11
- fix: update GitHub CI
- fix: copyright transferred to typedef int GmbH -
no license change!
- fix: remove coverage crap
License-Update: Company name changed from Crossbar.io Technologies
GmbH to typedef int GmbH, the license remains MIT.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.2:
- Fixed typing definitions for EnvironmentContext.get_x_argument()
- Fixed regression where the string transformations applied to
server defaults caused expressions such as (getdate()) to no
longer compare as equivalent on SQL Server, others.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tftpy is a TFTP library for the Python programming language. It includes client
and server classes, with sample implementations. Hooks are included for easy
inclusion in a UI for populating progress indicators. It supports RFCs 1350,
2347, 2348 and the tsize option from RFC 2349.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.2:
- Removed version conditions on typing_extensions dependency.
- Removed typing_extensions from our tests requirements as it was
preventing issues to appear in our continuous integration.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Support ujson.loads(bytearray(...)) and other bytes-like objects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New Features
-------------
Add dialect to FT.AGGREGATE (#2537)
Add support for resetchannels in ACL SETUSER (#2514)
Allow EVAL_RO and EVALSHA_RO to be routed to read replica (#2494)
Add timeout parameter for SentinelManagedConnection (#2495)
Add TIMEOUT to query class (#2519)
Add support for certain LATENCY commands (#2503)
Bug Fixes
-----------
Add type checking to __eq__ in graph classes (#2531)
Accept str for ex parameter in set command (#2529)
Fix for Unhandled exception related to self.host with unix socket (#2520)
Make PythonParser resumable (#2510)
Maintenance
------------
Fix incorrect _disconnect_raise docstring (#2534)
Remove DeprecationWarning by replace get_event_loop with get_running_loop (#2530)
Fix AttributeError when trying to split library version (#2539)
Including startup instructions via redis-stack docker (#2535)
Fix JSON.ARRINDEX test (#2527)
Add OpenTelemetry example with Uptrace backend (#2452)
Switch docs to furo theme (#2492)
Combine auto-concatenated strings (#2482)
Updating graph tests to support new execution plan (#2486)
Raising NotImplementedError for certain CLUSTER and LATENCY commands (#2504) (#2501)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-Performance: an internal cache of file names was accidentally disabled,
resulting in sometimes drastic reductions in performance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Do not use deprecated functions in Flask-SQLAlchemy 3.0
Stop building Python 3.6
Remove tests from pypi package
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
accesscontextmanager: Update the api 038fdb69dc
alertcenter: Update the api 6057d89b61
androidenterprise: Update the api ec22103603
apigee: Update the api 43f435c459
batch: Update the api 3dd983b561
clouddeploy: Update the api 9a176a474c
compute: Update the api bba3627ef5
container: Update the api 98d6112970
contentwarehouse: Update the api 00fa4bb30f
datafusion: Update the api db1dddc7ca
datamigration: Update the api 12effe4a38
datapipelines: Update the api 91b60afaa4
dataplex: Update the api 04bafe3e11
dataproc: Update the api 1ad16fafbd
datastream: Update the api 30f292141f
firestore: Update the api 89b34a91c7
gmail: Update the api a4ca99c42e
notebooks: Update the api f732fd307f
retail: Update the api d94dee346b
speech: Update the api 339a5d6c9c
texttospeech: Update the api ee942d9363
workloadmanager: Update the api 93f0e30afa
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add support for Python 3.11.
Correct version information in RTD documentation.
badges/shields: Change to GitHub workflow badge routes.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Address changes of final V2 api release (#175)
Use non-deprecated logging warn method (#174)
Add support for smart_scene resource (#170)
Add support for matter resource (#171)
Fix: KeepAlive workaround causes Geofence to malfunction (#163)
Fix: Missing repeated events for Philips Hue Tap Dial switch (#167)
Fix error in log when an empty dict is received for an optional value (#164)
Add sparkle effect to fix new Festavia lights (#165)
Fix typo in discovery (#158)
Pin github actions and add dependabot actions ecosystem (#151)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
- Added support for matrix multiplication operator (@).
- Should have all the wheels now (including the manylinux ones).
- Bumped minimum version requirements for setuptools and setuptools-scm.
- Switched the default pure python fallback implementation to the "simple" one
(when you from lazy_object_proxy import Proxy and the C extension is not
available). Previously the "slots" implementation was used but as it turns
out it is slower on Python 3.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.0:
- Updated pre-commit with mypy
- Test Python 3.12 pre-releases
- Fix to min_table_width parameter
- Widen tables with long titles
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.8.1:
- fix: mro_trait can be unbound when the class is not in mro
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
reedsolo is a pure-Python Reed Solomon encoder/decoder.
It is required by esptool which will be added in the next commit.
This adds a recipe for the Python module.
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.19.0:
- Add timestamp and timestamp_ms formats to fields.DateTime
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 38.0.0:
- Major bump due to minimum required Python version being raised
to 3.8
- do no longer use the ncurses module in the dump subparser
- Fix 'Assertation' NameError typo in test_database
- Add missing crccheck dependency to setup.py
- Bugfix in handling more than one node mapped attribute per signal
- A few bug fixes
- Typing improvements
- Use tox
- Fix CI
- Ensure that only Decimal types are stored in the Signal.decimal
attribute
- cantools library import lib from a relative path (unified)
- Test on python 3.11, build docs again
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.0:
- Add light shades, dark grey and black
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This has been unmaintained, not needed by anything and is now
removed from oe-core.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.18.1:
- Remove unnecessary `i` variable from encoder module namespace
- Declare support for Python 3.11 and add wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.36:
- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use
asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle `KeyboardInterrupt` when the stacktrace of an unhandled
error is displayed.
- Use correct event loop in `Application.create_background_task()`.
- Fix `show_cursor` attribute in `ScrollablePane`.
- Improve termination of `Application`. Don't suppress
`CancelledError`. This fixes a race condition when an
`Application` gets cancelled while we're waiting for the
background tasks to complete.
- Fixed typehint for `OneStyleAndTextTuple`.
- Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
- Use `DummyInput` by default in `create_input()` if `sys.stdin`
does not have a valid file descriptor. This fixes errors when
`sys.stdin` is patched in certain situations.
- Fix control-c key binding for `ProgressBar` when the progress
bar was not created from the main thread. The current code would
try to kill the main thread when control-c was pressed.
- Accept a `cancel_callback` in `ProgressBar` to specify the
cancellation behavior for when `control-c` is pressed.
- Small performance improvement in the renderer.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.0.3:
- Fix: when using the [run] relative_files = True setting, a
relative [paths] pattern was still being made absolute. This is
now fixed.
- Fix: if Python doesn't provide tomllib, then TOML configuration
files can only be read if coverage.py is installed with the
[toml] extra. Coverage.py will raise an error if TOML support is
not installed when it sees your settings are in a .toml file.
But it didn't understand that [tools.coverage] was a valid
section header, so the error wasn't reported if you used that
header, and settings were silently ignored. This is now fixed.
- Fix: adjusted how decorators are traced on PyPy 7.3.10.
- Fix: the coverage lcov report did not properly implement the
--fail-under=MIN option. This has been fixed.
- Refactor: added many type annotations, including a number of
refactorings. This should not affect outward behavior, but they
were a bit invasive in some places, so keep your eyes peeled for
oddities.
- Refactor: removed the vestigial and long untested support for
Jython and IronPython.
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the
combining step could fail with assert row is not None using
7.0.2. This was due to a race condition that has always been
possible and is still possible. In 7.0.1 and before, the error
was silently swallowed by the combining code. Now it will produce
a message "Couldn't combine data file" and ignore the data file
as it used to do before 7.0.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Added 'OverlappingRange' exception which is raised during Worksheet
:func:'add_table()' or :func:'merge_range()' if the range overlaps an existing
worksheet table or merge range. This is a file corruption error in Excel. See
:ref:'exceptions'.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Don-t-set-tp_print-on-Python-3.patch
removed since it's included in 4.1.4
Changelog:
==========
In previous versions, if you asked for the position of a body (a) whose
elliptical or hyperbolic orbit has an eccentricity very close to 1.0 and (b)
which is very far from perihelion, then the underlying C library would print
a warning Near-parabolic orbit: inaccurate result but let your Python script
continue on unawares. Now, no message is printed directly to the screen, and
instead a RuntimeError will tell you why PyEphem can't compute the body's
position.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
Tuna is a cui/gui tool for tuning of running processes.
It is useful to see and changed irq affinity on an embedded board.
The chosen revision of tuna is the last commit to this day and not the
last release. This is due to the python3-ethtool module which was
required in the last release but isn't anymore. Tuna now has a built-in
module instead.
Despite tuna's homepage's dependencies section, python3-inet_diag isn't
required anymore.
Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.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>
The recently added kmod and watchdogdev packages were not added to the
meta-python packagegroup. This fixes it.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport patch to replace deprecated inspect.getargspec in lib pubsub.
And add python3-pip to RDEPENDS which is required by utils wxdemo,
wxdocs and wxget provided by python3-wxgtk4.
Signed-off-by: Kai Kang <kai.kang@windriver.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>
Upgrade python3-wxgtk4 from 4.1.1 to 4.2.0:
* fix licence according to LICENSE.txt that it is licenced under
LGPL-2.0, and WXwindows is used for documents
* remove backported patches
* not overwrite CFLAGS and CXXFLAGS in file wscript
Signed-off-by: Kai Kang <kai.kang@windriver.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:
===========
replace_refs is now a function rather than a class method of JsonRef
New options were also added to replace_refs
jsonloader is now a plan function rather than an instance of a class.
Fix issue with proxies=False where it would not recurse through references to remove the proxies. #48
Signed-off-by: Wang Mingyu <wangmy@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 0.3.0:
- Add documentation for the JsonRefError class
- Drop python 2 support
- Switch to GitHub Actions
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:
==========
This is a minor release to bring back the removed OPT_X_TLS option.
Please note, it's still a deprecated option and it will be removed in 3.5.0.
The following deprecated option has been brought back:
OPT_X_TLS
Fixes:
--------
Sphinx documentation is now successfully built
pypy3 tests stability was improved
setup.py deprecation warning is now resolved
Signed-off-by: Wang Mingyu <wangmy@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>
pyconnman has an install_requires on 'future', but the corresponding
'python3-future' is missing from the recipes RDEPENDS.
Signed-off-by: Marcus Flyckt <mafl@kvaser.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>