The python package has enabled to option to build it via python_setuptools_build_meta. Therefore the recipe is updated accordingly.
Also cleaned up the list of runtime dependencies which according to the package should no longer be needed.
The difference between v2 and v3 is the addition of the upstream status in the included patch.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Packages such as aiooui need charset-normalizer as a DEPENDS instead of RDEPENDS. Therefore a the charset-normalizer recipe is extended.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Updated copyright year and clean up authors, contributors
* 0001-explicitly-set-compile-options.patch dropped because setup.cfg moved to pyproject.toml -> (https://github.com/python-pillow/Pillow/pull/7484)
Also, we can give the build option parameters as described in the documentation -> https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options
Added build options to pass to build with using the variable PEP517_BUILD_OPTS so no need to create patch again.
* "python setup.py" and the use of "setup.py" as a command line tool are deprecated and upstream added a custom build backend to translate -C feature=disable style flags to the old --disable-feature style flags by prepending the build command (typically bdist_wheel) with a build_ext --disable-feature command which builds the extension modules before being added to a wheel. That backend uses the build_meta module of setuptools. The _CustomBuildMetaBackend class is a subclass of this module, adding custom behaviors and enabling settings specific to a particular project.
https://github.com/python-pillow/Pillow/blob/10.3.0/_custom_build/backend.py
* Ptest tested on qemux86-64 and qemuarm64 with x11.
* Since no ptest error was encountered, python3-pillow has been moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON.
Tests with SKIP are related to packages with explicitly disabled build options.
qemux86-64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 904
END: /usr/lib/python3-pillow/ptest
2024-04-06T15:56
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 674
END: /usr/lib/python3-pillow/ptest
2024-04-06T16:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.htmlhttps://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add missing dependency on tornado, its also flagged by some ptests
{'python3-pyzmq': ['tests/test_ioloop.py:test_ioloop',
'tests/test_ioloop.py:test_ioloop_install']}
Skip ptests which cause zeromq errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove python3-pbr from DEPENDS: when looking at the source code
it looks like pbr is used in the CI process when building for
Python 2.6 only. Python 2 is no longer supported in the Yocto
project so it can be safely removed.
Remove python3-pip from DEPENDS: pip is not a build time
dependency.
Changes were tested on Kirkstone. The requirements for
python3-ecdsa v0.18 are exactly the same.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Catch all types of "eth-abi" "DecodingError" in "EthereumTesterProvider->_make_request()"
-Fix/update methods and decorators in "web3/_utils/abi.py" to address issues
raised by "mypy"
-Fix "process_log()" when parsing logs for events with indexed and non-indexed
inputs. "get_event_data()" now compares log topics and event ABIs as hex values.
-Fix "process_log" for "HexStr" inputs. Explicit type coercion of entry "topics"
and "data" values.
-Fix typing for json data argument to "eth_signTypedData".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add provision arguments to ToxParser to fix crash when provisioning new tox
environment without list-dependencies
-Removed unused line from the 'fresh_subprocess' documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-ref: Define types at runtime
-Explicit reexport of types
-feat(profiling): Add thread data to spans
-Add optional keep_alive
-Add support for Celery Redbeat cron tasks
-The SDK now supports the Redbeat scheduler in addition to the default Celery
Beat scheduler for auto instrumenting crons.
-aws_event can be an empty list
-Re-export Event in types.py
-Small API docs improvement
-Fixed OpenAI tests
-Bump checkouts/data-schemas from ed078ed to 8232f17
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Merge pull request #534 from iliakur/patch-1
-Drop py2 support from the wheel
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: add contributors to Copyright
Changelog:
==========
-Fix SeekableZstdFile class can't open new file in appending mode.
-Support sub-interpreter on CPython 3.12+, can utilize per-interpreter GIL.
-On CPython(3.5~3.12)+Linux, use another output buffer code that can utilize the
mremap mechanism.
-Change repository URL and maintainer following the deletion of the GitHub
account of the original author, Ma Lin (animalize)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Removed support for xdist rsync (now deprecated)
-Switched docs theme to Furo.
-Various legacy Python cleanup and CI improvements.
-Added a pyproject.toml example in the docs.
-Modernized project's pre-commit hooks to use ruff.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-tests(test_zoneinfo_as_timezone): skip if tzinfo is not available on windows
-fix(strftime): treat %% as an escape sequence
-chore(jalai.py): cleanup the code
-fix(strftime): also escape %% before c, x, and X
-fix(date, datetime): return NotImplemented for unknown type operations
-docs(README.rst): use jdatetime.FA_LOCALE instead if fa_IR
-Update python versions
-update jalali license
-update licences
-Use jalali core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2024
Changelog:
===========
-Revert improvements to the internal tools.deprecate_positional_args() decorator
that caused false positive PendingDeprecationWarning: The signature of ... will
be reduced warnings that have been misinterpreted in the 0.20.2 release process.
-Drop Python 3.7 support (end of life 27 Jun 2023).
-Tag Python 3.11 and 3.12 support.
-Add caveat about labe escaping/quoting to .node() and .render() API docs.
-Document that doctest_skip_exe() lines in doctest should be ignored.
-Improve internal tools.deprecate_positional_args() decorator and fix incorect test assertion.
-Update GitHub actions.
-Pin pytest test dependency to <8.1 as a workaround for import file mismatch
error related to conftest.py files, in pytest 8.1.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Adds support for custom suppliers in AWS and Identity Pool credentials
-Refactor tech debt in aws and identity pool credentials
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix File field when it receives an empty value
-Fix validate.FileSize to handle SpooledTemporaryFile
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Make singleton class instance dict unique per subclass
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
*eventlet.websocket is not always used from eventlet.wsgi, so do not assume
eventlet.set_idle exists
*Make sure asyncio hub doesn't use greendns for asyncio DNS APIs
*Make asyncio.to_thread work with the same semantics as normal asyncio
*Refactor congruence checks based on assert at runtime
*Run tests on macOS in CI, and some fixes to get it in reasonable state
*Fix wsgi.server shutdown for in-flight requests
*Add debug convenience helpers - asyncio, threads
*Handle errors better.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bump to hexbytes>=1.2.0 and add blocklint to linting
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix SearchFilter handling of quoted and comma separated strings, when
.get_search_terms is being called into by a custom class.
-Revert number of 3.15.0 issues which included unintended side-effects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
-cassandra-driver for Python 3.12 Linux is compiled without libev support
-Consider moving to native wheel builds for OS X and removing universal2 wheels
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fixes a regression in 3.8.0 affecting nested task cancellation inside
sync_to_async.
* Adds support for Python 3.12.
* Drops support for (end-of-life) Python 3.7.
* Fixes task cancellation propagation to subtasks when using synchronous Django
middleware.
* Allows nesting "sync_to_async" via "asyncio.wait_for".
* Corrects WSGI adapter handling of root path.
* Handles case where `"client"` is "None" in WsgiToAsgi adapter.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pbr is not a runtime dependency or a buildtime dependency.
The reason for this change is not only to clean up the RDEPENDS list.
But also because python3-pbr adds pip as a runtime dependency which
is not always desireable.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python2 is long unsupported, so we no longer need this variable. It was used to handle Python2/3 compatibility.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Rename LICENSE to LICENSE.txt and update copyright year
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
qemux86-64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 19
END: /usr/lib/python3-validators/ptest
2024-03-30T05:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-validators/ptest
2024-03-30T05:10
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
0.24.0
===========
Features
feat: conditionally raises ValidationError; bump version by @yozachar in #343
Maintenance
patch: domain & url modules by @yozachar in #339
fix: domain name not confirming to rfc_2782 by @yozachar in #341
maint: update dev dependencies; adds favicon to docs by @yozachar in #342
0.23.2
===========
Maintenance
maint: rectifies changelog by @yozachar in #336
fix: packaging as well as rST & md document generation by @yozachar in #337
0.23.1
===========
Maintenance
maint: fix between & length validators by @yozachar in #334
fix: manual nav reference for mkdocs; bumps version by @yozachar in #335
0.23.0
===========
Features
feat: add french i18n validation by @imperosol in #308
Maintenance
fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297
fix: bug in between module by @yozachar in #301
chore: update dependencies, improve packaging by @yozachar in #304
Fix fragment check by @darkdragon-001 in #305
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310
fix: allow pct-encoded entities in fragments by @conitrade-as in #317
chore: update dev dependencies by @yozachar in #318
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322
chore: monthly updates for Jan'24 by @yozachar in #324
maint: adds versiond docs; update copyright year by @yozachar in #329
chore: update dev dependencies by @yozachar in #330
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-27351: Potential regular expression denial-of-service in
django.utils.text.Truncator.words()
Fixed a regression in Django 4.2.10 where intcomma template filter could
return a leading comma for string representation of floats.
https://code.djangoproject.com/ticket/35172
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 5.3.3:
- Documentation improvements
- Update CI environment
License-Update: Update copyright years to 2024
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.2.1:
- Fixed missing typing_extensions dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
- Added support for specifying options for the pytest plugin via
pytest config files
- Avoid creating reference cycles when type checking unions
- Fixed Optional[...] being removed from the AST if it was located
within a subscript
- Fixed TypedDict from typing_extensions not being recognized as one
- Fixed typing types (dict[str, int], List[str], etc.) not passing
checks against type or Type
- Fixed detection of optional fields (NotRequired[...]) in
TypedDict when using forward references
- Fixed mapping checks against Django's MultiValueDict
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.0:
- **BREAKING** Added callback_api_version. This break *ALL* users
of paho-mqtt Client class. See migrations.md for details on how
to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first
argument of Client()
- **BREAKING** Drop support for Python 2.7, Python 3.5 and Python
3.6. Minimum tested version is Python 3.7. Python version up to
Python 3.12 are tested.
- **BREAKING** connect_srv changed it signature to take an
additional bind_port parameter. This is a breaking change, but in
previous version connect_srv was broken anyway.
- **BREAKING** Remove some deprecated argument and method:
* ``max_packets`` argument in loop(), loop_write() and
loop_forever() is removed
* ``force`` argument in loop_stop() is removed
* method ``message_retry_set()`` is removed
- **BREAKING** Remove the base62, WebsocketWrapper and
ConnectionState, as user shouldn't directly use them.
- Possible breaking change: Add properties to access most Client
attribute. Since this add new properties like `logger`, if a
sub-class defined `logger`, the two `logger` will conflict.
- Add version 2 of user-callback which allow to access MQTTv5
reason code & properties that were missing from on_publish
callback. Also it's more consistent in parameter order or between
MQTTv3 and MQTTv5.
- Add types to Client class, which caused few change which should
be compatible. Known risk of breaking changes:
- Use enum for returned error code (like MQTT_ERR_SUCCESS). It
use an IntEnum which should be a drop-in replacement. Excepted
if someone is doing "rc is 0" instead of "rc == 0".
- reason in on_connect callback when using MQTTv5 is now always
a ReasonCode object. It used to possibly be an integer with the
value 132.
- MQTTMessage field "dup" and "retain" used to be integer with
value 0 and 1. They are now boolean.
- Add support for ALPN protocols on TLS connection.
- Add on_pre_connect() callback, which is called immediately before
a connection attempt is made.
- Fix subscribe.simple with MQTTv5.
- Use better name for thread started by loop_start.
- Fix possible bug during disconnection where self._sock is
unexpectedly None.
- Fix loading too weak TLS CA file but setting allowed ciphers
before loading CA.
- Allow to manually ack QoS > 0 messages.
- Improve tests & linters. Modernize build (drop setup.py, use
pyproject.toml)
- Fix is_connected property to correctly return False when
connection is lost and loop_start/loop_forever isn't used.
- Fix wait_for_publish that could hang with QoS == 0 message on
reconnection or publish during connection.
- Correctly mark connection as broken on SSL error and don't crash
loop_forever.
- Fix handling of MQTT v5.0 PUBREL messages with remaining length
not equal to 2.
- Raise error on ``subscribe()`` when `topic` is an empty list.
- Raise error on `publish.multiple()` when ``msgs`` is an empty
list.
- Don't add port to Host: header for websockets connections when
the port if the default port.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.3:
- Add match_range function
- Fix leap year (29 days in February)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.0.5:
- Upgraded the C-API macros that have been deprecated in Python 3.9
and later removed in 3.13
- Reverted to using the public argument parsing API
PyArg_ParseTupleAndKeywords() under Python 3.12.
- The effect is that this change prevents build failures with clang
16.9.6 and gcc-14. It also fixes a segmentation fault crash
caused by passing keyword arguments to MultiDict.getall().
- Fixed a SystemError: null argument to internal routine error on a
MultiDict.items().isdisjoint() call when using C Extensions.
- On the Contributing docs age, a link to the Towncrier philosophy
has been fixed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>