Commit Graph

6614 Commits

Author SHA1 Message Date
Khem Raj
9d220eb5e9 python3-pint: Switch to using github SRC_URI
It fixes some but not all ptest failures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-10 16:06:31 -07:00
Khem Raj
382389f356 python3-flexparser,python3-flexcache: Add recipes
These will be needed by python3-pint in upcoming release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-10 16:06:30 -07:00
Tom Geelen
e82b1535e7 python3-chromecast: upgrade 13.1.0 -> 14.0.0
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>
2024-04-08 15:00:16 -07:00
Tom Geelen
50fa6543cc python3-charset-normalizer: add native build option to recipe
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>
2024-04-08 14:59:26 -07:00
Tom Geelen
f3769f875a python3-sqlalchemy: upgrade 2.0.25 --> 2.0.27
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-08 14:59:26 -07:00
Tom Geelen
b3575f1a33 python3-casttube: upgrade 0.2.0 -> 0.2.1
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-07 19:22:22 -07:00
alperak
5a02b76b82 python3-pillow: Upgrade 10.1.0 -> 10.3.0 and fix ptest
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.html
https://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>
2024-04-06 14:14:17 -07:00
alperak
dce392b588 python3-bleak: enable ptest and add missing runtime dependency
* Ptest tested on qemux86-64 and qemuarm64

* Add ptest into PTESTS_FAST_META_PYTHON

qemux86-64:

Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END: /usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemuarm64:

Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END: /usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-06 14:14:17 -07:00
Khem Raj
7efd67bcaf python3-pyzmq: Fix ptests
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>
2024-04-04 20:52:52 -07:00
Khem Raj
677de1dc33 python3-whoosh: Fix an intermittent ptest
It fails sometimes when system is under stress

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 19:07:21 -07:00
Khem Raj
b2f94b87a8 python3-pydantic-core: Skip failing ptests
possibly due to oe using newer version of pytest

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:34:06 -07:00
Khem Raj
66cc4b3a34 python3-pydantic: Ignore failing testcases
Lot of them are due to pytestv8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:26:23 -07:00
Khem Raj
20efb69b13 python3-netaddr: Ignore failing tests on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:26:23 -07:00
Khem Raj
d426a1a744 python3-pydbus: Fix typo in ptest package name
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:26:23 -07:00
Khem Raj
4030c2da9e python3-pydantic-core: Enable benchmark tests
Add missing dependencies for additional ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:26:23 -07:00
Khem Raj
a8b2cdc20e python3-pydbus: Add bash dependency for ptests
ptest script uses bash

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 23:14:36 -07:00
Tomasz Żyjewski
5c2de83cc2 python: python-libusb1: add recipe
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:54:03 -07:00
Guðni Már Gilbert
28defafdc5 python3-ecdsa: cleanup DEPENDS
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>
2024-04-02 11:28:56 -07:00
Wang Mingyu
9d6c9be201 python3-web3: upgrade 6.15.1 -> 6.16.0
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>
2024-04-02 11:28:55 -07:00
Wang Mingyu
f63f2e8627 python3-tox: upgrade 4.14.1 -> 4.14.2
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>
2024-04-02 11:28:54 -07:00
Wang Mingyu
3237d11b62 python3-socketio: upgrade 5.11.1 -> 5.11.2
Changelog:
==========
-Improved routing to catch-all namespace handlers
-Option to disable routing in ASGIApp

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
0c43121ca4 python3-sentry-sdk: upgrade 1.42.0 -> 1.44.0
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>
2024-04-02 11:28:54 -07:00
Wang Mingyu
df5c81a49e python3-requests-oauthlib: upgrade 1.4.0 -> 2.0.0
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>
2024-04-02 11:28:54 -07:00
Wang Mingyu
7de9c8f80a python3-pyzstd: upgrade 0.15.9 -> 0.15.10
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>
2024-04-02 11:28:54 -07:00
Wang Mingyu
416bf71451 python3-pytest-lazy-fixtures: upgrade 1.0.6 -> 1.0.7
Changelog:
===========
-Fix coverage
-Add shortcut for lazy fixtures

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
0ae69566e6 python3-pytest-cov: upgrade 4.1.0 -> 5.0.0
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>
2024-04-02 11:28:53 -07:00
Wang Mingyu
1490fd58eb python3-pytest-asyncio: upgrade 0.23.5 -> 0.23.6
Changelog:
 Fix compatibility with pytest 8.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
