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>