Changelog:
===========
-New SimpleClient and AsyncSimpleClient classes
-Reporting to Socket.IO Admin UI
-Support entering and leaving rooms through pubsub client managers
-Async versions of enter_room and leave_room should be coroutines
-Add a shutdown() function for the server
-Message queue optimizations
-Remove unneeded arguments from super()
-Internal code restructure (no functional changes)
-Add FastAPI and Litestar server examples
-Update Socket.IO JavaScript client to version 4.7.2 in all examples
-Update ping_timeout documented default to accord with current Engine.IO behavior
-Refactor common testing helpers into a separate module
-Migrate Python package metadata to pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* Updated test & build matrix to include Python 3.12 and use
GitHub Actions as a Trusted Publisher (OIDC)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
PR #418: Replace OrderedDict with dict.
PR #426: Fix replace() method to use the derived class of an instance instead of Version class.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix bug where schedule was off when using .at with timezone
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Generate wheels on PyPI using final Python 3.12 release, thanks to cibuildwheel 2.16.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Fix bug with JSON schema for sequence of discriminated union
Fix schema references in discriminated unions
Fix json schema generation for recursive models
Fix models_json_schema for generic models
Fix xfailed test for generic model signatures
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bump GitHub Actions versions and fix warnings in the process
Bump versions of used GitHub Actions
Add support for 3.12, drop EOL 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixes:
- Fix 'RuntimeError' when '__breakpointhook__' is called from another thread.
- Fix memory leak in filters usage.
- Ensure that key bindings are handled in the right context (when using
contextvars).
- Fix regression in filters. (Use of 'WeakValueDictionary' caused filters to
not be cached).
- Fix 'currentThread()' deprecation warning.
- Fix memory leak in filters.
- Make VERSION tuple numeric.
New features:
- Accept 'in_thread' keyword in 'prompt_toolkit.shortcuts.prompt()'.
- Support the 'NO_COLOR' environment variable.
- Use 24-bit true color now by default on Windows 10/11.
- Add '.run()' method in 'TelnetServer'. (To be used instead of
'.start()/.stop()'.
Breaking changes:
- Subclasses of 'Filter' have to call 'super()' in their '__init__'.
- Drop support for Python 3.6:
* This includes code cleanup for Python 3.6 compatibility.
* Use 'get_running_loop()' instead of 'get_event_loop()'.
* Use 'asyncio.run()' instead of 'asyncio.run_until_complete()'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Do not run meson install to build a wheel.
-Obey the --skip-subprojects when specified for the meson install command.
-Implement support for the exclude_directories and exclude_files arguments to
Meson install_subdir() function and similar installation functions.
-Implement support for building wheels targeting the Python limited API.
-when pyproject.toml does not contain a version field and version is not
declared dynamic, raise an error instead of silently using the version
declared in meson.build.
-Fix the mtime of source files in the sdist tarball.
-Add objc and objcpp compilers to the cross file generated when the
$ARCHFLAGS is set.
-Extensive documentation improvements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise warning instead of error when using fps in pillow
Consistently load GIF frames using the same pixel format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Check to ensure the gevent monkeypatch was applied when running the consumer
with greenlet workers, log warning if it is not.
-Explicitly clear the revoked flag on task instances after execution (#713).
-Add support for delay=, eta= in Huey's .s() and .then()
-Add support for rescheduling callback pipelines when rescheduling a task.
-Add an on_commit_task() decorator for Django extension that will enqueue the
task after any database changes have been committed.
-Allow overriding the delay and eta when raising a RetryTask exception.
-Add a very simple ResultGroup.as_completed() helper to provide a way to deal
with multiple results as they become available.
-Add an asyncio helper for resolving task results asynchronously.
-Fix bug in SIGINT and SIGTERM behavior for gevent users.
-Include lock name when a task fails due to TaskLocked exception
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Serialize signer keys on getstate for pickling
Support urllib3<2.0 versions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Dropped support for end-of-life Python 3.7. Support PyPy 3.9
Replace deprecated locked_cached_property decorator with cached_property
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add information to docs for utilities which did not have any.
-Pull latest from template repo to fix release script, update wording in
comments and docs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add script to maintain Network constants listed in the networks module.
Add types-setuptools to support pkg_resources and __version__
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Feature
--------
Update for final cpython release (#263) (460a072)
Speed up unpacking arrays (#257) (5c8bfe5)
Speed up constructing Variant objects (#256) (0d7a665)
Speed up unmarshalling message body (#255) (5aed075)
Speed up unmarshalling Variants (#254) (dd74a84)
Speed up readers in the unmarshall path (#253) (f9b61b8)
Speed up first connection when using asyncio (#251) (0b6ba93)
Speed up unmarshaller (#250) (e4cae13)
Add cython typing for ServiceInterface.name (#248) (98c7e75)
Speed up connect and disconnect (#247) (8f39ba3)
Speed up unmarshalling by skipping unused unix_fds header (#246) (5f5a150)
Reduce overhead to reset between messages (#245) (da30b04)
Don't import backends by default (#243) (091d421)
Breaking
don't import backends by default (#243) (091d421)
Small speed up to the unmarshaller (#238) (b8d0e9b)
Build cpython 3.12 wheels (#234) (b38aa58)
Improve performance of processing incoming messages (#228) (ce61aea)
Reduce overhead to dispatch method handlers (#227) (b222552)
Speed up to processing bluez passive data (#221) (8e7432d)
Remove async_timeout dependency (#218) (7826897)
Speed up Message creation and callbacks (#217) (04d6451)
Optimize passive bluez message unmarshaller (#216) (e0e87ec)
Initial cpython 3.12 support (#207) (c755193)
Improve performance of reading from the socket during unmarshall (#200) (e5d355f)
Fix
-------------
Handling of None messages from notify callback (#236) (14f52f2)
Clean up address parsing and tests (#244) (370791d)
Handle multiple flag bits when unmarshalling (#241) (6f6f5f8)
Rebuild wheels with cython 3.0.2 (#235) (e8901a8)
Avoid cythonizing SendReply (#232) (d12266d)
Subpath bad matching (#202) (5d6f90b)
Messages could be sent out of order if they had to queue (#225) (4051cf2)
Avoid checking if a message expects a reply twice (#223) (823e85f)
Revert changes to _expects_reply from speed up to processing bluez passive data (#222) (dfa9053)
Spelling of dbus_fast.auth.AuthAnnonymous to dbus_fast.auth.AuthAnonymous (#220) (6c2412f)
More cython3 optional fixes (#219) (5b6cbc5)
Exception handler failure when exception is not DBusError (#215) (d771bcf)
Result typing in ServiceInterface._handle_signal (#214) (5bda04b)
Avoid double buffering when using asyncio reader without negotiate_unix_fd (#213) (c933be7)
Relax typing on _fn_result_to_body to allow Any (#212) (2f5fc38)
Typing on _fn_result_to_body was incorrect which was caused an exception with cython3 (#210) (c40c7bc)
Cython3 compat (#208) (43b3d48)
Reduce size of wheels by excluding generated .c files (#262) (dca4599)
Marshall multi-byte strings correctly (#261) (4de31a3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-The coverage lcov command ignored the [report] exclude_lines and [report]
exclude_also settings (issue 1684).
-Fix error that SQLite will create journal files alongside the coverage.py
database files.
-On Python 3.12+, we now disable SQLite writing journal files, which should be
a little faster.
-The new 3.12 soft keyword type is properly bolded in HTML reports.
-Removed the "fullcoverage" feature used by CPython to measure the coverage of
early-imported standard library modules. CPython stopped using it in 2021,
and it stopped working completely in Python 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
bump cmake from 3.27.5 to 3.27.6
bump pypa/cibuildwheel from 2.16.1 to 2.16.2
update pre-commit hooks
bump ninja from 1.11.1 to 1.11.1.1
update pre-commit hooks
Update to CMake 3.27.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
---------
-Allow to execute the CLI (e.g. normalizer) through python -m
charset_normalizer.cli or python -m charset_normalizer
-Support for 9 forgotten encoding that are supported by Python but unlisted
in encoding.aliases as they have no alias (#323)
Removed
---------
-Redundant utils.is_ascii function and unused function is_private_use_only
-charset_normalizer.assets is moved inside charset_normalizer.constant
Changed
----------
-Unicode code blocks in constants are updated using the latest v15.0.0
definition to improve detection
-Optional mypyc compilation upgraded to version 1.5.1 for Python >= 3.8
Fixed
--------
Unable to properly sort CharsetMatch when both chaos/noise and coherence were close due to an unreachable condition in __lt__ (#350)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix SyncWrapperType and AsyncWrapperType
-Fixed issue where signal.connected_to would not disconnect the receiver if
an instance of BaseException was raised.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* update cibuildwheel to 2.16.1 in order to provide cp312 wheels on PyPI
* improve error messages for masked assignment
* simplify test collection
* added 'pytest.ini' to allow running pytest with no additional arguments,
see #208
* 'util.sc_encode()': avoid writing empty blocks at end of compressed
stream, ie. skip encoding when total population count is reached
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Fixed false positive for inherit-non-class for generic Protocols.
-Fix a crash when an enum class which is also decorated with a
dataclasses.dataclass decorator is defined.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Two introspection-related ptests are consistently failing. For now,
disable them so that a clean ptest run is available.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
arrow is a module that aims to provide a more user-friendly approach to
date and time in Python. It is required by git-pw which in turn is
required by patchtest, so add a recipe for it. The version is updated
1.2.2 -> 1.3.0 from the meta-patchtest layer.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are a handful of CLI-related ptests that consistently fail with an
apparent permissions issue, but making the
.../site-packages/cpuinfo/cpuinfo.py script executable does not seem to
fix the problem. Skip these tests for now, and make sure that the right
/usr/bin/env line is present in py-cpuinfo's scripts on the image.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
git-pw is a tool for integrating Git with Patchwork instances. Add it
to meta-python from meta-patchtest so that more workflows can take
advantage of it.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verify the license remains the same and update the checksum
Remove python-six runtime dependency
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The upstream package hasn't been updated since 2020 and was meant to be a short term
bridge to remote pytz. Anoted in the usage documents, "This library is intended for
temporary usage only, and should allow you to drop your dependency on pytz while
also giving your users notice that eventually you will remove support for the
pytz-specific interface."
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Accepted was replaced with Backport in gatesgarth:
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes
* as detected with oe-core/scripts/contrib/patchreview.py:
meta-openembedded $ grep -A 3 Malformed *qa-patches
meta-gnome.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-gnome.qa-patches-/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch
meta-gnome.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-gnome.qa-patches-Upstream-Status: Accepted [dc9701e187]' (/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Consolidated inc into the recipe to remove a unneeded layer of indirection
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-isodate recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-click recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-booleanpy recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-xmltodict recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-license-expression recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-rdflib recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verified license is still BSD and updated the checksum for spacing change
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update build to use hatchling
Add dependency for README generation
Verify the license terms and update the checksum
Note from upstream
=======
Pydantic V2 is a ground-up rewrite that offers many new features, performance improvements, and some breaking changes compared to Pydantic V1.
If you're using Pydantic V1 you may want to look at the pydantic V1.10 Documentation or, 1.10.X-fixes git branch. Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects: from pydantic import v1 as pydantic_v1.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verified license remains the same and updated the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Added:
Add hash capabilities to OUI (#225, amitmi704)
Fixed:
Backwards incompatible: Handle RFC 6164 IPv6 addresses (don't reserve first IP
address in point-to-point subnets) ($267, Damien Claisse)
Technically backwards incompatible: Fix for is_loopback behaviour – consider
IPNetwork('::1/128') to be loopback (#222, #223, niels)
Include tutorials in source distributions (#215, Louis Sautier)
Fix a documentation typo (#242, Wouter)
Fix print syntax in the documentation to be Python 3 compatible (#221, François Magimel)
Fix the Sphinx syntax in the documentation (#220, François Magimel)
Other:
Update the databases (#266, Jakub Stasiak)
Deprecate Python 3.6 (#263, Jakub Stasiak)
Eliminate unnecessary evals (#228, KOLANICH)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
autoflake is a python library which removes unused imports and unused
variables from Python code. This recipe uses pypi as source:
https://pypi.org/project/autoflake/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Features
accesscontextmanager: Update the api f6f6113f42 (f77ee26)
advisorynotifications: Update the api 0025b75976 (f77ee26)
aiplatform: Update the api fbcd223a51 (f77ee26)
androidmanagement: Update the api 23cd554b04 (f77ee26)
appengine: Update the api 266598f553 (f77ee26)
artifactregistry: Update the api fe34c2221c (f77ee26)
assuredworkloads: Update the api 86eaf3ff8d (f77ee26)
beyondcorp: Update the api f27ec8e0ac (f77ee26)
blockchainnodeengine: Update the api bf425463c4 (f77ee26)
checks: Update the api 3d7acfbe70 (f77ee26)
chromemanagement: Update the api 5310a182fd (f77ee26)
cloudasset: Update the api d076b1bd45 (f77ee26)
cloudfunctions: Update the api c9d14b98bf (f77ee26)
cloudtasks: Update the api fe0bcad347 (f77ee26)
composer: Update the api 4d9e24a39c (f77ee26)
connectors: Update the api 7e2e3f0687 (f77ee26)
contactcenteraiplatform: Update the api ee747d28f2 (f77ee26)
datamigration: Update the api de2aa36bbf (f77ee26)
gkeonprem: Update the api f5890d0826 (f77ee26)
gmail: Update the api 40b0348d28 (f77ee26)
integrations: Update the api ddf9afb276 (f77ee26)
monitoring: Update the api f64be2390c (f77ee26)
mybusinessverifications: Update the api fde7890f06 (f77ee26)
networkconnectivity: Update the api 0d299134e8 (f77ee26)
networkmanagement: Update the api 47352429b1 (f77ee26)
notebooks: Update the api 66dd9d0e43 (f77ee26)
paymentsresellersubscription: Update the api d0fae461de (f77ee26)
places: Update the api db06598e16 (f77ee26)
run: Update the api d10dad24fe (f77ee26)
spanner: Update the api 531ba38b88 (f77ee26)
storage: Update the api 8610476ae8 (f77ee26)
transcoder: Update the api 7d2dfac9b7 (f77ee26)
vision: Update the api 4de577bc69 (f77ee26)
Bug Fixes
smartdevicemanagement: Update the api 03ffb2b7ad (f77ee26)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Removed a patch the no longer appears to be needed and dropped support for python 3.7
Changelog
=========
0.21.1 (2023-09-08)
Changed
Changed dbus-fast dependency to include v2.x. Fixes#1412.
0.21.0 (2023-09-02)
Added
Added bleak.uuids.normalize_uuid_16() function.
Added bleak.uuids.normalize_uuid_32() function.
Added advertisement_data() async iterator method to BleakScanner. Merged #1361.
Added type hints for kwargs on BleakScanner class methods.
Added support for Python 3.12.
Changed
Improved error messages when failing to get services in WinRT backend.
Improved error messages with enum values in WinRT backend. Fixes#1284.
Scanner backends modified to allow multiple advertisement callbacks. Merged #1367.
Changed default handling of the response argument in BleakClient.write_gatt_char. Fixes#909.
Bleak recipe now automatically installs bleak from GitHub release in Kivy example.
Changed BlueZManager methods to raise BleakError when device is not in BlueZ.
Optimized BlueZ backend device watchers and condition callbacks to avoid linear searches.
Changed type hint for buffer protocol to collections.abc.Buffer.
Fixed
Fixed handling all access denied errors when enumerating characteristics on Windows. Fixes#1291.
Added support for 32bit UUIDs. Fixes#1314.
Fixed typing for BaseBleakScanner detection callback.
Fixed possible crash in _stopped_handler() in WinRT backend. Fixes#1330.
Reduced expensive logging in the BlueZ backend. Merged #1376.
Fixed race condition with "InterfaceRemoved" when getting services in BlueZ backend.
Fixed missing permissions and requirements in android Kivy example. Fixes#1184.
Fixed WinRT backend sometimes hanging forever when a device goes out of range during connection. Fixes#1359.
Removed
Dropped support for Python 3.7.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove incorrect/deprevated URI for upstream version checking
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove outdated setup tools dependency and inherit
Changelog
=========
New
Support for Python 3.10 & 3.11
The HTML documentation uses the furo theme
Fixed
*of rules are skipped for None values (#582)
Validations of mappings would raise an exception when the field's rules were provided as reference to a registry item (#599)
Improved
Various minor improvements of the documentation
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update the inherit is use the poetry
Changelog
=========
What's Changed
Make cycle_time serialisation more consistent for DBC files by @mon in #592
User f-strings instead of str.format() by @zariiii9003 in #599
Add prog option to argparse for help messages by @jack-champagne in #600
NOTE: This is a major release change with the following API changes:
The initial attribute of Signal objects now always holds the initial signal value as a scaled quantity, unifying its semantics with that of Signal.minimum and Signal.maximum. Previously, initial used raw values for databases loaded from DBC files, while using scaled ones for databases loaded from ARXML. (The loaders for other file formats do not currently set the initial attribute.)
The machinery for storing decimal numbers without rounding errors (*.decimal attributes) has been removed. In its place small rounding errors in load-store-load cycles are now accepted. To remediate this, the resulting database objects can now be compared approximately using the Database.is_similar() method.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the package override that is no longer needed
Update the inherits to use poetry
Changelog
=========
What's Changed
serialize: remove v1 and v2 formats by @woodruffw in #310
refactor: move the serialization implementation to method by @frostming in #313
feat: drop support of Python older than 3.7 by @frostming in #312
fix(typing): fix wrong types by @frostming in #314
workflows: add a release workflow by @woodruffw in #308
cachecontrol: 0.13.1 by @woodruffw in #315
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
==================
New
Support Python 3.12.
Changed
absl-py no longer supports Python 3.6. It has reached end-of-life for more
than a year now.
(logging) logging.exception can now take exc_info as argument, with
default value True. Prior to this change setting exc_info would raise
KeyError, this change fixes this behaviour.
(testing) For Python 3.11+, the calls to absltest.TestCase.enter_context
are forwarded to unittest.TestCase.enterContext (when called via instance)
or unittest.TestCase.enterClassContext (when called via class) now. As a
result, on Python 3.11+, the private _cls_exit_stack attribute is not
defined on absltest.TestCase and _exit_stack attribute is not defined on
its instances.
(testing) absltest.TestCase.assertSameStructure() now uses the test case's
equality functions (registered with TestCase.addTypeEqualityFunc()) for
comparing leaves of the structure.
(testing) abslTest.TestCase.fail() now names its arguments
(self, msg=None, user_msg=None), and not (self, msg=None, prefix=None),
better reflecting the behavior and usage of the two message arguments.
DEFINE_enum, DEFINE_multi_enum, and EnumParser now raise errors when
enum_values is provided as a single string value. Additionally,
EnumParser.enum_values is now stored as a list copy of the provided
enum_values parameter.
(testing) Updated paramaterized.CoopTestCase() to use Python 3 metaclass
idioms. Most uses of this function continued working during the Python 3
migration still worked because a Python 2 compatibility __metaclass__
variables also existed. Now pure Python 3 base classes without backwards
compatibility will work as intended.
(testing) absltest.TestCase.assertSequenceStartsWith now explicitly fail
when passed a Mapping or Set object as the whole argument.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Improve AsyncServiceBrowser performance (#1273) (0c88ecf)
Speed up question and answer internals (#1272) (d24722b)
Small speed ups to ServiceBrowser (#1271) (22c433d)
Speed up ServiceBrowsers with a cython pxd (#1270) (4837876)
Improve performance of constructing outgoing queries (#1267) (00c439a)
Speed up responding to queries (#1266) (24a0a00)
Speed up answering questions (#1265) (37bfaf2)
Speed up ServiceInfo with a cython pxd (#1264) (7ca690a)
Speed up generating answers (#1262) (50a8f06)
Avoid calling get_running_loop when resolving ServiceInfo (#1261) (33a2714)
Significantly speed up writing outgoing dns records (#1260) (bf2f366)
Speed up writing outgoing dns records (#1259) (248655f)
Small speed up to writing outgoing dns records (#1258) (1ed6bd2)
Reduce IP Address parsing overhead in ServiceInfo (#1257) (83d0b7f)
Speed up decoding incoming packets (#1256) (ac081cf)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Added support for custom total formulas to worksheet tables.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-1 public Python file has been added: setuptools/tests/test_core_metadata.py.
-0 files included in typeshed's stubs have been deleted.
-7 files included in typeshed's stubs have been modified or renamed:
setuptools/__init__.py, setuptools/command/editable_wheel.py,
setuptools/command/egg_info.py, setuptools/depends.py, setuptools/dist.py,
setuptools/monkey.py, setuptools/namespaces.py.
-Total lines of Python code added: 1051.
-Total lines of Python code deleted: 682.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Fixed Callable erroneously rejecting a callable that has the requested amount
of positional arguments but they have defaults
-Fixed a regression introduced in v4.1.4 where the elements of Literal got
quotes removed from them by the AST transformer
-Fixed AttributeError where the transformer removed elements from a PEP 604 union
-Fixed AttributeError: 'Subscript' object has no attribute 'slice' when
encountering an annotation with a subscript containing an ignored type
(imported within an if TYPE_CHECKING: block)
-Fixed type checking not being skipped when the target is a union (PEP 604 or
typing.Union) where one of the elements is an ignored type (shadowed by an
argument, variable assignment or an if TYPE_CHECKING import) (#394, #395)
-Fixed type checking of class instances created in __new__() in cases such as
enums where this method is already invoked before the class has finished initializing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use current master version of rapidjson
Use cibuildwheel 2.15.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
server tracer example.
sync connect missing.
simulator future problem.
Always close socket on error (reset_sock).
Revert reset_socket change.
add close_comm_on_error to example.
Test long term (HomeAsistant problem).
Update ruff to 0.0.287 (#1764)
Remove references to ModbusSerialServer.start
Readd test to get 100% coverage.
transport: Don't raise a RunTimeError in ModbusProtocol.error_received()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Avoid exception when data is an empty iterator.
- Revert "build(deps): bump codecov/codecov-action from 3 to 4"
- Build(deps): bump codecov/codecov-action from 3 to 4.
- Build(deps): bump actions/checkout from 3 to 4.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
---------
Add get_bq_config_path() to _cloud_sdk.py (9f52f66)
Add get_bq_config_path() to _cloud_sdk.py (#1358) (9f52f66)
Bug Fixes
----------
Expose universe domain in credentials (#1380) (8b8fce6)
Make external_account resistant to string type 'expires_in' responses from non-compliant services (#1379) (01d3770)
Missing ssj for impersonate cred (#1377) (7d453dc)
Skip checking projectid on cred if env var is set (#1349) (a4135a3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixes in the test client to support recent changes in Socket.IO dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Replace gevent-websocket with simple-websocket when using gevent
-Catch and log all errors that occur in event handlers
-Use daemon threads for background tasks also in the threaded client
-Silence exception on websocket exit when using uWSGI #330
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-The semantics of stars in file patterns has been clarified in the docs.
A leading or trailing star matches any number of path components, like a
double star would. This is different than the behavior of a star in the
middle of a pattern.
-The API docs were missing from the last version. They are now restored.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix for the module command-line usage. Bug #290.
- Fix for when creating bitstrings from memoryview objects.
- Renamed the 'fmt' parameter for Arrays to 'dtype'.
- More Array operator coverage.
- Added operators that act on two Arrays of the same size.
- Added comparison operators for Arrays that return an Array of bools.
- Added Array.equals method as == will now return an Array (see above item).
- Added astype() method for Arrays to easily cast to a new dtype.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch
refreshed for 0.2.1
Changelog:
==========
add installing clang package for readthedocks
atexit fix
fix file system events: store fs info when marked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Implement lazy.__set_name__() which helps in cases like foo=lazy(_foo).
Update tox.ini for latest tox.
Add GitHub CI workflow.
Add .readthedocs.yaml file.
Pin sphinx and sphinx-rtd-theme versions in docs extra.
Add mypy extra which installs mypy.
Fix stray characters in keywords.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- change signatures for ReportAttemptingFullContext() and
ReportContextSensitivity() to be identical to all other targets
- Move GetText(), SetText(), and String() from CommonToken to BaseToken
- Restore "Obtained from string" source name.
- fix: Fix very minor code issues spotted by goreportcard.com
- Java: suppress this-escape warning introduced in JDK 21.
- Adds default targets for babel configuration
- fix dependabot warnings
- Add Antlr4Dynamic product
- Cleanup duplicate SwiftTarget code
- Fix for #4320--export additional types
License-Update: Version updated to 4.13.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The new version requires hatchling to build, so add that and remove
poetry (which isn't actually needed). Note that the changelog says it
switched to PDM from poetry.
Changelog: https://github.com/Tinche/aiofiles#history
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Shellingham is a python library to detect what shell the current
Python executable is running in. This recipe uses pypi as source:
https://pypi.org/project/shellingham
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update run-ptest script to print the output of python3-appdirs ptest results in
unified format
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Speed up answering queries (#1255) (2d3aed3)
Optimize DNSCache.get_by_details (#1254) (ce59787)
Speed up adding and removing RecordUpdateListeners (#1253) (22e4a29)
Optimize cache implementation (#1252) (8d3ec79)
No change re-release due to unrecoverable failed CI run (#1251) (730921b)
Reduce overhead to answer questions (#1250) (7cb8da0)
Cache construction of records used to answer queries from the service registry (#1243) (0890f62)
Remove useless calls in ServiceInfo (#1248) (4e40fae)
Reduce overhead to process incoming updates by avoiding the handle_response shim (#1247) (5e31f0a)
Avoid python float conversion in listener hot path (#1245) (816ad4d)
Reduce overhead to process incoming questions (#1244) (18b65d1)
Speed up RecordManager with additional cython defs (#1242) (5a76fc5)
Improve performance by adding cython pxd for RecordManager (#1241) (a7dad3d)
Build wheels for cpython 3.12 (#1239) (58bc154)
Use server_key when processing DNSService records (#1238) (cc8feb1)
Simplify code to unpack properties (#1237) (68d9998)
Context managers in ServiceBrowser and AsyncServiceBrowser (#1233) (bd8d846)
Rebuild wheels with cython 3.0.2 (#1236) (dd637fb)
Speed up question and answer history with a cython pxd (#1234) (703ecb2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Dropped Python 3.7 support
-Fixed @typechecked optimization causing compilation of instrumented code to
fail when any block was left empty by the AST transformer
(eg if or try / except blocks) (#352)
-Fixed placement of injected typeguard imports with respect to __future__
imports and module docstrings (#385)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow passing in multiple overrides using the ; character and fix , being used as splitting values
Add support for setting build backend config_settings in the configuration file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support Python 3.12.
NEW: Drop support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Optimized performance and memory usage for broadcasts
Improved documentation on horizontal scaling
Corrected user session documentation example
Improved grammar in documentation
Fix docstring typo: client/server mixup
Fix typos in the documentation
Upgrade dependencies in Django server example
Update reference JavaScript examples
Upgrade to pypy-3.9 in unit tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Copyright from LICENSE: xdist loadscope (test is not split). (#1708)
Changelog:
============
Async retry (#1752)
test_client: Fix test_client_protocol_execute() (#1751)
Use enums for constants (#1743)
Local Echo Broadcast with Async Clients (#1744)
Fix#1746 . Return missing result (#1748)
Document nullmodem. (#1739)
Add system health check to all tests. (#1736)
Handle partial message in ReadDeviceInformationResponse (#1738)
Broadcast with Handle Local Echo (#1737)
transport_emulator, part II. (#1710)
Added file AUTHORS, to list all Volunteers. (#1734)
Fix#1702 and #1728 (#1733)
Clear retry count when success. (#1732)
RFC: Reduce parameters for REPL server classes (#1714)
retries=1, solved. (#1731)
Impoved the example "server_updating.py" (#1720)
pylint 3.11 (#1730)
Correct retry loop. (#1729)
Fix faulty not check (#1725)
bugfix local echo handling on sync clients (#1723)
Updated copyright in LICENSE.
Correct README pre-commit.
Fix custom message parsing in RTU framer (#1716)
Request tracer (#1715)
pymodbus.server: allow strings for "-p" paramter (#1713)
New nullmodem and transport. (#1696)
xdist loadscope (test is not split). (#1708)
Add client performance example. (#1707)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Update Sharing group info from full object.
- Changes in msg-extract strip a character.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Adjust type check
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Add more translations from CLDR
* Get translation changes from CLDR
* Japanese: prefer anthy over kkc
* Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
-implement exceptions in Python PR #162 This allows to expose in a natural
manner the object relevant to the exception: constraint or edit_variable
-add missing signature of Constraint.violated for Python wrapper PR #166
-add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor resolution metadata reading for TIFF and avoid failing on missing data
Add bytes to ImageResource typehints
Update readthedocs.yaml
Deprecate Python 3.7 support
Add bytes to ImageResource typehints
Remove deprecations in CD
Fix typo in README.md
Fix several typos in the docs and source code comments
Add migration note for format kwarg
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added send_packet() method
Fixed race condition when lots of connections are ended at the same time #328
Workaround for strange memory leak in Eventlet's Thread class #328
Use daemon threads for background tasks in threading mode
Upgrade to pypy-3.9 in unit tests
Fix double close of websockets in ASGI adapter #327
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug #283.
Fix for using numpy integers as integer parameters. Bug #286.
Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
Improvements when pretty-printing the Array.
Array.count() can now count 'nan' values for floating point types.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add include_joined_str parameter to util.walk
setup.cfg shouldn't have version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Wrapped exceptions now cause dispatching.dispatch() to raise SystemExit(1)
instead of returning without error.
-Renamed arguments in add_commands() (#165 / #178):
-Can control exit status (see Backwards Incompatible Changes above) when raising
CommandError using the code keyword arg.
-Positional arguments should not lead to removal of short form of keyword argument
-Avoid depending on iocapture by using pytest's built-in feature
-chore: publishing to prod PyPI
-test: add coverage for action="count" (#127)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[feature] [autogenerate] Added new feature to the "code formatter" function which allows standalone
executable tools to be run against code, without going through the Python
interpreter. Known as the exec runner, it complements the existing
console_scripts runner by allowing non-Python tools such as ruff to
be used.
[usecase] [autogenerate] Change the default value of
EnvironmentContext.configure.compare_type to True.
As Alembic's autogenerate for types was dramatically improved in
version 1.4 released in 2020, the type comparison feature is now much
more reliable so is now enabled by default.
[bug] [operations] Added support for op.drop_constraint() to support PostrgreSQL
ExcludeConstraint objects, as well as other constraint-like objects
that may be present in third party dialects, by resolving the type_
parameter to be None for this case. Autogenerate has also been
enhanced to exclude the type_ parameter from rendering within this
command when type_ is None.
[bug] [commmands] Fixed issue where the revision_environment directive in alembic.ini
was ignored by the alembic merge command, leading to issues when other
configurational elements depend upon env.py being invoked within the
command.
[bug] [autogenerate] Fixed issue where the ForeignKeyConstraint.match parameter would not be
rendered in autogenerated migrations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some tests in test-inotify.py assume values for watch
descriptors. This is not safe, so we retrieve the
assigned values to compare with event information generated.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
For x86/x32 it was overwriting SWIG_FEATURES, its better to append it
like for other arches, in addition it brings essential options to remove
buildpaths from .so files.
Use OPENSSL_NO_FILENAMES define instead of overrding OPENSSL_FILE for
achieving reproducibility. Takes care of line numbers too.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Build failures with older cython 0.29 series
Optimize processing of records in RecordUpdateListener subclasses
Speed up the service registry with a cython pxd
Optimizing sending answers to questions
Optimize unpacking properties in ServiceInfo
Refactor notify implementation to reduce overhead of adding and removing listeners
Add cython pxd file for _listener.py to improve incoming message processing performance
Cythonize _listener.py to improve incoming message processing performance
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Removed code referencing bdist_wininst in install_scripts.
- Promote pyproject.toml’s [tool.setuptools] out of beta.
- Automatically add files listed in Extension.depends to sdists, as long as they
are contained in the project directory
- Require Python 3.8 or later.
- Made imports in editable installs case-sensitive on case-insensitive filesystems
- Use default encoding to create .pth files with editable_wheel.
- Detects (and complain about) scripts and gui-scripts set via setup.py when
pyproject.toml does not include them in dynamic.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed Any being removed from a subscript that still contains other elements
Fixed suppress_type_checks() causing annotated variable assignments to always assign None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Change accepted environment name rule: must be made up of factors defined in
configuration or match regex (pypy|py|cython|)((\d(\.\d+(\.\d+)?)?)|\d+)?.
- --override foo+=bar appending syntax will now work correctly when foo wasn't
defined in tox.ini.
- Disallow command line environments which are not explicitly specified in the config file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Added new helper methods for Atlas Search Index (requires MongoDB Server 7.0+).
Added Database.cursor_command to support
executing an arbitrary command that returns a cursor.
Improved bson encoding and decoding performance by up to 134%.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Protobuf News may include additional announcements or pre-announcements for
upcoming changes.
-Revert CopyFrom() optimization that was causing crashes back to
Serialize/Parse (protocolbuffers/upb@78e9694)
-Ruby: Fix object cache lookups on 32-bit platforms
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add Hungarian localization
-Revise Turkish localization
-Translate "thousand" to "千" for zh_CN
-Update docs link to https://humanize.readthedocs.io
-Move logic to convert aware datetime to naive into function
-Docs: fix formatting of return value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improvements in the connection rejected flow
Better handling of Gunicorn threaded worker
shutdown() method for the Engine.IO server
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix issue with regex flags in shell completion.
Bash version detection issues a warning instead of an error.
Fix issue with completion script for Fish shell.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Added two new floating point interpretations: float8_143 and float8_152.
-Auto initialistion from ints has been removed and now raises a TypeError.
-Explicitly specifying the 'auto' parameter is now disallowed rather than discouraged.
-Deleting, replacing or inserting into a bitstring resets the bit position to 0 if the
bitstring's length has been changed.
-Only empty bitstring are now considered False in a boolean sense.
-Casting to bytes now behaves as expected, so that bytes(s) gives the same result as
s.tobytes(). Previously it created a byte per bit.
-Pretty printing with the 'bytes' format now uses characters from the 'Latin Extended-A'
unicode block for non-ASCII and unprintable characters instead of replacing them with '.'
-When using struct-like codes you can now use '=' instead of '@' to signify native-
endianness. They behave identically, but the new '=' is now preferred.
-More fixes for LSB0 mode. There are now no known issues with this feature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Remove support for Python 3.7
Add hash dunder
Use OIDC for PyPI release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improved autogenerate compare of expression based indexes on PostgreSQL
to produce fewer wrong detections.
-Fixed issue with NULLS NOT DISTINCT detection in postgresql that
would keep detecting changes in the index or unique constraint.
-Added encoding="locale" setting to the use of Python's
ConfigParser.read(), so that a warning is not generated when using the
recently added Python feature PYTHONWARNDEFAULTENCODING specified in
PEP 597. The encoding is passed as the "locale" string under Python
3.10 and greater, which indicates that the system-level locale should be
used, as was the case already here.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-pyroute2 is upgraded to 0.7.9.
Fixes:
=================================================
tests/test_unit/test_iproute_match/test_match.py:10: in <module>
with open('test_unit/test_iproute_match/links.dump', 'r') as f:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_iproute_match/links.dump'
with open(sample, 'r') as buf:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_nlmsg/gre_01.dump'
=================================================
root@qemux86-64:~# ptest-runner python3-pyroute2
START: ptest-runner
2023-08-22T10:31
BEGIN: /usr/lib/python3-pyroute2/ptest
============================= test session starts ==============================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /usr/lib/python3-pyroute2/ptest
collected 103 items
PASS: tests/test_unit/test_addr_pool.py::test_alloc_aligned
PASS: tests/test_unit/test_addr_pool.py::test_alloc_odd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to the setup.py of v4.2.2 [1] the following runtime
dependencies are currently missing. Add them.
* packaging
* setuptools
[1] https://github.com/hardbyte/python-can/blob/4.2.2/setup.py
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
At least one of the following DISTRO_FEATURES needs to be present: X11 or
Wayland. The recipe now work with pure Wayland.
Signed-off-by: Marine Vovard <m.vovard@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Feature
--------
Improve performance responding to queries (#1217) (69b33be)
Expose flag to disable strict name checking in service registration (#1215) (5df8a57)
Speed up processing incoming records (#1216) (aff625d)
Speed up unpacking text records in ServiceInfo (#1212) (99a6f98)
Add a cache to service_type_name (#1211) (53a694f)
Speed up processing incoming records (#1206) (126849c)
Fix
-------
Remove typing on reset_ttl for cython compat (#1213) (0094e26)
Revert adding typing to DNSRecord.suppressed_by (#1210) (3dba5ae)
Revert DNSIncoming cimport in _dns.pxd (#1209) (5f14b6d)
Race with InvalidStateError when async_request times out (#1208) (2233b6b)
Improve performance of ServiceInfo.async_request (#1205) (8019a73)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Python 3.11 upgrade, drop 3.7 (use old version < 1.3 if desired in Python 3.7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Bugfixes
----------
Fix the type for the optional param asking for "full transactions" when subscribing to newPendingTransactions via eth_subscribe to bool. (#3067)
Improved Documentation
-----------------------
Change docs to reflect AsyncHTTPProvider does accept ENS names now (#3070)
Features
-----------
Return structured JSON-RPC errors for missing or unimplemented eth-tester methods. (#3061)
ENS name-to-address support for eth_subscribe. (#3066)
Asynchronous iterator support for AsyncWeb3 with WebsocketProviderV2 using async for syntax. (#3067)
Internal Changes - for web3.py Contributors
--------------------------------------------
Minor fixes to type hinting in the core tests setup fixtures. (#3069)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Python version specific classifiers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
--------
* --override can now take options in the form of foo+=bar which will append
bar to the end of an existing list/dict, rather than replacing it. (#3087)
* Make –hashseed default to PYTHONHASHSEED, if defined
The main motivation for this is to able to set the hash seed when building the
documentation with “tox -e docs”, and thus avoid embedding a random value in
the tox documentation for –help. This caused documentation builds to fail to
build reproducibly. (#2942)
Bugfixes
----------
* Update a regular expression in tests to match the exception message in both
Python 3.12 and older. (#3065)
Improved Documentation
------------------------
* Fix broken links
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
emoved usage of _PyBytes_Join and did a little tidying of the code that makes the result string.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Drop support for EOL python 3.6 / 3.7
Remove ContinueInFinally check (only relevant in python < 3.8)
Fix forward annotations inside a nested scope
Produce an error when a definition shadows an unused variable
Fix accessed global annotation being redefined in a local scope
Allow redefinition of functions across match arms
Fix potential None for lineno during tokenization errors
Add support for PEP 695 and python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix a regression in joblib.Parallel introduced in 1.3.0 where explicitly
setting n_jobs=None was not interpreted as "unset".
-Fix a regression in joblib.Parallel introduced in 1.3.0 where joblib.Parallel
logging methods exposed from inheritance to joblib.Logger didn't work because
of missing logger initialization.
-Various maintenance updates to the doc, the ci and the test.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Async queries could wait forever instead of respecting the timeout if the
timeout was 0 and a packet was lost. The timeout is now respected.
- Restore HTTP/2 support which was accidentally broken during the https
refactoring done as part of 2.4.0.
- When an inception time and lifetime are specified, the signer now sets
the expiration to the inception time plus lifetime, instead of the current
time plus the lifetime.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a .Coverage.collect context manager to start and stop coverage data collection.
- Dropped support for Python 3.7.
- Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode.
Coverage.py would fail with the error Safety level may not be changed inside
a transaction. This is now avoided, closing issue 1646.
- Docs: examples of configuration files now include separate examples for the
different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
- Fix: added nosemgrep comments to our JavaScript code so that semgrep-based
SAST security checks won't raise false alarms about security problems that
aren't problems.
- Added a CITATION.cff file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* use reconstructor function for pickling, see #207
* simplify implementation of '.reverse()'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed compatibility with asyncio.timeout() on Python 3.11+.
Added support for Python 3.11.
Dropped support for Python 3.6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- [feature] [operations] Added parameters if_exists and if_not_exists for index operations.
Pull request courtesy of Max Adrian.
- [usecase] [typing] Added typing to the default script mako templates.
- [usecase] [autogenerate] Added support in autogenerate for NULLS NOT DISTINCT in
the PostgreSQL dialect.
- [bug] Fixed format string logged when running a post write hook
Pull request curtesy of Mathieu Défosse.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switched RDEPEND to python3-modules as this is a complex package that is
still under fairly heavy development by python core contributors. It's
likely that the dependency list will change from release to release and
unlikely that anyone wanting type-checking will be object to having a
full python installation.
Note for anyone attempting to backport this, you'll need to add
python3-tomli to RDEPENDS as python < 3.11 won't be in the stdlib.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Cleanup naming from previous refactoring in ServiceInfo
Pin python-semantic-release to fix release process
No change re-release to fix wheel builds
Add missing if TYPE_CHECKING guard to generate_service_query
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for passing a tuple as expected_type to check_type(), making it
more of a drop-in replacement for isinstance()
- Fixed regression where Literal inside a Union had quotes stripped from its
contents, thus typically causing NameError to be raised when run
- Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when
typing_extensions>=4.6.0 is installed
- Fixed NameError when generated type checking code references an imported
name from a method
- Fixed docstrings disappearing from instrumented functions
- Fixed @typechecked failing to instrument functions when there are more than
one function within the same scope
- Fixed frozenset not being checked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Make float and int hashable.
Allow users to specify encoders for custom types.
Fix the incorrect sort when building a table with dotted keys.
Complete the methods required for integer and float items.
Replace the deprecated usage of datetime.utcnow().
Minor performance improvements when iterating over the escape sequences.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix serial startup problems. (#1701)
pass source_address in tcp client. (#1700)
serial server use source_address[0]. (#1699)
Examples coverage nearly 100%. (#1694)
new async serial (#1681)
Docker is not supported (lack of maintainer). (#1693)
Forwarder write_coil --> write_coil. (#1691)
Change default source_address to (0.0.0.0, 502) (#1690)
Update ruff to 0.0.277 (#1689)
Fix dict comprehension (#1687)
Removed requests dependency from contrib/explain.py (#1688)
Fix broken test (#1685)
Fix readme badges (#1682)
Bump aiohttp from 3.8.3 to 3.8.5 (#1680)
pygments from 2.14.0 to 2.15.0 (#1677)
Handle partial local echo. (#1675)
clarify handle_local_echo. (#1674)
async_client: add retries/reconnect. (#1672)
Fix 3.11 problem. (#1673)
Add new example simulator server/client. (#1671)
examples/contrib/explain.py leveraging Rapid SCADA (#1665)
_logger missed basicConfig. (#1670)
Bug fix for #1662 (#1663)
Bug fix for #1661 (#1664)
Fix typo in config.rst (#1660)
test action_increment. (#1659)
test codeql (#1655)
mypy complaints. (#1656)
Remove self.params from async client (#1640)
Drop test of pypy with python 3.8.
repair server_async.py (#1644)
move common framer to base. (#1639)
Restrict Return diag call to bytes. (#1638)
use slave= in diag requests. (#1636)
transport listen in server. (#1628)
CI test.
Integrate transport in server. (#1617)
fix getFrameStart for ExceptionResponse (#1627)
Add min/min to simulator actions.
Change to "sync client" in forwarder example (#1625)
Remove docker (lack of maintenance). (#1623)
Clean defaults (#1618)
Reduce CI log with no debug. (#1616)
prepare server to use transport. (#1607)
Fix RemoteSlaveContext (#1599)
Combine stale and lock. (#1608)
update pytest + extensions. (#1610)
Change version follow PEP 440. (#1609)
Fix regression with REPL server not listening (#1604)
Remove handler= for server classes. (#1602)
Fix write function codes (#1598)
transport nullmodem (#1591)
move test of examples to subdirectory. (#1592)
transport as object, not base class. (#1572)
Simple examples. (#1590)
transport_connect as bool. (#1587)
Prepare dev (#1588)
Release corrections. (#1586)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Import error when using create_api outside a REPL
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.11 support
-Massive improvements in performance for Interpreter (e.g. IPython) users.
This especially affects pandas users with large datasets.
-Add jedi.settings.allow_unsafe_interpreter_executions to make it easier for
IPython users to avoid unsafe executions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Added TRUST_EXPIRED to trust_keys. Thanks to Leif Liddy for the patch.
-Fix #206: Remove deprecated --always-trust in favour of --trust-model always
-Fix #208: Add status_detail attribute to result objects which is populated when
the status is 'invalid recipient' (encryption/decryption) or 'invalid signer'
(signing).
-Add scan_keys_mem() function to scan keys in a string. Thanks to Sky Moore
for the patch.
-Fix #214: Handle multiple signatures when one of them is invalid or unverified.
-A problems attribute was added which holds problems reported by gpg
during verification.
-Fix #217: Use machine-readable interface to query the gpg version. Thanks to Justus
Winter for the patch.
-Added the ability to export keys to a file. Thanks to Leif Liddy for the patch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Prevent allow_unsafe_werkzeug option from being passed to web servers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix typed value of ElementNode() if self.elem.text is None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Cython 3.0
Stop building wheels for PyPy 3.9 and PyPy 3.10, which stopped working for some reason
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
added several missed global variables from the argparse module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix an issue with type hints for @click.group()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Upgraded the vendored copy of llhttp_ to v8.1.1
Added information to C parser exceptions to show which character caused the error.
Fixed a transport is :data:None error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
align LICENSE wording with BSD-3-Clause
Copyright updated to 2023.
Changelog:
==========
Fix _is_builtin_module
minor changes from PR #554
align LICENSE wording with BSD-3-Clause
Python 3 Metaclasses [Support ABC and Enums - Part 1]
Abstract Base Classes [Support ABC and Enums - Part 2]
fix typo
Bump requests from 2.27.1 to 2.31.0 in /docs
Fixed crashed in _dill._is_builtin_module when a module's file is None
Bump pygments from 2.11.2 to 2.15.0 in /docs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
telnetlib3 is a Telnet client and server library for python.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not poison include paths with build system include and lib dirs
these paths get appended to cflags/ldflags when building the c extention
Fixes
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-pyaudio/0.2.13-r0/recipe-sysroot/usr/include/python3.11/pyconfig.h:23:10: fatal error: 'python3.11/pyconfig-32.h' file not found
| 23 | #include <python3.11/pyconfig-32.h>
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
- Use python_flit_core instead of setuptools3
- Modify 0001-sqlparse-change-shebang-to-python3.patch to apply on 0.4.4
- Remove CVE-2023-30608.patch since it's now upstream:
[tgamblin@megalith sqlparse]$ git tag --contains c457abd
0.4.4
Changelog (https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG):
Release 0.4.4 (Apr 18, 2023)
----------------------------
Notable Changes
* IMPORTANT: This release fixes a security vulnerability in the
parser where a regular expression vulnerable to ReDOS (Regular
Expression Denial of Service) was used. See the security advisory
for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
The vulnerability was discovered by @erik-krogh from GitHub
Security Lab (GHSL). Thanks for reporting!
Bug Fixes
* Revert a change from 0.4.0 that changed IN to be a comparison (issue694).
The primary expectation is that IN is treated as a keyword and not as a
comparison operator. That also follows the definition of reserved keywords
for the major SQL syntax definitions.
* Fix regular expressions for string parsing.
Other
* sqlparse now uses pyproject.toml instead of setup.cfg (issue685).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Move to LICENSE.txt
Changelog:
2022-12-26 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.13
* Move pyaudio.Stream to pyaudio.PyAudio.Stream.
The pyaudio.Stream class is now pyaudio.PyAudio.Stream, nested under the
existing pyaudio.PyAudio class. This should not affect existing code, as
directly accessing the module-level pyaudio.Stream class has always been
unsupported (use PyAudio.open instead). Accessing pyaudio.Stream
directly is deprecated and will raise a DeprecationWarning.
* Deprecate PaMacCoreStreamInfo's get_channel_map() and get_flags() methods.
Use the channel_map and flags properties, respectively, instead. Also
deprecates internal method _get_host_api_stream_object. Calling
deprecated methods will raise a DeprecationWarning.
* Package PyAudio as an actual package (directory).
Previously, the library deployed a single pyaudio.py file and a C
extension module to the root of site-packages. Now, the library deploys
a Python package.
* Add default shared library path for Homebrew installations on Apple Silicon.
* Refactor and cleanup.
- Refactor C extension for better maintainability.
- Add more unit tests.
- Update and modernize examples directory.
- Improve C and python style conformance, plus many cosmetic updates.
2022-07-18 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.12
- Modernize build process for Microsoft Windows, using the native toolchain.
Setuptool setup.py and INSTALL instructions are more streamlined.
Building from Cygwin/MinGW is no longer supported nor tested.
Thanks to Sean Zimmermann for the patches and general help!
- Change default frames per buffer size to paFramesPerBufferUnspecified.
Previously, pyaudio.py set a default frames per buffer size of 1024,
which can lead to dropped frames on some systems. Now, by default,
PortAudio selects the buffer size based on host and latency
requirements.
Thanks to Jason Hihn for the suggestion!
- Minor fixes and refactoring for compatibility with Python 3.7+.
Updates include:
* Remove call to deprecated PyEval_InitThreads() for Python 3.7+
* Use Py_ssize_t types in appropriate places (for Python 3.10+).
* Remove the min macro to ease compilation for Windows.
- Use the locale's preferred encoding to decode device names.
Thanks to Eiichi Takamori for the patch!
- Unit tests: add skipIf decorators to skip tests that require hardware.
Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that
require sound hardware, useful for (automated) test environments without
access to audio devices.
Thanks to Matěj Cepl for the suggestion and patch!
- Documentation, examples, and unit tests: various fixes.
* Add more unit tests and repair a few that test the GIL on macOS.
* Remove examples/error.py, which is redundant with tests/error_tests.py.
* Fix type documentation of return value types in docstrings.
Thanks to Vasily Zakharov for pointing out the return-value type errors!
- Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Adjust target lines in setup.py for LIC_FILES_CHKSUM, since the
content of interest has moved (but not changed)
- Tweak matplotlib-disable-download.patch to apply on 3.7.2
- Remove backported patch since it's in 3.7.2:
[tgamblin@megalith matplotlib]$ git log --oneline --grep="removed RandomNumberGenerator class"
601d92a885 removed RandomNumberGenerator class, included <random>, replaced random_shuffle with shuffle and used mersenne twister engine to generate uniform random bit generator for the shuffle.
[tgamblin@megalith matplotlib]$ git tag --contains 601d92a885
v3.7.0
v3.7.0rc1
v3.7.1
v3.7.2
Changelog: https://github.com/matplotlib/matplotlib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the CVE-2020-25657 patch, as it is fixed in 0.39.0:
[tgamblin@megalith m2crypto]$ git log --oneline --grep="CVE-2020-25657"
84c5395 Mitigate the Bleichenbacher timing attacks in the RSA decryption API (CVE-2020-25657)
[tgamblin@megalith m2crypto]$ git tag --contains 84c53958def0f510e92119fca14d74f94215827a
0.39.0
Changelog (https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES?ref_type=heads):
0.39.0 - 2023-01-31
-------------------
- SUPPORT FOR PYTHON 2 HAS BEEN DEPRECATED AND IT WILL BE
COMPLETELY REMOVED IN THE NEXT RELEASE.
- Remove dependency on parameterized and use unittest.subTest
instead.
- Upgrade embedded six.py module to 1.16.0 (really tiny
inconsequential changes).
- Make tests working on MacOS again (test_bio_membuf: Use fork)
- Use OpenSSL_version_num() instead of unrealiable parsing of .h
file.
- Mitigate the Bleichenbacher timing attacks in the RSA
decryption API (CVE-2020-25657)
- Add functionality to extract EC key from public key + Update
tests
- Worked around compatibility issues with OpenSSL 3.*
- Support for Twisted has been deprecated (they have their own
SSL support anyway).
- Generate TAP while testing.
- Stop using GitHub for testing.
- Accept a small deviation from time in the testsuite (for
systems with non-standard HZ kernel parameter).
- Use the default BIO.__del__ rather tha overriding in BIO.File
(avoid a memleak).
- Resolve "X509_Name.as_der() method from X509.py -> class
X509_Name caused segmentation fault"
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update-License: Change name from COPYING to LICENSE
No changelog provided. Commit log:
0b05203 (tag: v1.33) bump version to 1.33
45cfe90 Switch to GitHub actions (#144)
33562b0 Update license text to match official 3-clause-BSD (#142)
a76f742 feat(jsondiff): Add support for preserving Unicode characters (#145)
714df3c docs: fix simple typo, raies -> raise (#135)
e0b3a9b Merge pull request #134 from Ventilateur/b/fix-invalid-remove-index
46eef55 remove unused import
db194f8 fix invalid remove index
a652648 Merge pull request #132 from JulienPalard/mdk/TypeError
c9bfb91 FIX: TypeError when one forgot to put its operation in a list.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream states that the build backend is now flit, but inheriting
python_flit_core alone still causes the following error:
| ModuleNotFoundError: No module named 'setuptools'
|
| ERROR Backend 'setuptools.build_meta' is not available.
Instead, inherit python_setuptools_build_meta, which works OK.
Changelog: https://github.com/pallets/werkzeug/blob/main/CHANGES.rst
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The udev file was updated and renamed in 1.1 to 50-snagboot.rules.
Changelog (https://github.com/bootlin/snagboot/releases/tag/v1.1):
- udev: use uaccess tags instead of group assignments
- fix and test i.MX8QM and i.MX93 supports
- homogenize i.MX firmware configuration interfaces
- don't require contributors to modify license headers
- fix README links on PyPI
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project uses poetry now, so inherit python_poetry_core
- Add python3-asyncio and python3-compression to RDEPENDS
Changelog (https://github.com/amoffat/sh/blob/develop/CHANGELOG.md):
2.0.4 - 5/13/22
- Allow ok_code to be used with fg #665
- Make sure new_group never creates a new session #675
2.0.2 / 2.0.3 (misversioned) - 2/13/22
- Performance regression when using a generator with _in #650
- Adding test support for python 3.11
2.0.0 - 2/9/22
- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts #636
- Added basic asyncio support via _async
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as stdin
- RunningCommand.__eq__ no longer has the side effect of executing the command #518
- _tee now supports both "err" and "out" #215
- Removed the builtin override cd link
- Altered process launching model to behave more expectedly #495
- Bugfix where _no_out isn't allowed with _iter="err" #638
- Allow keyword arguments to have a list of values #529
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Update to point at the proper license file with correct checksum.
Previously it was pointing at a subset of a PKG-INFO file, which was
a legacy output from distutils
- Update build backend and include python3-setuptools-scm-native in
DEPENDS
- Modify ptest installation and run-ptest script since the tests have
been moved into their own folder
Changelog: https://github.com/python-semver/python-semver/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The LICENSE file's copyright year was updated, so the checksum changed.
rdflib now uses poetry as the backend, so switch from setuptools3.
Changelog: https://github.com/RDFLib/rdflib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pandas now requires versioneer, so add that to the DEPENDS list. The
LICENSE checksum changed but this was due to line endings and not a
difference in content.
Changelog: https://github.com/pandas-dev/pandas/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to using git and a SRCREV to make sure we can keep the ptests.
Changelog (https://github.com/r1chardj0n3s/parse/releases):
- Add support for sign specifiers in number formats. by @anntzer in #134
- Fix handling of unused alignment by @tomerha in #132
- modern packaging by @wimglenn in #151
- universal wheel by @wimglenn in #155
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This module is required by newer versions of pandas, so add it as a
recipe.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
humanize moved to hatchling as a build backend, so adjust the recipe to
match.
Changelog: https://github.com/python-humanize/humanize/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to python_setuptools_build_meta.
No changelog provided Commit history:
a4643c4 (HEAD -> main, tag: v2.0.2, origin/main, origin/HEAD) Release 2.0.2
87269f0 Remove redundant wheel dep from pyproject.toml
e30d3c4 (tag: v2.0.1) Release 2.0.1
36b348a Require a current version of Python
e189f4b Revert breaking API changes
868e9d0 Format with Black
5f4f424 Strip quotes from string stats
a31ad74 Add __repr__ to Job and Client
ebbb0f2 Improve names of private parsing functions
3ff9ef1 Use phony targets in Makefile
4feaf07 Format with Black
2c9165f Add test for drain mode
5068dc2 Enable strict mode in mypy
383176c Add type hints to integration test decorator
6fb0a48 Polish documentation
e8c5f20 Fix reportUnknownVariableType Pylance warnings
e7ac1da Polish API reference
9a384a8 Remove __slots__ from Job
45c53b4 Polish error handling
4f79e7c Document and type hint Job attributes
0f576a0 Remove sphinx-autodoc-typehints dev dependency
29a5499 Always use bytes for job bodies
3dc6430 Make it clear the requirements are for development
db496d5 Add command for building HTML docs
da73ed0 Fix Sphinx import path
c93efc0 Update link after changing default branch to main
7fc7eef Add PEP 561 py.typed marker file
5174142 Switch to package directory structure
40a9149 Add python_requires
18196e2 Add project_urls
59e3f99 Avoid installing unnecessary dependencies on CI
764f5bf Stop checking code coverage by default
45de080 Remove Codecov integration
1f0baf6 Specify license with license_files
74cad3b Switch to declarative package configuration
9e6aebb Remove unused Flake8 ignore
48cecff Use variable annotation syntax
56387c8 Drop support for Python 3.5
62e4bbf Update CI to only send one coverage report
d168cff Move CI to GitHub Actions
6281716 Add 3.9 to list of supported Python versions
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
flask has migrated to using pyproject.toml, so we need
python_setuptools_build_meta instead of setuptools3.
Changelog: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
execnet requires hatchling and hatch-vcs now, instead of setuptools.
Changelog (https://github.com/pytest-dev/execnet/blob/master/CHANGELOG.rst):
2.0.2 (2023-07-09)
- Re-release without code changes, just to include tox.ini into the source distribution.
2.0.1 (2023-07-08)
- Re-release without code changes, just to include docs and tests into the source distribution.
2.0.0 (2023-07-06)
- Removed support for Python < 3.7.
- Applied pyupgrade --py37-plus.
- Minimal mypy fixes and dropped Python 2 support code.
- Migrated packaging to hatch.
- Dropped deprecated APIs of old makegateway names.
- Removed py testing dependency.
- Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195).
- Fixed error when loading source code files from a path containing non-ascii characters.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
blinker now needs setuptools.build_meta instead of setuptools3.
Changelog (https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst):
Version 1.6.2
Released 2023-04-12
- Type annotations are not evaluated at runtime. typing-extensions is not a runtime dependency. :pr:`94`
Version 1.6.1
Released 2023-04-09
- Ensure that py.typed is present in the distributions (to enable other projects to use blinker's typing).
- Require typing-extensions > 4.2 to ensure it includes ParamSpec. :issue:`90`
Version 1.6
Released 2023-04-02
- Add a muted context manager to temporarily turn off a signal. :pr:`84`
- Allow int senders (alongside existing string senders). :pr:`83`
- Add a send_async method to the Signal to allow signals to send to coroutine receivers. :pr:`76`
- Update and modernise the project structure to match that used by the pallets projects. :pr:`77`
- Add an intial set of type hints for the project.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://github.com/scott-griffiths/bitstring/releases
The LICENSE checksum changed but this is because of a difference in line
endings; the content is the same.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has stopped using setuptools in favor of poetry, so inherit
python_poetry_core instead.
Changelog (https://github.com/ludeeus/awesomeversion/releases/tag/23.5.0):
- Add CI for Python 3.11 by @ludeeus in #191
- Add demo page by @ludeeus in #195
- Add better styles to demo by @ludeeus in #197
- Remove setuptools from dev-dependencies by @ludeeus in #202
- Update demo with compare by @ludeeus in #219
- Add Python 3.12 to CI by @ludeeus in #222
- Add in_range helper method by @ludeeus in #224
- Restructure README contents by @ludeeus in #225
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://docs.djangoproject.com/en/4.2/releases/4.2.3/
Django 4.2.3 fixes a security issue with severity “moderate” and several
bugs in 4.2.2.
CVE-2023-36053: Potential regular expression denial of service
vulnerability in EmailValidator/URLValidator
EmailValidator and URLValidator were subject to potential regular
expression denial of service attack via a very large number of domain
name labels of emails and URLs.
Bugfixes
- Fixed a regression in Django 4.2 that caused incorrect alignment of
timezone warnings for DateField and TimeField in the admin (#34645).
- Fixed a regression in Django 4.2 that caused incorrect highlighting of
rows in the admin changelist view when ModelAdmin.list_editable
contained a BooleanField (#34638).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-release 20.23.1
-Fix the CI
-Quickstart guide
-Updated CLI documentation with config file name
-Exclude dependabot and pre-commit ci from release notes
-Export VIRTUAL_ENV_PROMPT in activation scripts (#2194)
-Upgrade setuptools
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>