Changelog:
===========
- Allowed scheme replacement for relative URLs if the scheme does not require a host
- Allowed empty host for URL schemes other than the special schemes listed in the WHATWG URL spec
- Loosened restriction on integers as query string values to allow classes that implement __int__
- Improved performance of normalizing paths
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix failing URL normalization tests
- Disable protocols checking with elementpath v4.5.0
- Extended ModelVisitor to make it usable as an helper class for generating content
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:
Updated to Unicode 16.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Bump changelog.
- Bump deps, version.
- Only include the changelog in the sdist package.
- [data] describeTypes.json updated.
- Openioc.py is not a script, but had exec bit.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix readme download target
- Split build and publish for release
- Use upstream setup-uv with uv python
- Bump astral-sh/setup-uv from 2 to 3
- [pre-commit.ci] pre-commit autoupdate
- don't include outdated changelog in docs
- Fix multi-path returned from _path methods on MacOS
- Use uv as installer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Adds support for Python 3.13.
- Greatly reduce the chances for crashes during interpreter shutdown.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* [fix] os.read/write waits until file descriptor is ready.
* [fix] Upgrade RLocks as last thing we do
* [security] drop header keys with underscores
* [doc] Various doc updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix and clean node trees iteration methods
- Fix missing raw string for '[^rn]'
- Full and more specific type annotations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop the patch to disable strip instead set the env variable.
set UJSON_BUILD_NO_STRIP=1 and get rid of one pending patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.
CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.
CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.
CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.
CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.
CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.
CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.
CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.
CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.
CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.
CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.
CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.
CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.
CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.
CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.
CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.
CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.
Fixed a crash in Django 4.2 when validating email max line lengths with content
decoded using the surrogateescape error handling scheme (#35361)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Improve performance when IP addresses change frequently
- Improve helpfulness of ServiceInfo.request assertions
- Improve performance of ip address caching
- Enable building of arm64 macOS builds
- Add classifier for python 3.13
- Python 3.13 support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed joining a path when the existing path was empty
- Added :meth:URL.without_query_params() <yarl.URL.without_query_params> method,
to drop some parameters from query string
- The previously protected types _SimpleQuery, _QueryVariable, and _Query are
now available for use externally as SimpleQuery, QueryVariable, and Query
- Replaced all :class:~typing.Optional with :class:~typing.Union
- Significantly improved performance of parsing the network location
- Added internal types to the cache to prevent future refactoring errors
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Enable OS specific Mypy checks
- [watchmedo] Fix tricks argument type of schedule_tricks()
- [kqueue] Fix TypeError: kqueue.control() only accepts positional parameters
- Drop support for Python 3.8
- [core] Enforced usage of proper keyword-arguments
- [core] Renamed the BaseObserverSubclassCallable class to ObserverType
- [inotify] Renamed the inotify_event_struct class to InotifyEventStruct
- [inotify] Renamed the UnsupportedLibc exception to UnsupportedLibcError
- [inotify] Removed the InotifyConstants.IN_CLOSE constant
- [watchmedo] Renamed the LogLevelException exception to LogLevelError
- [watchmedo] Renamed the WatchdogShutdown exception to WatchdogShutdownError
- [windows] Renamed the FILE_NOTIFY_INFORMATION class to FileNotifyInformation
- [windows] Removed the unused WATCHDOG_TRAVERSE_MOVED_DIR_DELAY constant
- [core] Enable disallow_untyped_calls Mypy rule
- [core] Enable disallow_untyped_defs Mypy rule
- [core] Improve typing references for events
- [inotify] Add support for IN_CLOSE_NOWRITE events.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support for setuptools 74
- iOS and Android support
- Fix for distutils change
- Remove test directives
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Speed up Hatch installation
- Test with Python 3.13
- Test with latest PyPy
- Use include-hidden-files: true to upload coverage artifacts
- Ensure PlatformDirs is valid superclass type for mypy AND not an abstract class for other checkers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- UPDATE: parse_type/parse.py
- Copy structured test suite to "tests/parse_tests/"
- Copy structured test suite to "tests/parse_tests_with_parse_type"
- REMOVE: tests/test_parse.py
- README: Fix compact display of BADGES (was using multi-line)
- CI: Add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix the build infrastructure
- drop support for Python 3.7
- add support for Python 3.13
- update linking strategy on Windows when building wheels
License-Update: Copyright year updated to 1.4.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- autocall was beeing call getitem
- Only copy files in startup dir if we just created it.
- Fix some tests on Python 3.13 RC1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Reintroduced supposedly-private URLTypes shortcut.
- Support for zstd content decoding using the python zstandard package is added.
Installable using httpx[zstd].
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Test Python 3.13
- Add 3.13 to CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- add 3.13 to setup.cfg classifiers
- test: optimized test preformance by moving deadcode check to the end (#89)
- Catch exception if node is in unexpected statement (#84)
- Merge pull request #80 from alexmojaki/3.13
- doc: review changes
- fix: removed unused verification
- fix: handle __firstlineno__
- refactor: review changes
- test: skip module tests for now
- test(3.13): added sample_results
- fix: skip files with raise an recursion error in 3.13, because the recursion limit has no effect
- fix: allow to LOAD_FAST variables for TypeVars
- test: fixed tests for 3.13.0b1
- test(3.13): handle optimization of not not x
- fix(3.13): a type variable can also have nonlocal variables
- fix(3.13): COMPARE_OP maps always to ast.Compare
- fix(3.13): a async function can also have nonlocal variables
- fix(3.13): a lambda can also have nonlocal variables
- fix(3.13): handle CALL_KW like method calls which are only located by the end position
- fix(3.13): loading of __class__ is mapped to the last element of the class
- fix(3.13): handle STORE_FAST_STORE_FAST and similar instructions as known issues
- fix(3.13): fixed typing errors
- build(3.13): added 3.13 to ci workflow
- fix(3.13): added new rules to the verification
- fix(3.13): show_caches is deprecated
- fix: backward compatibility fix for changed source positions in 3.12.5 (#82) (#83)
- Add many_calls tests to EXECUTING_SLOW_TESTS (#78)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
=======
- Ensure build uses cython3
- Add missing cython version pin to the build system
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A vulnerability in corydolphin/flask-cors version 4.0.1 allows the
`Access-Control-Allow-Private-Network` CORS header to be set to true
by default, without any configuration option. This behavior can expose
private network resources to unauthorized external access, leading to
significant security risks such as data breaches, unauthorized access
to sensitive information, and potential network intrusions.
References:
https://nvd.nist.gov/vuln/detail/CVE-2024-6221
Upsteam-Patch:
7ae310c56a
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Update incorrect or incomplete constants in distutils
- Use Generator instead of Iterator for 3rd-party context managers
- Bump mypy to 1.11.1
License-Update:
License changed from "Apache-2.0 license" to "Apache-2.0"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- An inconsistency in Float/Rational comparisons was fixed. SymPy 1.13 made it
so that Rational(n) != Float(n) but this was inconsistent in the case of
Rational(0) == Float(0) and Float(0) == Rational(0) which gave different
results.
- Fixed a bug that caused LambertW to hang on specific inputs.
- A regression introduced in SymPy 1.13 in the heurisch integration routine was
fixed. The regression prevented some integrals from being evaluated.
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.13.
- Dropped wheel support for Python 2.7 on macOS.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Properly preserve escaped '{' and '}' in fstrings in logical lines in 3.12+.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix a 64-bit-ism in the test suite so the tests don't encounter a false
negative on 32-bit systems.
- Modify a test-harness skiptest check to work with newer versions of
Cryptography.
- Massage our import of the TripleDES cipher to support Cryptography >=43;
this should prevent CryptographyDeprecationWarning from appearing upon import.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add many Meta option to Schema so it expects a collection by default
- Refactor hooks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Deferred import of inspect for import performance.
- Disallow passing of 'dist' to EntryPoints.select.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- minor docs fixes
- worker_class parameter accepts a class
- fix deadlock if request terminated during chunked parsing
- permit receiving Transfer-Encodings: compress, deflate, gzip
- permit Transfer-Encoding headers specifying multiple encodings. note: no parameters, still
- sdist generation now explicitly excludes sphinx build folder
- decode bytes-typed status (as can be passed by gevent) as utf-8 instead of raising TypeError
- raise correct Exception when encounting invalid chunked requests
- the SCRIPT_NAME and PATH_INFO headers, when received from allowed forwarders, are no longer restricted for containing an underscore
- include IPv6 loopback address [::1] in default for forwarded_allow_ips and proxy_allow_ips
- refuse requests where the uri field is empty
- refuse requests with invalid CR/LR/NUL in heade field values
- remove temporary --tolerate-dangerous-framing switch from 22.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Chaneglog:
============
- Run mypy locally via pre-commit hook, bump to mypy==1.10.0
- Updates to the latest eth-typing to use new ABI types for improved type
checking in existing ABI utility functions.
- Contract Application Binary Interface (ABI) utilities to obtain type and
value information for functions and events.
- Merge template to use bump-my-version and update release Make commands.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Use dbus-run-session to drop X11 dependency
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed :meth:aiohttp.ClientResponse.json() not setting status
when :exc:aiohttp.ContentTypeError is raised
- Improved performance of the WebSocket reader
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add support for python 3.13
- Fix a trivial typo in readme.md
- Correct classifier for license python-2.0.1
- Adjust license to python-2.0.1
- Remove upper bound on python requirement
- Preserve errno if all exceptions have the same errno
- Adjust license classifier to better reflect license terms
- Add link to happy eyeballs explanation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing COPYING file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the Apache-2.0 license containing LICENSE file
in the downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apply some changes to recipe content ordering and indentation style
from oe-stylize.py.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apply suggestions to recipe content ordering and indentation style from
oe-stylize.py and also remove the duplicate DEPENDS line for
python3-setuptools-scm-native.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Both project pypi page: https://pypi.org/project/cbor2/ as well as
https://github.com/agronholm/cbor2/blob/5.6.4/LICENSE.txt state that it
is subject to MIT rather than Apache-2.0 license. Also update
LIC_FILES_CHKSUM value to reference the LICENSE.txt file from the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
_mask.c is generated by cython and encodes sourcepaths into
comments which are absolute. Edit them out.
Fixes buildpaths QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pandas 2.2.2 is the first version compatible with numpy 2.0.x.
The package now uses meson as the build backend, so change the recipe to
inherit that.
Its pyproject.toml pins required versions for Cython and meson, but
newer upstream pandas releases are using different versions and
compatibility strings, so just add an OE-specific patch to relax the
requirements a bit for us.
Changelog: https://pandas.pydata.org/pandas-docs/version/2.2.2/whatsnew/v2.2.2.html
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is no changelog but there are few improvements relevant for the build:
- python3-six and python3-attrs are no longer dependencies
- We can start using python_setuptools_build_meta
- PYPI_PACKAGE doesn't need to be overridden since the default is now the correct ('automat' instead of 'Automat')
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the following issue:
python3[677]: Traceback (most recent call last):
python3[677]: File "/usr/lib/python3.12/site-packages/myownscript.py", line 9, in <module>
python3[677]: from twisted.internet import defer
python3[677]: File "/usr/lib/python3.12/site-packages/twisted/internet/defer.py", line 44, in <module>
python3[677]: import attr
python3[677]: ModuleNotFoundError: No module named 'attr'
Currently python3-attrs is provided indirectly by python3-automat. But when
python3-automat is updated to >= 24.8.1, python3-attrs is no longer indirectly
provided. The twisted recipe must declare the dependency on python3-attrs.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cython does not provide a direct option to disable or customize
the metadata written in the generated C files. The metadata
includes information like the Cython version and absolute paths to
the original Cython files, which can be problematic for doing
reproducible builds
Therefore edit out these comments from the cython generated C files
they are nicely tucked between two known tags at the top of file.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.2:
- Restore support for soft-deprecated members of the typing module
with python 3.13.
- Fix a crash introduced in 3.3.0 involving invalid format strings.
- Add support for Python 3.13.
- Remove support for Python 3.8 (and constants PY38, PY39_PLUS,
and PYPY_7_3_11_PLUS).
- Add the __annotations__ attribute to the ClassDef object model.
- Implement inference for JoinedStr and FormattedValue
- Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.8.0:
- set requires-python to 3.8
- use zoneinfo instead of pytz where possible
- No need to call datetime.replace for utc_now
- Patch pprint to make pytest diffs nicer for big objects
- uprev test, lint and docs dependencies
- Support Python 3.13
- Uprev version
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.20.0. Added validations at compile time:
- required must have unique items
- checking if schema is not allowing required items (item is
required, but is not listed in properties)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6:
- Add official support for Python 3.13.
- Add support for & as scoping root per the CSS Nesting Module,
Level 1. When & is used outside the context of nesting, it is
treated as the scoping root (equivalent to :scope).
- Improve error message when an unrecognized pseudo-class is used.
License-Update: Update years.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.0.2:
- Add support for Python 3.13
- [core] Run ruff, apply several fixes
- [core] Remove execution rights from events.py
- [documentation] Update PatternMatchingEventHandler docstrings
- [documentation] Simplify the quickstart example
- [fsevents] Add missing event_filter keyword-argument to
FSEventsObserver.schedule()
- [utils] Fix a possible race condition in AutoRestartTrick
- [watchmedo] Remove execution rights from watchmedo.py
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.10.3:
- Fixed multipart reading when stream buffer splits the boundary
over several read() calls
- Fixed :py:class:aiohttp.TCPConnector doing blocking I/O in the
event loop to create the SSLContext
- Improved performance of :py:meth:~aiohttp.ClientWebSocketResponse.receive
and :py:meth:~aiohttp.web.WebSocketResponse.receive when there
is no timeout
- Improved performance of starting request handlers with Python 3.12+
- Improved performance of HTTP keep-alive checks
- Improved performance of generating random WebSocket mask
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.35.0:
- Ensure video stream is closed when closing the pyAV plugin
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.6.1:
- Add IP fields to DEFAULT_FIELD_MAPPING (:pr:`892) to document
format
- MarshmallowPlugin: Fix handling of Nested fields with
allow_none=True
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-apispec-6.6.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
flit_core.buildapi, use the correct class [pep517-backend]
License-Update: Remove years from LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.2:
- Bug: Decorate models appropriately when HierarchicalMachine is
passed to add_state
- Bug: Let may_<trigger> check all parallel states in processing
order
- Bug: HSM.is_state works with parallel states now
- Feature: Add may_trigger to models to check whether transitions
can be conducted by trigger name
- Feature: Add Mermaid diagram backend that returns a mermaid
diagram as a string. use_pygraphviz is deprecated in favour for
graph_engine which may be pygraphviz (default), graphviz or
mermaid
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.11.0:
- Attest build provenance of artifacts
- Add field selection to CSV and JSON outputs
- Add options to disable escaping HTML tables
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
More specifically drop python3-twisted-core from RDEPENDS:incremental-scripts
This is a change made in incremental 24.7.0
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Twisted 24.7.0 (2024-08-08)
===========================
24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (#12279)
No other changes since 24.7.0.rc2
Security Advisories
-------------------
- twisted.web.util.redirectTo now HTML-escapes the provided URL in the fallback response body it returns (GHSA-cf56-g6w6-pqq2, CVE-2024-41810). (#9839)
- The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure (CVE-2024-41671/GHSA-c8m8-j448-xjx7) (#12248)
Features
--------
- twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (#9645)
- twisted.internet.defer.inlineCallbacks can now yield a coroutine. (#9972)
- twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (#12065)
- twisted.web.wsgi request environment now contains the peer port number as `REMOTE_PORT`. (#12096)
- twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. (#12122)
- Added two new methods, twisted.logger.Logger.failuresHandled and twisted.logger.Logger.failureHandler, which allow for more concise and convenient handling of exceptions when dispatching out to application code. The former can arbitrarily customize failure handling at the call site, and the latter can be used for performance-sensitive cases where no additional information needs to be logged. (#12188)
- twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (#12223)
- twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (#12227)
Bugfixes
--------
- twisted.internet.ssl.Certificate.__repr__ can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (#5851)
- Type annotations have been added to twisted.conch.interfaces.IKnownHostEntry and its implementations, twisted.conch.client.knownhosts.PlainHost and twisted.conch.client.knownhosts.HashedHost, correcting a variety of type confusion issues throughout the conch client code. (#9713)
- twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (#12112)
- twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive `conch` command-line no longer will either. (#12141)
Improved Documentation
----------------------
- The IRC server example found in the documentation was updated for readability. (#12097)
- Remove contextvars from list of optional dependencies. (#12128)
- The documentation for installing Twisted was moved into a single page. (#12145)
- The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (#12167)
- Updated imap4client.py example, it no longer references Python 2. (#12252)
Deprecations and Removals
-------------------------
- twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard `return` statement. (#9930)
- The `twisted-iocpsupport` is no longer a hard dependency on Windows.
The IOCP support is now installed together with the other Windows soft
dependencies via `twisted[windows-platform]`. (#11893)
- twisted.python.deprecate helper function will now always strip whitespaces from the docstrings.
This is done to have the same behaviour as with Python 3.13. (#12063)
- twisted.conch.manhole.ManholeInterpreter.write, twisted.conch.manhole.ManholeInterpreter.addOutput, twisted.mail.imap4.IMAP4Server.sendUntaggedResponse `async` argument, deprecated since 18.9.0, has been removed. (#12130)
- twisted.web.soap was removed.
The SOAP support was already broken, for at least the last 4 years.
The SOAP support in Twisted has no active maintainer. (#12146)
Misc
----
- #11744, #11771, #12113, #12154, #12169, #12179, #12193, #12195, #12197, #12215, #12221, #12243, #12249, #12254, #12259, #12669
Conch
-----
Bugfixes
~~~~~~~~
- twisted.conch.insults.window.Widget.functionKeyReceived now dispatches functional key events to corresponding `func_KEYNAME` methods, where `KEYNAME` can be `F1`, `F2`, `HOME`, `UP_ARROW` etc. This is a regression introduced with #8214 in Twisted 16.5.0, where events changed from `const` objects to bytestrings in square brackets like `[F1]`. (#12046)
Web
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-gevent-24.2.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- python3-greenlet was supposed to be native because of the python3-gevent build. It's python3-gevent's dependency.
Fix:
WARNING: python3-greenlet-3.0.3-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-django-5.0.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-py-cpuinfo-9.0.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyasn1-modules-0.4.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyjwt-2.8.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyroute2-0.7.12-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-metadata, it is by default.
Fix:
WARNING: python3-pytest-metadata-2.0.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-timeout, it is by default.
Fix:
WARNING: python3-pytest-timeout-2.3.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-regex-2024.7.24-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-parse-type-0.6.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-service-identity-21.1.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.5.0:
- Use project.scripts instead of setuptools scripts
- Test infrastructure improvements
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-argcomplete-3.4.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.11:
- More pathlib related fixes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-sniffio-1.3.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.0:
- Drop support for Python 3.7
- Use modern packaging metadata with pyproject.toml instead of
setup.cfg
- Use flit_core instead of setuptools as build backend
- Deprecate the __version__ attribute. Use feature detection, or
importlib.metadata.version("itsdangerous"), instead.
- Serializer and the return type of dumps is generic for type
checking. By default it is Serializer[str] and dumps returns a
str. If a different serializer argument is given, it will try to
infer the return type of its dumps method.
- The default hashlib.sha1 may not be available in FIPS builds.
Don't access it at import time so the developer has time to
change the default.
License-Update: Renamed from LICENSE.rst to LICENSE.txt
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We've seen TMPDIR [build-paths] contamination in the
built pydantic_core/_pydantic_core.cpython-*-*-linux-gnu.so
See discussion upstream in:
https://github.com/pydantic/pydantic-core/issues/1365
Backport fix from:
e07c41b3ba
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add to ptest-packagelists-meta-python.inc META_PYTHON_PTESTS_FAST
Install ${S}/VERSION to PTEST_PATH for test_version
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python package providing IANA time zone data
This is a Python package containing zic-compiled binaries for the IANA time
zone database. It is intended to be a fallback for systems that do not have
system time zone data installed (or don't have it installed in a standard
location), as a part of PEP 615
https://tzdata.readthedocs.io/en/latest/
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.8.0:
- The handshake metadata for "os.name" on Windows has been
simplified to "Windows" to improve import time.
- The repr of bson.binary.Binary is now redacted when the subtype
is SENSITIVE_SUBTYPE(8).
- Secure Software Development Life Cycle automation for release
process.
- GitHub Releases now include a Software Bill of Materials, and
signature files corresponding to the distribution files released
on PyPI.
- Fixed a bug in change streams where both startAtOperationTime and
resumeToken could be added to a retry attempt, which caused the
retry to fail.
- Fallback to stdlib ssl module when pyopenssl import fails with
AttributeError.
- Improved performance of MongoClient operations, especially when
many operations are being run concurrently.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a hatchling plugin to read project dependencies from
requirements.txt, release 0.4.1.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.10.1:
- Fixed WebSocket server heartbeat timeout logic to terminate
:py:meth:~aiohttp.ClientWebSocketResponse.receive and return
:py:class:~aiohttp.ServerTimeoutError
- Fixed url dispatcher index not matching when a variable is
preceded by a fixed string after a slash
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.6.1:
- Fix: coverage used to fail when measuring code using
runpy.run_path <python:runpy.run_path> with a Path
<python:pathlib.Path> argument. This is now fixed.
- Fix: backslashes preceding a multi-line backslashed string could
confuse the HTML report. This is now fixed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-coverage-7.6.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update to the latest upstream released version.
Add a PYPI_PACKAGE entry to the recipe. Otherwise, during final image
assembly, an error similar to the following would occur due to the fact
the yocto package name (which includes dashes) differs from the download
filename (which includes underscores). NOTE: this would happen with all
package types, not just ipk:
ERROR: core-image-base-1.0-r0 do_rootfs: Unable to install packages. Command '/scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/opkg.conf -t /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/temp/ipktemp/ -o /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/rootfs --force_postinstall --prefer-arch-to-version <package list including python3-matplotlib-inline...> returned 255:
* opkg_solver_install: No candidates to install python3-matplotlib-inline (null)!
Add additional devtool-discovered information:
- update the build mechanism to include python_setuptools_build_meta
- add the RDEPENDS
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as aioserial, it is by default.
- The upstream pyproject.toml says it needs to be built with the Poetry frontend, but that's deprecated behaviour and it should use the Poetry Core API instead.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-lazy-object-proxy-1.10.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-portion-2.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as ipython, it is by default.
Fix:
WARNING: python3-ipython-8.26.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with _build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- There is no need to set SRC_URI with PYPI_SRC_URI, it is already used by default in the pypi class.
Fix:
WARNING: python3-lru-dict-1.3.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as xmlschema, it is by default.
- install_requires is a keyword that should be used to specify what a project minimally needs to run correctly. Elementpath is not needed for the project to build, but it is needed to run, so it has been removed from DEPENDS.
Fix:
WARNING: python3-xmlschema-3.3.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyudev-0.24.3-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-luma-oled-3.13.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Also, there is no need to set PYPI_PACKAGE_EXT as tar.gz because tar.gz is used by default.
Fix:
WARNING: python3-dill-0.3.8-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-joblib-1.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-file-magic-0.4.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyproj-3.6.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-qrcode-7.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-evdev-1.7.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-click-repl-0.3.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-screeninfo-0.8.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-term-2.5-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pyaudio-0.2.14-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-can-4.2.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-pymongo-4.7.3-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-brotli-1.1.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-dbus-fast-2.22.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-bitstruct-8.19.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the hatchling.build PEP-517 backend.
Fix:
WARNING: python3-eventlet-0.36.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-classes-0.4.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-lazy-1.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-multidict-6.0.5+git-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-pycares-4.4.0-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-aiosignal-1.3.1-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.10.0:
- Fixed server response headers for Content-Type and Content-Encoding
for static compressed files
- Fixed duplicate cookie expiration calls in the CookieJar
implementation
- Adjusted FileResponse to check file existence and access when
preparing the response
- Fixed AsyncResolver to match ThreadedResolver behavior
- Fixed ws_connect not respecting receive_timeout` on WS(S)
connection
- Removed blocking I/O in the event loop for static resources and
refactored exception handling
- Added a Request.wait_for_disconnection() method, as means of
allowing request handlers to be notified of premature client
disconnections
- Added a feature to retry closed connections automatically for
idempotent methods
- Added server capability to check for static files with Brotli
compression via a .br extension
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug fixes:
- fix requesting lines by name with multiple entries
- fix a use-after-free bug in python bindings
- fix passing the event clock property to line requests in python bindings
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-configobj-5.0.8-r0 do_check_backend:
QA Issue: inherits setuptools3
but has pyproject.toml with setuptools.build_meta,
use the correct class [pep517-backend]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The recipe for pydantic currently is at version 2.7.2. This
project specifies in its pyproject.toml that it depends on
pydantic-core version 2.18.4. Because an older 2.16.3 version
of pydantic-core was used now, a simple bit of code will break.
from enum import Enum
from pydantic import BaseModel
class Color(str, Enum):
RED = "RED"
BLUE = "BLUE"
class Car(BaseModel):
color: Color
print(Car(color=Color.RED))
This will upgrade the python3-pydantic-core recipe to make it
compatible with python3-pydantic, so that the above snippet of
code will no longer fail.
Two patches are removed, these backports are now included in the
upstream code. A new patch is added to set the required rust
compiler from 1.76 to 1.75. Version 1.76 is not actually needed.
File python3-pydantic-core-crates.inc is regenerated by running
'bitbake -c update_crates python3-pydantic-core'.
The recipes RDEPENDS now includes python3-compression. The pydantic
schema validator imports 'importlib.metadata' which wants to import
'zipfile'.
The buildpaths QA check is skipped. This should be fixed at some
point, but it was already failing before this change.
Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Our python3-protobuf is installed in standard site-packages location,
there's no need for an extra .pth file. So this .pth is useless.
What's worse, this .pth file is problematic for python 3.12 ptest. It will
cause the following test case to hang forever:
test.test__xxsubinterpreters.CreateTests.test_in_thread
I've filed an issue[1] for cpython. Until the problem is resolved there,
we should avoid packaging this .pth file.
In fact, Debian also removes this file in the rules file, though their reason
for removal is likely that the file is useless.
rules: find $(CURDIR)/debian/python3-protobuf -name 'protobuf-*-nspkg.pth' -delete
Some more information below, just for better tracking:
1. That .pth file is way too complicated according to .pth design[2].
2. The subinterpreter is not offically part of python, at least for 3.12. The PEP[3][4]
has not been accepted. The test__xxsubinterpreter is a preparation for it.
[1] https://github.com/python/cpython/issues/122220
[2] https://docs.python.org/3/library/site.html
[3] https://peps.python.org/pep-0554/
[4] https://peps.python.org/pep-0554/
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Following errors already fixed in 3.11.0, refer[1][2], so remove the
unneeded CFLAGS:
h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
[1] 387a22b8c1
[2] 704e13ac83
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Summary of changes:
1. Create a new package: python3-incremental-tests
2. Create a new package: python3-incremental-scripts. This is an optional
package used to update Twisted locally on the command line. The package
requires python3-click. Most, if not all, users don't need this package.
3. There is no longer a circular dependency between python3-twisted and
python3-incremental at build time.
5. python3-incremental ipk package shrinks from 167 KiB to 32 KiB
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Support for loading distutils from the standard library is now deprecated,
including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils
before importing setuptools.
- Bugfix for building Cython extension on Windows
- Updated distutils including significant changes to support Cygwin and mingw compilers.
- Fix distribution name normalisation (PEP 625) for valid versions that are not canonical (e.g. 1.0-2).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- fix: Test failures with Python 3.13.0a4: test_dates_behave_like_dates and test_times_behave_like_times
- [pre-commit.ci] pre-commit autoupdate
- fix: Revert "fix: Construction of OutOfOrderTableProxy can cause newlines to be inserted (#347)"
- Update tests action
- fix: tomlkit 0.12.5 : Encoder contract interferes with external TypeErrors raised in encoders
- chore(deps-dev): bump certifi from 2024.2.2 to 2024.7.4
- chore(deps-dev): bump urllib3 from 2.0.7 to 2.2.2
- chore(deps-dev): bump requests from 2.31.0 to 2.32.2
- chore(deps-dev): bump zipp from 3.15.0 to 3.19.1
- fix: keep the nested out of order table
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Treat zero byte stream as a file.
- feat: check targets argument type for read and extract method
- feat: Add recursive sudirectories and files extraction.
- feat: ensure unpack_7zarchive closes the archive
- docs: Use same format for unpack_archive example as for make_archive
- fix bug in function is_64bit()
- feat: make unpack_7zarchive raise ReadError for invalid files
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix typo in README.md
- Change how size of headers are calculated to fix ColorTable with title
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-support-cross-compiling.patch
refreshed for 10.4.0
Changelog:
===========
- Raise FileNotFoundError if show_file() path does not exist
- Improved reading 16-bit TGA images with colour
- Deprecate non-image ImageCms modes
- Fixed processing multiple JPEG EXIF markers
- Do not preserve EXIFIFD tag by default when saving TIFF images
- Added ImageFont.load_default_imagefont()
- Added Image.WARN_POSSIBLE_FORMATS
- Remove zero-byte end padding when parsing any XMP data
- Do not detect Ultra HDR images as MPO
- Raise SyntaxError specific to JP2
- Do not use first frame duration for other frames when saving APNG images
- Consider I;16 pixel size when using a 1 mode mask
- When saving multiple PNG frames, convert to mode rather than raw mode
- Added byte support to FreeTypeFont
- Allow float center for rotate operations
- Do not read layers immediately when opening PSD images
- Restore original thread state
- Read IM and TIFF images as RGB, rather than RGBX
- Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
- Clarify ImageDraw2 error message when size is missing
- Support unpacking more rawmodes to RGBA palettes
- Removed support for Qt 5
- Improve ImageFont.freetype support for XDG directories on Linux
- Improved consistency of XMP handling
- Use pkg-config to help find libwebp and raqm
- Accept 't' suffix for libtiff version #8126,
- Deprecate ImageDraw.getdraw hints parameter
- Added ImageDraw circle()
- Add mypy target to Makefile
- Added more modes to Image.MODES
- Deprecate BGR;15, BGR;16 and BGR;24 modes
- Fix ImagingAccess for I;16N on big-endian
- Support reading P mode TIFF images with padding
- Deprecate support for libtiff < 4
- Corrected ImageShow UnixViewer command
- Use functools.cached_property in ImageStat
- Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER
- Support reading CMYK JPEG2000 images
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Detect src layout only if it exists and included by build config
- Use compatible is_relative_to for Python 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- fixed a bug in open_slk
- fixed a bug due to new PROJECTCOMPATVERSION record in dir stream
- oleobj: fixed SyntaxError with Python 3.12
- rtfobj: fixed SyntaxError with Python 3.12
- clsid: added CLSIDs for MSI, Zed
- ftguess: added MSI, PNG and OneNote formats
- pyxswf: fixed python 3.12 compatibility
- setup/requirements: allow pyparsing 3 to solve install issues
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Properly decode AksIM-2 warning and error bits
- Make MA732 trimming for off-axis applications actually work
- When encoders are no longer active, stop using them and trigger a fault
- Limit the commanded velocity to something physically achievable
- Fault if a non-reducing gear ratio is configured without overriding
- Default bemf_feedforward to 0.0, and fault if it is configured non-zero without acceleration limits or override
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove shebang from filesize.py
- Fix test failures on systems with 32-bit time_t
- Fix handling of negative time deltas
- Fix naturaldelta sub second precision
- Reword the French translation of very small amount of time
- Fix Arabic localization
- metric: Fix precision format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Exclusion patterns can now be multi-line
- The JSON report now includes per-function and per-class coverage information.
- Fixed an incorrect calculation of "(no class)" lines in the HTML classes report.
- Python 3.13.0b3 is supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix AssertionError when inferring a property consisting of a partial function.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix type annotation of errors in wrap_errors
- fix: exposing func arg in CLI under a different name via deco
- fix: tests were failing under Python 3.13
- Docs update in similar.rst
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The new python3-redis_5.0.7 archive "redis-5.0.7.tar.gz" may clash with
a very old redis-5.0.7 archive. It does on the autobuilder which kept
its DL_DIR from this era and triggers a mirroring error[0].
To fix this, add a "pypi-" prefix to the archive name of python3-redis.
[0]:https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/420/steps/17/logs/errors
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The recipe is missing most of the run-time dependencies for virtualenv.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Release notes page name changed from releases to release_notes
- Provide explicit __all__ exports for providers in web3/providers/__init__.py;
update web3/__init__.py to include all provider classes including base classes.
- Created ABIError type in the web3.types module and added as a valid type of ABIElement.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Resolve DeprecationWarnings when extracting twine metadata.
- Fix bug for Repository URLs with auth where the port was lost.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Expose PEP-484 typing stubs, thanks to Rodion Kosianenko and GoodWasHere
License-Update: Copyright year updated to 1.18
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove python 3.8 from CI
- Log comm retries.
- Solve serial unrequested frame.
- test convert registers with 1234....
- Fix writing to serial (rs485) on windows os.
- Remember to remove serial writer.
- Update client.rst
- Fix usage file names
- Show error if example is run without support files.
- Solve pylint error.
- Describe zero_mode in ModbusSlaveContext.init
- Datastore will not return ExceptionResponse.
- call async datastore from modbus server
- Transaction id overrun.
- Add minimal devcontainer.
- Sphinx: do not turn warnings into errors.
- Fix usage of AsyncModbusTcpClient in client docs page
- Bump actions CI.
- Request/Response: change execute to be async method
- datastore: add async_setValues/getValues methods
- fixed kwargs not being expanded for actions on bit registers, adjusted tests to catch this issue
- Clean datastore setValues.
- modbus_server: call execute in a way that those can be either coroutines or normal methods
- Streamline message class.
- Fix decode for wrong mdap len.
- SOCKET/TLS framer using message decode().
- ASCII framer using message decode()
- Add generate_ssl() to TLS client as helper.
- add _legacy_decoder to message rtu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix new interface from pbs_installer regarding build_dir and best match
auto-install strategy for pdm use (same as for pdm python install --list)
- Fix crash when pdm is used with importlib-metadata version 8.0.
- Add --no-extras to pdm export to strip extras from the requirements.
Now the default behavior is to keep extras.
- Support PEP 723: running scripts with inline metadata in standalone
environment with dependencies.
- pdm use and pdm python install now take requires-python into account
(incl. from pyproject.toml) if python version not specified and pdm use
provides auto installation by that.
- --no-isolation no longer installs build-requires nor dynamic build
dependencies, to be consistent with pip.
- Add notifiers in CLI output when global project is being used.
- Use tool.pdm.resolution table when calculating the content hash of project
file, previously only overrides table was used. This will change the hash
already stored in the lockfile, so bump the lockfile version to 4.4.2.
- Add max retries on read timeout or bad connection.
- Don't update local files if they don't change.
- Don't list python versions that don't have any installation link for the
current platform.
- Clarify the purposes of pdm outdated and --unconstrained option.
- Some clarifications on the interpreter selection and central package cache.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Test fails due to change in Numpy API
- Excel is very fussy about the version number
- Poor perfomance when reading workbooks with lots of named styles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- bugfix for call to structured_traceback
- fixed honoring custom repr for NamedTuple if assigned by partialmethod
- Convert matplotlib gui name in enable_gui
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Wheel build exclude for pp37
- Build wheels for aarch64 to allow use in embedded systems
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Remove deprecated positional arguments
- Add timeframe to warning about using find_first_match without ensure_strategy
- Split release flow into two jobs (build/publish)
- Use correct depth argument for checkout action
- Add artifacts group to dependabot config
- Extend PEP440 to include (_/-) as dev/post/pre-release separator
- Allow local version for PEP440
- Update demo to trigger on input
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Lisence-Update: Copyright year updated to 1.13.2
Changelog:
=============
- Improve computed column compare function to support multi-line expressions.
- Fixed bug in alembic command stdout where long messages were not properly
wrapping at the terminal width.
- Fixed internal issue where Alembic would call connection.execute() sending
an empty tuple to indicate "no params". In SQLAlchemy 2.1 this case will be
deprecated as "empty sequence" is ambiguous as to its intent.
- Fixes to support pytest 8.1 for the test suite.
- Fixed the detection of serial column in autogenerate with tables not under
default schema on PostgreSQL
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Import os.link conditionally to fix importing on android. #175
- Remove spurious items from aiofiles.os.__all__ when running on Windows.
- Switch to more modern async idioms: Remove types.coroutine and make AiofilesContextManager an awaitable instead a coroutine.
- Add aiofiles.os.path.abspath and aiofiles.os.getcwd. #174
- aiofiles is now tested on Python 3.13 too. #184
- Dropped Python 3.7 support. If you require it, use version 23.2.1.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop patch as this version supports python3.
Furthermore move to hatchling build system.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support MSVC 17.10
- CMake 3.5+ requirement
- Support CPython 3.13 with windows lib finding fix
- Don't die on PermissionError during chmod
- Remove usage of deprecated distutils in cmake files
- Use first available option for vswhere output
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed 'recorder' not saving and loading response headers with yaml files.
* Mulligan on 0.25.1 to run release pipeline correctly.
* Added 'matchers.body_matcher' for matching string request bodies.
* Fixed tests failures during RPM package builds.
* Fix mocked HEAD responses that have 'Content-Length' set.
* Fixed error messages when matches fail: inputs are not sorted or reformatted.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix parsing of INFO response
- Handle lists in the response of INFO
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- docs: correct Homepage URL
- Bump and fix CI for new setuptools
- Move changelog to GH releases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Reduce verbosity of "Waiting for suitable server to become available" log message
- Add Custom CodeQL Scanning
- Use deferred imports instead of lazy module loading
- Optimize find/aggregate/command by avoiding duplicate calls to _get_topology
- Improve import time on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Make a response in the tests a MISPUser obj.
- Tests failing du to missing error.
- Get the tests to pass.
- Properly load AnalystData from dict.
- More changes to get the tests to pass.
- [event-report] Make sure to generate an UUID.
- Pass kwargs to abstract.
- [analyst-data] Added initial support of analyst data concept and
functions - WiP.
- A bit more refactoring.
- Use from_dict in the mixin to initialize the objects.
- [analyst-data] Added improvements, API endpoints and tests.
- [analyst-data] Make sure to include note_type_name.
- Make mypy happy, change inheritance.
- Allow orgc context for search_galaxy_clusters.
- [analyst-data] Continued implementation of analyst-data support.
- Allow orgc context for search_galaxy_clusters.
- Add test case.
- Add attach galaxy cluster method.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* E721: Fix false positive of the form 'x.type(...) =='.
* E502: Fix false-negative with a backslash escape in a comment.
* E204: New lint forbidding whitespace after decorator '@'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
New features:
-------------
Allow passing exception classes for KeyboardInterrupt and EOFError in PromptSession.
Fixes:
----------
Compute padding parameters for Box widget lazily.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix detection of invalid conversion between offset and delta units.
- Added dBW, decibel Watts, which is used in RF high power applications
- NumPy 2.0 support
- Implement numpy roll (Related to issue #981)
- Implement numpy correlate
- Add 'dim_sort' function to _formatter_helpers.
- Add 'dim_order' and 'default_sort_func' properties to FullFormatter.
- Documented packages using pint.
- Fixed bug causing operations between arrays of quantity scalars and quantity holding
array resulting in incorrect units.
- Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
- Added refractive index units.
- Fix converting to offset units of higher dimension e.g. gauge pressure
- Fix unhandled TypeError when auto_reduce_dimensions=True and non_int_type=Decimal
- Improved error message in 'get_dimensionality()' when non existent units are passed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Handle unexpected hg repo when parse scm version
- Treat PDM_BUILD_SCM_VERSION empty string as unset
- Honor the current working directory when importing pdm_build.py
- Errors when using the editables backend with the includes field.
- Vendor editables
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelo:
==============
- #2189 Assigning named styles doesn't work
- #2190 Problems caused when saving workbooks created by LibreOffice
- Python 3.6 and 3.7 are no longer supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>