Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
File "/usr/lib/python3.12/site-packages/werkzeug/routing/exceptions.py", line 3, in <module>
import difflib
ModuleNotFoundError: No module named 'difflib'
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Disable doctest in docs/web3.eth.account.rst due to eth-account deprecation
of messageHash for message_hash
- Deprecate the geth.personal namespace methods. These will be removed in web3.py v7.
- Internal Changes - for web3.py Contributors
- Increase pytest-asyncio dependency to be >=0.21.2,<0.23
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Relicense from LGPL-2.1+ to BSD-2-Clause-Patent
Changelog:
==========
- trivial: Fix make ruff
- Correctly validate missing license and compiler links
- Use the correct link rel in the compiler example
- trivial: Provide more __str__ for the IntEnum classes
- Be more forgiving when using importlib
- trivial: Fix up all the mypy and pylint warnings
- Rename identity to component
- Add initial support for VEX
- Add a validation failure for REDACTED text
- Relicense from LGPL-2.1+ to BSD-2-Clause-Patent
- trivial: Document --generate
- Use flynt to convert to f-strings
- trivial: Add a make target for ruff
- Save HEX strings as bytes to minimize coSWID size
- Allow outputting multi-document SWID XML files
- trivial: Allow saving uSWID with no compression
- trivial: post release version bump
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
<time.h> now needs to be included explicitly because Python.h no longer includes it.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Use get_runner() method to build the task runner in run command.
runner_cls attribute is deprecated.
- Expand ${PROJECT_ROOT} in source URLs.
- Fix env and other options being inherited in nested composite scripts.
- Keep the ${PROJECT_ROOT} variable in dependencies after running pdm lock
--update-reuse.
- Make direct_minimal_versions work on newly added dependencies.
- Fix a syntax error in the zsh completion script.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
=========
- Fixed incorrect formatting of package description on Pypi by setting the
correct content type in setup.py.
- Fixed safety issues up to 2024-05-04.
- Test: Removed setup.py based installs from "make installtest", since one
of them started installing a pre-release of a package on an unsupported
Python version. The recommendation has been for a while now to no longer use
- Docs: Added RTD config file .readthedocs.yaml
- In the Github Actions test workflow for Python 3.6 and 3.7, changed
macos-latest back to macos-12 because macos-latest got upgraded from macOS
12 to macOS 14 which no longer supports these Python versions.
- Test: Fixed issues resulting from removal of support for pytest.warns(None)
in pytest version 8.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
=============
- Docs: Added Python 3.12 to the supported versions in the package metadata.
- Docs: Updated the README file with the changes from the introduction section
w.r.t. Python 2 and limitations.
- Dev: Fixed flake8 issue about comparing types in test code.
- Fixed safety issues up to 2024-05-05. No changes in package dependencies.
- Test: Removed setup.py based installs from "make installtest", since one of
them started installing a pre-release of a package on an unsupported Python
version. The recommendation has been for a while now to no longer use
- Docs: Added RTD config file .readthedocs.yaml
- Test: In the Github Actions test workflow for Python 3.6 and 3.7, changed
macos-latest back to macos-12 because macos-latest got upgraded from macOS 12
to macOS 14 which no longer supports these Python versions.
- Test: Fixed issues resulting from removal of support for pytest.warns(None)
in pytest version 8.
- Docs: Converted README file from RST to MarkDown to fix badge alignment issue
- Dev: Added missing dependency to minimum-constraints.txt to several make
targets that used it with PACKAGE_LEVEL=minimum.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-lib-python-remove-self-import-from-setup.py.patch
removed since it's included in 0.3.68
Changelog:
===========
Support moteus-c1
Properly detect board hardware when DC input turn-on slew is very slow
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix syntax error in a keyboard layout name for t
- Add mdf
- Use "in(eng)" keyboard layout instead of "us" for BD to get AltGr enabled
- Get translation changes from CLDR
- Add option to include changed translations as well to the script getting translations from CLDR
- Add reference to the the PyPI package to the README.md. And add a README.html and README generated from the README.md.
- Make test outputs somewhat more verbose, even when all tests pass
- Fix Makefile twine-upload target for new authentification
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- TST add a test that ensures conservation of byte order during IPC
- DOC fix typos in CHANGES.rst
- DOC typo in docs
- FIX revert MemorizedFunc.call API change
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix the typing of the 'tick()' method, and improve it's behaviour.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
feat: blocking parameter on lock constructor with tests and docs
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.save() when creating an
instance of a model with a GeneratedField and providing a primary key
- Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when
validating email max line lengths with content decoded using the
surrogateescape error handling scheme
- Fixed a bug in Django 5.0 that caused a crash when applying migrations
including alterations to GeneratedField such as setting db_index=True on SQLite
- Allowed importing aprefetch_related_objects from django.db.models
- Fixed a bug in Django 5.0 that caused a migration crash when a GeneratedField
was added before any of the referenced fields from its expression definition
- Fixed a bug in Django 5.0 that caused a migration crash when altering a
GeneratedField referencing a renamed field
- Fixed a bug in Django 5.0 where the querysets argument of GenericPrefetch was
not required
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
file type changed from "ASCII text, with CRLF line terminators" to "ASCII text"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- .pyi stub files are now preferred over .py files when resolving imports, (except for numpy).
- igetattr() returns the last same-named function in a class (instead of
the first). This avoids false positives in pylint with @overload.
- Adds module_denylist to AstroidManager for modules to be skipped during AST
generation. Modules in this list will cause an AstroidImportError to be raised
when an AST for them is requested.
- Make astroid.interpreter._import.util.is_namespace only consider modules
using a loader set to NamespaceLoader or None as namespaces.
This fixes a problem that six.moves brain was not effective if six.moves
was already imported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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);
| ^~~~~~~~~~~~~~~~~~~
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@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>
Changelog:
==========
- Update validation errors with logging stack trace in debug mode
- Improve locations parsing and URL encoding
- Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor
- Fix validation of XSD 1.1 'all' nested models
- Improve ModelVisitor and particle occurs checking
- Fix interleave mode with XSD 1.1 open content
- Fix for export/download of XSD sources with commented-out imports/include
- Add download_schemas() to package API
- Fix issue with facets on list types
- Add GData converter
- Fix static typing protocols usage
- Extend XSD annotations parsing
- Use XPath subtree as fragment for xs:assert
- Fix in XMLSchemaProxy definition and usage for providing a base-uri to schema nodes
- Module xpath.py splitted to a subpackage for including all the
- custom XPath 1.0/2.0 parsers and related classes to XPath
- Add support for Python 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Revert pin of eth-typing to utilize EthPM types.
- Add upper pin to eth-account in anticipation of breaking changes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fixed a case when template variable is WindowsPath
- Allow builtin interpreter discovery to find specific Python versions given a general spec
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add precise values for enum members where possible
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Add support for multiple appending override options (-x, -override) on command line
- Add support for inverting exit code success criteria using bang
- Fix issue that the leading character c was dropped from packages in constraints files
- Allow appending to deps with --override testenv.deps+=foo
- Fix non-existing branch rewrite in the documentation to main.
- Update test typing for build 1.2.0, which has an explicit Distribution type
- Fix broken input parsing for --discover flag.
- Rephrase --discover flag's description to avoid confusion between paths and executables.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add python 3.12 support, rust-backend now works with python 3.11 and 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Bump pydantic-core to v2.18.2
-Ftp and Websocket connection strings support
-Use field description for RootModel schema description when there is no docstring
-Fix validation_alias behavior with model_construct for AliasChoices and AliasPath
-Revert typing.Literal and import it outside the TYPE_CHECKING block
-Fix Secret serialization schema, applicable for unions
-Fix strict application to function-after with use_enum_values
-Address case where model_construct on a class which defines model_post_init fails with AttributeError
-Fix model_json_schema with config types
-Support multiple zeros as an int
-Fix validation of ints with leading unary plus
-Fix interaction between extra != 'ignore' and from_attributes=True
-Handle error from Enum's missing function as ValidationError
-Fix memory leak with Iterable validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Switch to ruff for formatting and use codespell and docformatter
- Use hatch over tox
- chore: various minor fixes
- chore: update dead Microsoft's known folders documentation link
- Allow working without ctypes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Disable check update in zsh completion script.
- Fixes cached packages metadata files (.referrers) collisions on sync when
using a venv with symlink cache method.
- Don't create project and virtualenv when running pdm python install.
- Clean up the python installation directory if a previous download was
unsuccessful.
- Don't cache editable installations.
- Fix a bug that installing in-project plugins with editable local paths
doesn't work.
- Don't create log directory until it's needed, to fix a PermissionError in
docker environment.
- Fix recursive script detection on multiple invocations.
- Build docs with object inventory to support cross references from Sphinx
documentation projects.
- Packages format preferences can now be defined in the project pyproject.toml
using the no-binary, only-binary and prefer-binary keys of the
tool.pdm.resolution section.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix incorrect inferred type when accessing descriptor on union type
- Fix crash when expanding invalid Unpack in a Callable alias
- Fix false positive when string formatting with string enum
- Narrow individual items when matching a tuple to a sequence pattern
- Fix false positive from type variable within TypeGuard or TypeIs
- Improve yield from inference for unions of generators
- Fix emulating hash method logic in attrs classes
- Add reverted typeshed commit that uses ParamSpec for functools.wraps
- Fix type narrowing for types.EllipsisType
- Fix single item enum match type exhaustion
- Improve type inference with empty collections
- Fix override checking for decorated property
- Fix narrowing on match with function subject
- Allow +N within Literal[...]
- Experimental: Support TypedDict within type[...]
- Experimtental: Fix issue with TypedDict with optional keys in type[...]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- pytest 8 compatibility
- typing-extension now needs 4.6 or newer. It was already the case, but not explicated.
- Attempt to speed running code under debugger in some cases.
- Multiple fixes to documentation for ipyparallel, simple_prompt and emacs
- Maintenance and cleanup of debugger
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix bug of #1068 that getattr cannot get attribute with index directly
- Update pyav.py
- Trivial typo fixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* The default ignore list now contains the 'queue'-package
* Added a missing 'move_to'-function when calling 'freeze_time(tick=True)'
* Fixes a rounding error in 'time.time_ns()'
* Fixed a bug where the default ignore list could not be empty ('configure(default_ignore_list=[])')
* All 'tick()' methods now return the new datetime (instead of None)
* Type improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-UPdate:
format of LICENSE updated to "ASCII text, with CRLF line terminators"
Changelog:
==========
- Module crashes on import with 32-bit Python.
- Lists of integers not converted to bytes when using the bytes constructor.
- Empty comma separated tokens not handled correctly.
- Crash on import when docstrings not present due to optimize flag.
- Dropped support for Python 3.7. Minimum version is now 3.8.
- For tokens that use a non-numeric length, a ':' is now compulsory rather than
recommended. For example use 'uint:foo' instead of 'uintfoo'.
- The previous e4m3float and e5m2float formats have become the slightly modified
p4binary8 and p3binary8 formats.
- Some parameters are now enforced as positional only, such as auto in constructors.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed "Unclosed client session" when initialization of
:py:class:~aiohttp.ClientSession fails -- by :user:NewGlad.
- Fixed regression (from :pr:8280) with adding Content-Disposition to the form-data
part after appending to writer -- by :user:Dreamsorcerer/:user:Olegt0rr.
- Added default Content-Disposition in multipart/form-data responses to avoid broken
form-data responses -- by :user:Dreamsorcerer.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@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>
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>
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:
- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes are made to prepare upgrading Twisted to a newer version
in a later commit.
Summary of changes:
Remove python3-twisted-bin since there is no FILES defined for bin
Use PYTHON_SITEPACKAGES_DIR when refering to the site-packages directory
Remove ALOT of files from FILES list which no longer exist. Many of these
files were deprecated and removed a long time ago.
Removed redundant :append to FILES packages, they can simply be in the
first definition of it.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New API:
------------
to_ssh in VerifyingKey and SigningKey, supports Ed25519 keys only (Pablo Mazzini)
New features:
------------
Support for twisted Brainpool curves
Doc fix:
------------
Fix curve equation in glossary
Documentation for signature encoding and signature decoding functions
Maintenance:
------------
Dropped official support for 3.3 and 3.4 (because of problems running them
in CI, not because it's actually incompatible; support for 2.6 and 2.7 is
unaffected)
Fixes around hypothesis parameters
Officially support Python 3.11 and 3.12
Small updates to test suite to make it work with 3.11 and 3.12 and new
releases of test dependencies
Dropped the internal _rwlock module as it's unused
Added mutation testing to CI, lots of speed-ups to the test suite
to make it happen
Removal of unnecessary six.b literals (Alexandre Detiste)
Deprecations:
------------
int_to_string, string_to_int, and digest_integer from ecdsa.ecdsa
module are now considered deprecated, they will be removed in a future
release
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python package has enabled to option to build it via python_setuptools_build_meta. Therefore the recipe is updated accordingly.
Also cleaned up the list of runtime dependencies which according to the package should no longer be needed.
The difference between v2 and v3 is the addition of the upstream status in the included patch.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Packages such as aiooui need charset-normalizer as a DEPENDS instead of RDEPENDS. Therefore a the charset-normalizer recipe is extended.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Updated copyright year and clean up authors, contributors
* 0001-explicitly-set-compile-options.patch dropped because setup.cfg moved to pyproject.toml -> (https://github.com/python-pillow/Pillow/pull/7484)
Also, we can give the build option parameters as described in the documentation -> https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options
Added build options to pass to build with using the variable PEP517_BUILD_OPTS so no need to create patch again.
* "python setup.py" and the use of "setup.py" as a command line tool are deprecated and upstream added a custom build backend to translate -C feature=disable style flags to the old --disable-feature style flags by prepending the build command (typically bdist_wheel) with a build_ext --disable-feature command which builds the extension modules before being added to a wheel. That backend uses the build_meta module of setuptools. The _CustomBuildMetaBackend class is a subclass of this module, adding custom behaviors and enabling settings specific to a particular project.
https://github.com/python-pillow/Pillow/blob/10.3.0/_custom_build/backend.py
* Ptest tested on qemux86-64 and qemuarm64 with x11.
* Since no ptest error was encountered, python3-pillow has been moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON.
Tests with SKIP are related to packages with explicitly disabled build options.
qemux86-64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 904
END: /usr/lib/python3-pillow/ptest
2024-04-06T15:56
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 674
END: /usr/lib/python3-pillow/ptest
2024-04-06T16:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.htmlhttps://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add missing dependency on tornado, its also flagged by some ptests
{'python3-pyzmq': ['tests/test_ioloop.py:test_ioloop',
'tests/test_ioloop.py:test_ioloop_install']}
Skip ptests which cause zeromq errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove python3-pbr from DEPENDS: when looking at the source code
it looks like pbr is used in the CI process when building for
Python 2.6 only. Python 2 is no longer supported in the Yocto
project so it can be safely removed.
Remove python3-pip from DEPENDS: pip is not a build time
dependency.
Changes were tested on Kirkstone. The requirements for
python3-ecdsa v0.18 are exactly the same.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Catch all types of "eth-abi" "DecodingError" in "EthereumTesterProvider->_make_request()"
-Fix/update methods and decorators in "web3/_utils/abi.py" to address issues
raised by "mypy"
-Fix "process_log()" when parsing logs for events with indexed and non-indexed
inputs. "get_event_data()" now compares log topics and event ABIs as hex values.
-Fix "process_log" for "HexStr" inputs. Explicit type coercion of entry "topics"
and "data" values.
-Fix typing for json data argument to "eth_signTypedData".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add provision arguments to ToxParser to fix crash when provisioning new tox
environment without list-dependencies
-Removed unused line from the 'fresh_subprocess' documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-ref: Define types at runtime
-Explicit reexport of types
-feat(profiling): Add thread data to spans
-Add optional keep_alive
-Add support for Celery Redbeat cron tasks
-The SDK now supports the Redbeat scheduler in addition to the default Celery
Beat scheduler for auto instrumenting crons.
-aws_event can be an empty list
-Re-export Event in types.py
-Small API docs improvement
-Fixed OpenAI tests
-Bump checkouts/data-schemas from ed078ed to 8232f17
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Merge pull request #534 from iliakur/patch-1
-Drop py2 support from the wheel
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: add contributors to Copyright
Changelog:
==========
-Fix SeekableZstdFile class can't open new file in appending mode.
-Support sub-interpreter on CPython 3.12+, can utilize per-interpreter GIL.
-On CPython(3.5~3.12)+Linux, use another output buffer code that can utilize the
mremap mechanism.
-Change repository URL and maintainer following the deletion of the GitHub
account of the original author, Ma Lin (animalize)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Removed support for xdist rsync (now deprecated)
-Switched docs theme to Furo.
-Various legacy Python cleanup and CI improvements.
-Added a pyproject.toml example in the docs.
-Modernized project's pre-commit hooks to use ruff.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-tests(test_zoneinfo_as_timezone): skip if tzinfo is not available on windows
-fix(strftime): treat %% as an escape sequence
-chore(jalai.py): cleanup the code
-fix(strftime): also escape %% before c, x, and X
-fix(date, datetime): return NotImplemented for unknown type operations
-docs(README.rst): use jdatetime.FA_LOCALE instead if fa_IR
-Update python versions
-update jalali license
-update licences
-Use jalali core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2024
Changelog:
===========
-Revert improvements to the internal tools.deprecate_positional_args() decorator
that caused false positive PendingDeprecationWarning: The signature of ... will
be reduced warnings that have been misinterpreted in the 0.20.2 release process.
-Drop Python 3.7 support (end of life 27 Jun 2023).
-Tag Python 3.11 and 3.12 support.
-Add caveat about labe escaping/quoting to .node() and .render() API docs.
-Document that doctest_skip_exe() lines in doctest should be ignored.
-Improve internal tools.deprecate_positional_args() decorator and fix incorect test assertion.
-Update GitHub actions.
-Pin pytest test dependency to <8.1 as a workaround for import file mismatch
error related to conftest.py files, in pytest 8.1.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Adds support for custom suppliers in AWS and Identity Pool credentials
-Refactor tech debt in aws and identity pool credentials
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix File field when it receives an empty value
-Fix validate.FileSize to handle SpooledTemporaryFile
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Make singleton class instance dict unique per subclass
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
*eventlet.websocket is not always used from eventlet.wsgi, so do not assume
eventlet.set_idle exists
*Make sure asyncio hub doesn't use greendns for asyncio DNS APIs
*Make asyncio.to_thread work with the same semantics as normal asyncio
*Refactor congruence checks based on assert at runtime
*Run tests on macOS in CI, and some fixes to get it in reasonable state
*Fix wsgi.server shutdown for in-flight requests
*Add debug convenience helpers - asyncio, threads
*Handle errors better.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bump to hexbytes>=1.2.0 and add blocklint to linting
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix SearchFilter handling of quoted and comma separated strings, when
.get_search_terms is being called into by a custom class.
-Revert number of 3.15.0 issues which included unintended side-effects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
-cassandra-driver for Python 3.12 Linux is compiled without libev support
-Consider moving to native wheel builds for OS X and removing universal2 wheels
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fixes a regression in 3.8.0 affecting nested task cancellation inside
sync_to_async.
* Adds support for Python 3.12.
* Drops support for (end-of-life) Python 3.7.
* Fixes task cancellation propagation to subtasks when using synchronous Django
middleware.
* Allows nesting "sync_to_async" via "asyncio.wait_for".
* Corrects WSGI adapter handling of root path.
* Handles case where `"client"` is "None" in WsgiToAsgi adapter.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pbr is not a runtime dependency or a buildtime dependency.
The reason for this change is not only to clean up the RDEPENDS list.
But also because python3-pbr adds pip as a runtime dependency which
is not always desireable.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python2 is long unsupported, so we no longer need this variable. It was used to handle Python2/3 compatibility.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Rename LICENSE to LICENSE.txt and update copyright year
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
qemux86-64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 19
END: /usr/lib/python3-validators/ptest
2024-03-30T05:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-validators/ptest
2024-03-30T05:10
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
0.24.0
===========
Features
feat: conditionally raises ValidationError; bump version by @yozachar in #343
Maintenance
patch: domain & url modules by @yozachar in #339
fix: domain name not confirming to rfc_2782 by @yozachar in #341
maint: update dev dependencies; adds favicon to docs by @yozachar in #342
0.23.2
===========
Maintenance
maint: rectifies changelog by @yozachar in #336
fix: packaging as well as rST & md document generation by @yozachar in #337
0.23.1
===========
Maintenance
maint: fix between & length validators by @yozachar in #334
fix: manual nav reference for mkdocs; bumps version by @yozachar in #335
0.23.0
===========
Features
feat: add french i18n validation by @imperosol in #308
Maintenance
fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297
fix: bug in between module by @yozachar in #301
chore: update dependencies, improve packaging by @yozachar in #304
Fix fragment check by @darkdragon-001 in #305
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310
fix: allow pct-encoded entities in fragments by @conitrade-as in #317
chore: update dev dependencies by @yozachar in #318
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322
chore: monthly updates for Jan'24 by @yozachar in #324
maint: adds versiond docs; update copyright year by @yozachar in #329
chore: update dev dependencies by @yozachar in #330
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-27351: Potential regular expression denial-of-service in
django.utils.text.Truncator.words()
Fixed a regression in Django 4.2.10 where intcomma template filter could
return a leading comma for string representation of floats.
https://code.djangoproject.com/ticket/35172
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 5.3.3:
- Documentation improvements
- Update CI environment
License-Update: Update copyright years to 2024
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.2.1:
- Fixed missing typing_extensions dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
- Added support for specifying options for the pytest plugin via
pytest config files
- Avoid creating reference cycles when type checking unions
- Fixed Optional[...] being removed from the AST if it was located
within a subscript
- Fixed TypedDict from typing_extensions not being recognized as one
- Fixed typing types (dict[str, int], List[str], etc.) not passing
checks against type or Type
- Fixed detection of optional fields (NotRequired[...]) in
TypedDict when using forward references
- Fixed mapping checks against Django's MultiValueDict
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.0:
- **BREAKING** Added callback_api_version. This break *ALL* users
of paho-mqtt Client class. See migrations.md for details on how
to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first
argument of Client()
- **BREAKING** Drop support for Python 2.7, Python 3.5 and Python
3.6. Minimum tested version is Python 3.7. Python version up to
Python 3.12 are tested.
- **BREAKING** connect_srv changed it signature to take an
additional bind_port parameter. This is a breaking change, but in
previous version connect_srv was broken anyway.
- **BREAKING** Remove some deprecated argument and method:
* ``max_packets`` argument in loop(), loop_write() and
loop_forever() is removed
* ``force`` argument in loop_stop() is removed
* method ``message_retry_set()`` is removed
- **BREAKING** Remove the base62, WebsocketWrapper and
ConnectionState, as user shouldn't directly use them.
- Possible breaking change: Add properties to access most Client
attribute. Since this add new properties like `logger`, if a
sub-class defined `logger`, the two `logger` will conflict.
- Add version 2 of user-callback which allow to access MQTTv5
reason code & properties that were missing from on_publish
callback. Also it's more consistent in parameter order or between
MQTTv3 and MQTTv5.
- Add types to Client class, which caused few change which should
be compatible. Known risk of breaking changes:
- Use enum for returned error code (like MQTT_ERR_SUCCESS). It
use an IntEnum which should be a drop-in replacement. Excepted
if someone is doing "rc is 0" instead of "rc == 0".
- reason in on_connect callback when using MQTTv5 is now always
a ReasonCode object. It used to possibly be an integer with the
value 132.
- MQTTMessage field "dup" and "retain" used to be integer with
value 0 and 1. They are now boolean.
- Add support for ALPN protocols on TLS connection.
- Add on_pre_connect() callback, which is called immediately before
a connection attempt is made.
- Fix subscribe.simple with MQTTv5.
- Use better name for thread started by loop_start.
- Fix possible bug during disconnection where self._sock is
unexpectedly None.
- Fix loading too weak TLS CA file but setting allowed ciphers
before loading CA.
- Allow to manually ack QoS > 0 messages.
- Improve tests & linters. Modernize build (drop setup.py, use
pyproject.toml)
- Fix is_connected property to correctly return False when
connection is lost and loop_start/loop_forever isn't used.
- Fix wait_for_publish that could hang with QoS == 0 message on
reconnection or publish during connection.
- Correctly mark connection as broken on SSL error and don't crash
loop_forever.
- Fix handling of MQTT v5.0 PUBREL messages with remaining length
not equal to 2.
- Raise error on ``subscribe()`` when `topic` is an empty list.
- Raise error on `publish.multiple()` when ``msgs`` is an empty
list.
- Don't add port to Host: header for websockets connections when
the port if the default port.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.3:
- Add match_range function
- Fix leap year (29 days in February)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.0.5:
- Upgraded the C-API macros that have been deprecated in Python 3.9
and later removed in 3.13
- Reverted to using the public argument parsing API
PyArg_ParseTupleAndKeywords() under Python 3.12.
- The effect is that this change prevents build failures with clang
16.9.6 and gcc-14. It also fixes a segmentation fault crash
caused by passing keyword arguments to MultiDict.getall().
- Fixed a SystemError: null argument to internal routine error on a
MultiDict.items().isdisjoint() call when using C Extensions.
- On the Contributing docs age, a link to the Towncrier philosophy
has been fixed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* attrs is in install_requires of setup.cfg in 3.9 branch
* python3-misc is required to include netrc which is imported in
aiohttp.helpers
Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.27.0:
- The app=... shortcut has been deprecated. Use the explicit style
of transport=httpx.WSGITransport() or transport=httpx.ASGITransport()
instead.
- Respect the http1 argument while configuring proxy transports.
- Fix RFC 2069 mode digest authentication.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.3.0:
- Added support for the Python 3.12 walk_up keyword argument in
anyio.Path.relative_to() (PR by Colin Taylor)
- Fixed passing total_tokens to anyio.CapacityLimiter() as a
keyword argument not working on the trio backend (#515)
- Fixed Process.aclose() not performing the minimum level of
necessary cleanup when cancelled. Previously:
- Cancellation of Process.aclose() could leak an orphan process
- Cancellation of run_process() could very briefly leak an orphan
process.
- Cancellation of Process.aclose() or run_process() on Trio could
leave standard streams unclosed
- Fixed Process.stdin.aclose(), Process.stdout.aclose(), and
Process.stderr.aclose() not including a checkpoint on asyncio
- Fixed documentation on how to provide your own typed attributes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python3-dbus package was removed in (dac933e). While the upstream
project isn't active, other distributions (e.g. Fedora, Debian, etc)
continue to offer the package and apply patches to resolve reported issues.
While other packages offer similar functionality (e.g. dasbus), they are not
drop in replacements and the general dbus functionality works out of the box.
The python package has accomplished it's goal of providing useful functionality,
and the proposal is to continue to have it available in meta-python for use.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-python-dateutil: respect inheritance on relativedelta.rsub
-Bump python-dateutil to 2.9.*
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-add settable info property
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix crash with fresh subprocess, if the build backend is setuptools
automatically enable fresh subprocesses for build backend calls
-Support enabling fresh subprocess for packaging build backends via fresh_subprocess
-Allow plugins attaching additional information to --version via
tox_append_version_info method in the plugin module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Discard open OpenTelemetry spans after 10 minutes
-Propagate sentry-trace and baggage headers to Huey tasks
-Added Event type
-Improve scrub_dict typing
-Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311
-Allow to configure merge target for releases
-Allow empty character in metric tags values
-Replace invalid tag values with an empty string instead of _
-Add documentation comment to scrub_list
-Fixed regex to parse version in lambda package file
-xfail broken AWS Lambda tests for now
-Removed print statements because it messes with the tests
-Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302
-Bump checkouts/data-schemas from eb941c2 to ed078ed]
-New integration: OpenAI integration
-Add recursive scrubbing to EventScrubber
-Expose socket_options
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-OAuth2Session now correctly uses the self.verify value if verify is not overridden in fetch_token and refresh_token.
-OAuth2Session constructor now uses its client.scope when a client is provided and scope is not overridden.
-Add refresh_token_request and access_token_request compliance hooks
-Add PKCE support and Auth0 example
-Add support for Python 3.8-3.12
-Remove support of Python 2.x, <3.7
-Migrated to Github Action
-Updated dependencies
-Cleanup some docs and examples
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix mem_max_rss measurement on macOS
-gh-174: Support free-threading CPython by disabling psutil related
features
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Solve transport close() as not inherited method.
-enable mypy --check-untyped-defs
-Add get_expected_response_length to transaction.
-Remove control encode in framersRemove control encode in framers.
-Bump codeql in CI to v3.
-Improve server types
-Remove pointless try/except
-Improve transport types
-Use explicit ValueError when called with incorrect function code
-update message tests (incorporate all old tests).
-Improve simulator type hints
-Cleanup dead resetFrame code
-integrate message.encode() into framer.buildPacket.
-Repair client close() (intern= is needed for ModbusProtocol).
-Updated Message_Parser example
-Fix #2069 use released repl from pypi
-Fix field encoding of Read File Record Response
-Improve simulator types
-Bump actions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix usage of AliasGenerator with computed_field decorator
-Fix nested discriminated union schema gen, pt 2
-Fix bug with no_strict_optional=True caused by API deferral
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix missing type store for overloads
-Fix 'WriteToConn' object has no attribute 'flush'
-Improve TypeAlias error messages
-Support narrowing unions that include type[None]
-Support TypedDict functional syntax as class base type
-Accept multiline quoted annotations
-Allow unary + in Literal
-Substitute type variables in return type of static methods
-Consider TypeVarTuple to be invariant
-Add alias support to field() in attrs plugin
-Improve attrs hashability detection
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reexport arg_split on emscripten.
-back to dev
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Enable affinity_session_drain_test for cpp
-rm invalid assert
-Make C++ xDS Interop Client and Server Responsive to SIGTERM
-Fix readme
-Backport #35973: Make Bazel requirements installable directly via pip
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add api_version field to ServiceOptions in google/api/client.proto
-Add LOCATION_POLICY_VIOLATED enum to ErrorReason in google/api/error_reason.proto
-Add rest_reference_documentation_uri field to ServiceOptions in google/api/client.proto
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Regression from #438: check g.x_arg exists before accessing it
-Accept -x options for all db commands
-Add --purge flag to the stamp command
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Bump hexbytes dependency to >=1.0.0
-Add Python 3.12 support
-Add windows-wheel CI job for py312, set both py311 and py312 to use latest patch version
-Add py.typed file, move misplaced newsfragment, correct py version pins for typing-extensions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-During decoding, verify all pointers in arrays and tuples point to a valid location in the payload
-Fix memory leak warning in NodeVisitor and ABIRegistry
-Clear mypy misc-type errors and add top-level py.typed file back
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improve stand-alone XPath functions builder
-Update tokens and parsers __repr__
-Fix static typing protocols to work with etree and XSD elements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed a regression in Django 5.0.2 where intcomma template filter could
return a leading comma for string representation of floats
-Fixed a bug in Django 5.0 that caused a crash of Signal.asend() and
asend_robust() when all receivers were asynchronous functions
-Fixed a regression in Django 5.0.1 where ModelAdmin.lookup_allowed() would
prevent filtering against foreign keys using lookups like __isnull when the
field was not included in ModelAdmin.list_filter
-Fixed a regression in Django 5.0 that caused a crash of @sensitive_variables
and @sensitive_post_parameters decorators on functions loaded from .pyc files
-Fixed a regression in Django 5.0 that caused a crash when reloading a test
database and a base queryset for a base manager used prefetch_related()
-Fixed a bug in Django 5.0 where facet filters in the admin would crash on a
SimpleListFilter using a queryset without primary keys
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Incorrect tag naming in readme
-Utilize PyPI's trusted publishing
-Bump sigstore/cosign-installer from 3.3.0 to 3.4.0
-Add 1.7.7 to versions of bug template
-Use datetime to avoid updating copyright year
-filter data is safe for tarfile extractall
-Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
-[B605] Add functions that are vulnerable to shell injection
-Add a SARIF output formatter
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Allow register-python-argcomplete output to be used as lazy-loaded zsh completion module
-Move debug_stream initialization to helper method to allow fd 9 behavior to be overridden in subclasses
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reuse the File, Config field, and file-related validators from flask-marshmallow
-Add support for a --quiet option to the flask spec command
-Fix the flask spec command for validators operating on complex data types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix issue with send_queue in WSGIResponder
-Remove unused imports and unnecessary code in WSGIResponder class
-Update dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE
is set correctly.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* add Pending to .patch files where it was accidentally droped
with upgrades or modifications in:
f88e5b146e postgresql: upgrade 15.5 -> 16.2
c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4
or new patches where the author didn't notice/care:
2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
f5cc9f272a yasm: improve reproducibility
39028d0d9d python3-pybind11: Restore strip prevention patch
authors of these added to CC, please be more careful with removing
or not adding these or enable patch-status in ERROR_QA for your
builds, see:
https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113
* added with:
for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q ^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p; grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" $p; done
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Due to the way we install ptests, some imports switch from
first party to third party. Update test expectations
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
PyLint needs to be comapatible with Astroid. It was recently updated
to version 3.1.0, so follow suit with pylint.
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>