021d260f4d python3-pymisp: upgrade 2.4.187 -> 2.4.188
Changelog:
==========
- Support X-MISP-AUTH Header.
- Bump changelog.
- Bump deps.
- Bump version, templates.
- Strip API key before setting it.
- Python 3.8 support & typing.
- Typing for Python < 3.10.
- Avoid issue when payload ist a list.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
f474f669fb python3-pyasn1-modules: upgrade 0.3.0 -> 0.4.0
Changelog:
==========
- Added support for Python 3.11, 3.12
- Removed support for EOL Pythons 2.7, 3.6, 3.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
67d2012d6f python3-pdm: upgrade 2.12.4 -> 2.13.2
Changelog:
==========
https://pdm-project.org/latest/dev/changelog/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
545eb9110c python3-jdatetime: upgrade 4.1.1 -> 5.0.0
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>
2024-04-02 11:28:52 -07:00
Wang Mingyu
1beca88b5c python3-graphviz: upgrade 0.20.1 -> 0.20.3
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>
2024-04-02 11:28:52 -07:00
Wang Mingyu
583938a094 python3-google-auth: upgrade 2.28.2 -> 2.29.0
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>
2024-04-02 11:28:52 -07:00
Wang Mingyu
2a9127a51e python3-google-api-python-client: upgrade 2.122.0 -> 2.124.0
Changelog:
============
https://github.com/googleapis/google-api-python-client/releases/tag/v2.124.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
7fd541b3d8 python3-google-api-core: upgrade 2.17.1 -> 2.18.0
Changelog:
==========
-Add common logic for supporting universe domain
-Add _registered_method to grpc ChannelStub
-deps: Require proto-plus >= 1.22.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
3b614b0b64 python3-flask-marshmallow: upgrade 1.2.0 -> 1.2.1
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>
2024-04-02 11:28:51 -07:00
Wang Mingyu
edd4779ed8 python3-filelock: upgrade 3.13.1 -> 3.13.3
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>
2024-04-02 11:28:51 -07:00
Wang Mingyu
4e3e85c685 python3-eventlet: upgrade 0.35.2 -> 0.36.1
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>
2024-04-02 11:28:51 -07:00
Wang Mingyu
98cb1b38cb python3-eth-rlp: upgrade 2.0.0 -> 2.1.0
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>
2024-04-02 11:28:51 -07:00
Wang Mingyu
dee23aebb8 python3-djangorestframework: upgrade 3.14.0 -> 3.15.1
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>
2024-04-02 11:28:50 -07:00
Wang Mingyu
dca7c04a8a python3-cassandra-driver: upgrade 3.29.0 -> 3.29.1
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>
2024-04-02 11:28:50 -07:00
Wang Mingyu
995bac1a61 python3-asgiref: upgrade 3.7.2 -> 3.8.1
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>
2024-04-02 11:28:50 -07:00
Guðni Már Gilbert
55017a608e python3-ecdsa: remove python3-pbr
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>
2024-03-31 08:32:39 -07:00
alperak
846418dc8b python3-pydbus: Drop ${PYTHON_PN}
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>
2024-03-30 00:48:27 -07:00
alperak
df763fc1d0 python3-validators: upgrade 0.22.0 > 0.24.0 and enable ptest
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>
2024-03-30 00:48:27 -07:00
Peter Marko
9660163c4f python3-grpcio: cleanup dependencies
* setuptools: this is needed only for building
* six: no longer needed for some time already,
  see https://github.com/grpc/grpc/pull/31340

Current requirements:
https://github.com/grpc/grpc/blob/v1.62.1/setup.py#L539

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27 07:57:30 -07:00
Fathi Boudra
5f6b96e5be python3-django: upgrade 4.2.10 -> 4.2.11
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>
2024-03-27 07:57:30 -07:00
Leon Anavi
360e6fbe17 python3-cachetools: Upgrade 5.3.2 -> 5.3.3
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>
2024-03-27 07:57:30 -07:00
Leon Anavi
d46d2caa25 python3-typeguard: Upgrade 4.1.5 -> 4.2.1
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>
2024-03-27 07:57:30 -07:00
Leon Anavi
ff59eced7c python3-paho-mqtt: Upgrade 1.6.1 -> 2.0.0
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>
2024-03-25 13:17:50 -07:00