* crypto: use _Generic only if !defined(__cplusplus)
* fixes build with gcc-14 which has __builtin_addc and __builtin_subc
with gcc-13 it was already using the #else branch because of missing builtins
* fixes
https://github.com/grpc/grpc/issues/35945http://errors.yoctoproject.org/Errors/Details/766916/
* _Generic was introduced in boringssl with:
https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4
* but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes
this internal.h and from the .cc extension gcc will process it as C++
where _Generic isn't available, causing:
In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125:
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)':
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned'
1159 | unsigned: __builtin_addc, \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned'
1160 | unsigned long: __builtin_addcl, \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned'
1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry))
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope
1158 | (_Generic((x), \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
(cherry picked from commit 5778e32eae)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Changelog:
==========
- Fixed typo 'marking' instead of 'marketing' in case-insensitive mailbox name list.
- When DNS-based deliverability checks fail, in some cases exceptions are now
thrown with raise ... from for better nested exception tracking.
- Fixed tests to work when no local resolver can be configured.
- This project is now licensed under the Unlicense (instead of CC0).
- Minor improvements to tests.
- Minor improvements to code style.
License-Update: Relicense under the Unlicense (instead of CC0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0dd1264a94)
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Our python3-protobuf is installed in standard site-packages location,
there's no need for an extra .pth file. So this .pth is useless.
What's worse, this .pth file is problematic for python 3.12 ptest. It will
cause the following test case to hang forever:
test.test__xxsubinterpreters.CreateTests.test_in_thread
I've filed an issue[1] for cpython. Until the problem is resolved there,
we should avoid packaging this .pth file.
In fact, Debian also removes this file in the rules file, though their reason
for removal is likely that the file is useless.
rules: find $(CURDIR)/debian/python3-protobuf -name 'protobuf-*-nspkg.pth' -delete
Some more information below, just for better tracking:
1. That .pth file is way too complicated according to .pth design[2].
2. The subinterpreter is not offically part of python, at least for 3.12. The PEP[3][4]
has not been accepted. The test__xxsubinterpreter is a preparation for it.
[1] https://github.com/python/cpython/issues/122220
[2] https://docs.python.org/3/library/site.html
[3] https://peps.python.org/pep-0554/
[4] https://peps.python.org/pep-0554/
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The flow module was removed in Twisted 9.0.0 a long time
and currently does not install anything. Let's remove it
to cleanup the recipe.
This commit also removes python3-twisted-news package because
the source files were removed in Twisted 21.2.0. All other
files which no longer exist in the source are also removed from FILES.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Fixes an issue where split packages were no populated since all the files
were picked up by FILES:${PN}
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
It looks like python3-six was dropped as a dependency between
version 3.17.0 and 3.18.0. Looking at the PyPi downloads indicates
this coincides with when Python 2 support was dropped.
I couldn't find any release notes so this patch is based on looking
at the source code downloaded from PyPi.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- build backend is hatchling.build
- python3-six is not a runtime dependency, it's not imported anywhere in the source
- add python3-asyncio to RDEPENDS
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-six is no longer a dependency and Python 2 support has already been dropped.
Change python3-twisted to python3-twisted-core such that only required modules
are installed.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Correct way to convert bytes to string if orjson exists.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add preliminary support for Python 3.13 as of 3.13a6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add feedback survey banner to docs
-Fix eth_createAccessList docs to reflect the correct behavior.
-Add request formatter for maxFeePerBlobGas when sending blob transactions. Add
formatters for blobGasPrice and blobGasUsed for eth_getTransactionReceipt.
-Add formatters to ensure that the result of a eth_createAccessList response
can be plugged directly into an accessList in a transaction.
-Add Cancun support to EthereumTesterProvider; update Cancun-related fields in
some internal types.
-Use pre-commit for linting the v6 branch
-Add an upperpin at eth-typing<4.2.0 due to removal of EthPM types in that lib
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-patch: moves country_code module to country module
moves base58 and base64 into encoding
adds encoding tests and docs
supported extended latin in username
-feat: adds indian aadhar and pan validator
adds finance validator
adds consider_tld parameter to domain, hostname and url modules
lays foundation for URI validation
adds private parameter to ip_address, hostname & url
adds base58 and base64 validators
adds basic cron validator
-fix: regex ignore-case uses only a-z
domain validation is now more consistent across rfcs
-maint: adds quick start docs
updated dev dependencies, doc links; bump version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Allow to upsert monitors
-Add Django signals_denylist to filter signals that are attached to by signals_spans
-increment for metrics
-Add value, unit to before_emit_metric
-Remove experimental metric summary options
-New normalization rules for metric keys, names, units, tags
-Change data_category from statsd to metric_bucket
-Accessing __mro__ might throw a ValueError
-Suppress prompt spawned by subprocess when using pythonw
-Handle None in GraphQL query
-Do not send "quiet" Sanic exceptions to Sentry
-Implement metric_bucket rate limits
-Fix type hints for monitor decorator
-Remove deprecated typing imports in crons
-Make monitor_config a TypedDict
-Add devenv-requirements.txt and update env setup instructions
-Bump types-protobuf from 4.24.0.20240311 to 4.24.0.20240408
-Disable Codecov check run annotations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
===========
-Support unrar-free >= 0.2.0.
-Add RarFile.is_solid to check if archive uses solid compression.
-Support old multi-volume archives better where ENDARC does not contain NEXTVOL.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add lock to async requests, correct logging and length calc.
-test_simulator: use unused_tcp_port fixture
-streamline imports in Factory.py
-Secure testing is done with pymodbus in PR.
-Fix link to github in README
-Wildcard exception catch from pyserial.
-Problem with stale CI.
-Add connection exception to list of exceptions catpured in retries
-Move on_reconnect to client level
-Bump github stale.
-update package_test_tool (add 4 test scenarios)
-Bump dependencies.
-Cancel send if no connection.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Revert the package cache introduced in 2.13. Don't cache the decompressed
contents of wheels unless being told so.
-Fix inconsistent logging when pdm use a different python interpreter
-Fix PDM unable to find Python interpreters when PDM_IGNORE_ACTIVE_VENV is set
-Check verify_ssl when trusting each source.
-Fix name check for project itself in pdm outdated
-Fix a regression that proxy env vars are not respected.
-Fix an issue that venv provider can't be found when providers are explicitly
configured.
-Fix a bug that [tool.pdm.options] are ignored if -c/--config CONFIG is given.
-Make --without respect groups in dev-dependencies
-Per-source configuration for ca-certs and client-cert.
-Remove all caches by removing individual cache types one by one.
-Use the default HTTP client when downloading the pythons, to use the
certificates settings.
-Fix a race condition where pth files take effect when multiple packages are
installed in parallel.
-Refuse to run recursive composite scripts.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add .symlink_to and .hardlink_to.
-Add .cwd method and deprecated .getcwd.
-Create 'absolute' method and deprecate 'abspath'.
-In readlink, prefer the display path to the substitute path.
-Restore functionality in .isdir and .isfile.
-Added .is_dir and .is_file for parity with pathlib. Deprecates .isdir and .isfile.
-Inlined some types.
-Fix iterdir - it also accepts match.
-Add type annotation for iterdir.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Added support for java.lang.Class arrays
-Fixed marshalling of JavaByteArrays
-Tests ran with pytest manually on Python 2.7, 3.6-3.12
License-Update:
type of LICENSE changed to "ASCII text, with CRLF line terminators"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix small typo: imput -> input
-Add a matplotlib optional target dependency
-Disable scheduled CI runs on forks
-add __repr__ to MagicsDisplay
-correct ci message
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed regression in 2.1.0 where the strconfig argument to load/loads is ignored
-Added main_thread_only execmodel which is derived from the thread execmodel and
only executes remote_exec calls in the main thread.
-The library is now typed and the typing is exposed to type-checkers.
-Re-exported Gateway, Channel, DumpError and LoadError from execnet. The constructors are private.
-Fixed GatewayBase.join() timeout argument getting ignored.
-Removed support for Python 3.7.
-Added official support for Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Update documentation to include blob transaction signing example.
-Import cytoolz methods via eth_utils instead of cytoolz directly
-Add encode_typed_data to list of functions that return a SignableMessage
-Add support for type 3, BlobTransaction, introduced by the Cancun network upgrade.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Upgrade parsimonious from 0.9 to 0.10, which is 15% faster
-Add python 3.12 support, add all-format docs tests and nightly CI runs, reorg
tests file structure to match CI grouping
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fixed a bug in Django 5.0 that caused a crash of "Model.full_clean()" on
fields with expressions in "db_default". As a consequence,
"Model.full_clean()" no longer validates for empty values in fields with
"db_default"
* Fixed a regression in Django 5.0 where the "AdminFileWidget" could be
rendered with two "id" attributes on the "Clear" checkbox
* Fixed a bug in Django 5.0 that caused a migration crash on PostgreSQL 15+
when adding a partial "UniqueConstraint" with "nulls_distinct"
* Fixed a crash in Django 5.0 when performing queries involving table aliases
and lookups on a "GeneratedField" of the aliased table
* Fixed a bug in Django 5.0 that caused a migration crash when adding a
"GeneratedField" relying on the "__contains" or "__icontains"
lookups or using a "Value" containing a ""%""
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed decoding of epoch-based dates being affected by the local time zone in the C extension
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Update test_query_ptr test to use address with PTR record
-Added a missing py.typed file for wheel
-Add Winloop as a valid EventLoop
-Add support for getaddrinfo
-Add support for getnameinfo
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>