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:
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>