summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* python3-pillow: Upgrade 10.1.0 -> 10.3.0 and fix ptestalperak2024-04-072-46/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-bleak: enable ptest and add missing runtime dependencyalperak2024-04-072-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* python3-pyzmq: Fix ptestsKhem Raj2024-04-072-1/+3
| | | | | | | | | | | 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>
* python3-whoosh: Fix an intermittent ptestKhem Raj2024-04-072-0/+31
| | | | | | It fails sometimes when system is under stress Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Skip failing ptestsKhem Raj2024-04-071-0/+1
| | | | | | possibly due to oe using newer version of pytest Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: Ignore failing testcasesKhem Raj2024-04-071-1/+1
| | | | | | Lot of them are due to pytestv8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-netaddr: Ignore failing tests on muslKhem Raj2024-04-071-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydbus: Fix typo in ptest package nameKhem Raj2024-04-071-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Enable benchmark testsKhem Raj2024-04-071-1/+2
| | | | | | Add missing dependencies for additional ptests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydbus: Add bash dependency for ptestsKhem Raj2024-04-031-0/+2
| | | | | | ptest script uses bash Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python: python-libusb1: add recipeTomasz Żyjewski2024-04-031-0/+18
| | | | | Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ecdsa: cleanup DEPENDSGuðni Már Gilbert2024-04-021-2/+0
| | | | | | | | | | | | | | | | 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>
* python3-web3: upgrade 6.15.1 -> 6.16.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | | | | 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>
* python3-tox: upgrade 4.14.1 -> 4.14.2Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | 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>
* python3-socketio: upgrade 5.11.1 -> 5.11.2Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | 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>
* python3-sentry-sdk: upgrade 1.42.0 -> 1.44.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* python3-requests-oauthlib: upgrade 1.4.0 -> 2.0.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | 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>
* python3-pyzstd: upgrade 0.15.9 -> 0.15.10Wang Mingyu2024-04-021-2/+2
| | | | | | | | | | | | | | | | 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>
* python3-pytest-lazy-fixtures: upgrade 1.0.6 -> 1.0.7Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | 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>
* python3-pytest-cov: upgrade 4.1.0 -> 5.0.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | 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>
* python3-pytest-asyncio: upgrade 0.23.5 -> 0.23.6Wang Mingyu2024-04-021-1/+1
| | | | | | | | Changelog: Fix compatibility with pytest 8.2 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pymisp: upgrade 2.4.187 -> 2.4.188Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | | | | 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>
* python3-pyasn1-modules: upgrade 0.3.0 -> 0.4.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | 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>
* python3-pdm: upgrade 2.12.4 -> 2.13.2Wang Mingyu2024-04-021-1/+1
| | | | | | | | | 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>
* python3-jdatetime: upgrade 4.1.1 -> 5.0.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | | | | | | 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>
* python3-gspread: upgrade 6.0.2 -> 6.1.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Add py.typed marker -Improve back-off client -Add new auth method API key -Bugfix/add set timeout -Fix wrapper cast_to_a1_notation -Bump bandit from 1.7.5 to 1.7.8 -Bump mypy from 1.6.1 to 1.9.0 -Bump typing-extensions from 4.8.0 to 4.10.0 -Bump flake8 from 5.0.4 to 7.0.0 -fix error message readability -Add missing method import_csv() -update readme examples -Add user friendly message when we can't override a test cassette -Allow "warning" type protected ranges -Improce README and documentation with value render options Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-graphviz: upgrade 0.20.1 -> 0.20.3Wang Mingyu2024-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* python3-google-auth: upgrade 2.28.2 -> 2.29.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | 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>
* python3-google-api-python-client: upgrade 2.122.0 -> 2.124.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | 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>
* python3-google-api-core: upgrade 2.17.1 -> 2.18.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | | | | 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>
* python3-flask-marshmallow: upgrade 1.2.0 -> 1.2.1Wang Mingyu2024-04-021-1/+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>
* python3-filelock: upgrade 3.13.1 -> 3.13.3Wang Mingyu2024-04-021-1/+1
| | | | | | | | 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>
* python3-eventlet: upgrade 0.35.2 -> 0.36.1Wang Mingyu2024-04-021-1/+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>
* python3-eth-rlp: upgrade 2.0.0 -> 2.1.0Wang Mingyu2024-04-021-1/+1
| | | | | | | | 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>
* python3-djangorestframework: upgrade 3.14.0 -> 3.15.1Wang Mingyu2024-04-021-1/+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>
* python3-cassandra-driver: upgrade 3.29.0 -> 3.29.1Wang Mingyu2024-04-021-1/+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>
* python3-asgiref: upgrade 3.7.2 -> 3.8.1Wang Mingyu2024-04-021-1/+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>
* python3-ecdsa: remove python3-pbrGuðni Már Gilbert2024-03-311-1/+1
| | | | | | | | | | 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>
* python3-pydbus: Drop ${PYTHON_PN}alperak2024-03-311-4/+4
| | | | | | | 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>
* python3-validators: upgrade 0.22.0 > 0.24.0 and enable ptestalperak2024-03-313-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-grpcio: cleanup dependenciesPeter Marko2024-03-271-4/+1
| | | | | | | | | | | | * 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>
* python3-django: upgrade 4.2.10 -> 4.2.11Fathi Boudra2024-03-271-2/+2
| | | | | | | | | | | | 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>
* python3-cachetools: Upgrade 5.3.2 -> 5.3.3Leon Anavi2024-03-271-2/+2
| | | | | | | | | | | | 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>
* python3-typeguard: Upgrade 4.1.5 -> 4.2.1Leon Anavi2024-03-271-1/+3
| | | | | | | | | | | | | | | | | | | | | 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>
* python3-paho-mqtt: Upgrade 1.6.1 -> 2.0.0Leon Anavi2024-03-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-croniter: Upgrade 2.0.1 -> 2.0.3Leon Anavi2024-03-251-2/+6
| | | | | | | | | | 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>
* python3-multidict: Upgrade 6.0.4 -> 6.0.5Leon Anavi2024-03-252-326/+1
| | | | | | | | | | | | | | | | | | | 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>
* python3-aiohttp: add missing dependenciesSam Van Den Berge2024-03-251-0/+2
| | | | | | | | | * attrs is in install_requires of setup.cfg in 3.9 branch * python3-misc is required to include netrc which is imported in aiohttp.helpers Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-httpx: Upgrade 0.26.0 -> 0.27.0Leon Anavi2024-03-231-1/+5
| | | | | | | | | | | | | Upgrade to version 0.27.0: - The app=... shortcut has been deprecated. Use the explicit style of transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead. - Respect the http1 argument while configuring proxy transports. - Fix RFC 2069 mode digest authentication. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-anyio: Upgrade 4.2.0 -> 4.3.0Leon Anavi2024-03-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | Upgrade to version 4.3.0: - Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor) - Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend (#515) - Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously: - Cancellation of Process.aclose() could leak an orphan process - Cancellation of run_process() could very briefly leak an orphan process. - Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed - Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio - Fixed documentation on how to provide your own typed attributes Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>