Commit Graph

121 Commits

Author SHA1 Message Date
Bruce Ashfield
bd1a95853f devtools: update to latest
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-04-17 18:34:53 +00:00
Bruce Ashfield
f3feb82026 gunicorn: update to 23.0.0
As well as the update, we move away from pure setuptools to
pyproject.toml and the meta backend.

Bumping gunicorn to version 23.0.0-13-ga86ea1e4, which comprises the following commits:

    411986d6 fix doc
    9357b28d keep document user in access_log_format setting
    79fdef08 bump to 23.0.0
    256d474a docs: revert duped directive
    ffa48b58 test: default change was intentional
    52538ca9 docs: recommend SCRIPT_NAME=/subfolder
    687b78d2 config defaults: PATH_NAME and ::1 for proxy
    5bbf373e undocumented allow-all for forwarder-headers
    3e042e82 Configurable list of forwarder headers
    01bcdb1d Exempt SCRIPT_NAME from newly introduced --header-map treatment
    2bc931e7 whitespace handling in header field values
    ce039ca7 Swap error/debug severity
    6c3296e1 update docs
    e3562c94 doc: news for 2024
    6245e2c0 docs: unresolved reference (the reference is not named after the class name)
    2a3dfdd2 CI: verify docs up to date
    2c38b036 Update design.rst
    555d2fa2 don't tolerate wrong te headers
    5e39f886 Update tornadoapp.py
    cabc6662 chunked encoding: example invalid requests
    a3d130ae gracefully handle chunked encoding missing size
    70a1e437 forbid lone CR/LF and NUL in headers (docs)
    7c3e9c9c docs: clarify Makefile is generated
    2669016a docs: https-capable sphinx homepage entry point
    4b48ebe8 no docs/build in sdist
    9ca4f1fd refuse empty request-target in HTTP request
    eda9d456 forbid lone CR/LF and NUL in headers
    e3fa50d1 update docs
    0f200191 Document server hooks in a custom application
    8fe034ef CI: run entry point tests without deps, run lint without package build steps
    9949e34e CI: also try Python 3.13 (at this time beta 1)
    3d006963 CI: revert macos-14 for Github runners
    97f87ec1 Fix InvalidHTTPVersion exception str method
    4f776658 Python 3.3+: replace deprecated aliases
    ec85b32d Pythn 2.7+: open arg defaults to r
    78ef73b6 Python3: super() args not typically needed
    422b18ac class Name(object): -> class Name:
    4323027b drop long-default - coding: utf-8
    5b68c17b fix license year
    f63d59e4 bump to 22.0
    0243ec39 fix(deps): exclude eventlet 0.36.0
    628a0bcb chore: fix typos
    1954fb63 update example_config with latest settings
    08364f03 Issue #3079, add unit test
    deae2fc4 CI: back off the agressive timeout
    f4703824 docs: promise 3.12 compat
    5e30bfa6 add changelog to project.urls (updated for PEP621)
    481c3f95 remove setup.cfg - overridden by pyproject.toml
    89dcc5c5 CI: stop testing EoL PyPy
    184e36f9 skip eventlet, not yet supported on python 3.12
    b39c5b7e CI: style
    0bb96d17 CI: tests may hang on PyPy
    660fd8d8 Fix references to non-existent 20.2 version in configuration settings
    e0c3390f Typo and email in Security.md
    e710393d HTTP parser: stricter chunk-ext OBS handling
    b6c7414f briefly document security fixes in 2023 news
    7ebe442d strict HTTP version validation
    f5501111 strict HTTP header field name validation
    fd67112f Ignore secure_scheme_headers in Trailer section
    ac29c9b0 fail-safe on unsupported request framing
    0b10cbab unconditionally log request error
    72b8970d silently drop or refuse header names w/ underscore
    b2846783 strict: header field validation: stop casefolding
    42dd4190 test: verify TOKEN_RE against common HTTP Methods
    13027ef7 Create SECURITY.md
    f0c91cca Check SCRIPT_NAME is at the request path's beginning
    72238fcf RFC compliant request line and header parsing
    735e9e86 Disallow empty header names.
    2dbe49de RFC compliant header field+chunk validation
    559caf92 pytest: raise on malformed test fixtures
    611746ed CI: check entry points
    c3396b97 github actions: cache and test run_module (-m)
    40232284 let's exception not bubble ensure we can catch  correctly  exceptions based on BaseException.
    7acd83bf pyproject.toml: fix license-files field
    0dd6b635 Use `utime` instead of `fchmod` in WorkerTmp.notify
    237f3e6f Remove Python2 note
    a265b9cf news.rst: fix minor typo
    4ce82358 Add Python 3.12 to test matrix and add classifiers
    afe06802 Document Python 3.7 requirement
    ca2ce2c7 Fix for issue #3079, worker_class parameter accepts a class
    7d69222b Bump actions/checkout from 3 to 4
    fdd23e82 migrate to pyproject.toml
    7033f27e remove exclusion of tests and examples dir
    760e8642 migrate to setup.cfg
    ab9c8301 bump to 21.2.0
    bc905859 revert change considering connection as idle
    4e12ebe3 bump to 21.1.0
    60b78e3d fix setup.cfg: use new license_files property
    86d85cb3 fix gthread worker
    547f8561 bump 21.0.1: fix doc
    033dca60 fix doc path to conf.py in readthedocs.yaml
    1dd24e6e fix .readthedocs.yaml path
    b6eb01ba add readthedocs.yaml
    543628eb remove pypy-3.7 from tests
    91cb3dc6 Revert "remove cryptography from requirements"
    471a6f80 remove cryptography from requirements
    f628dd97 fix import error
    cac38b42 bump doc version
    0304f006 add minitimal changelog
    f72acb6c add missing depedency for eventlet tests
    1ff10ff9 remove useless dep
    378f0d04 bump to 21.0.0
    2f17eb50 Add a Dependabot config to keep GitHub action versions updated
    fa94f705 Updating Content-Length Handling
    dd0aebfc add to THANKS :)
    cc15967c tox.ini deps
    48d670f0 update pylint version, and fix linter issues
    7f480daf replace pkg_resources.load_entry_point
    858b743d remove double finally
    6d4faab6 Log access even when connection is closed
    d8c3b149 Deprecate ssl_version option
    2b98f5e7 Fix username parsing for basic auth
    ed9729a8 add missing double quote
    0b5c4aea Fix LogRecord pre-formatting, closes #2801
    a7ead983 fix basic auth logging
    f19e31fe utils.py: fix code reference
    e7781d2c gthread: consider intial connectino as idle
    98653df9 Update setup.py
    b8d6b1e9 Add myself to THANKS
    72faa11e Replace pkg_resources.parse_version with packaging.version.parse
    d04ddfd1 Docs: add link to configuration file
    4d532c96 Update THANKS
    2ea4699f Fixing errors reported by pycodestyle
    f5d73aa7 GA workflows cleanup Working Matrix for both lint/tox Fixing tox v4 issues Adjust pylint to working version
    30baeebf Revert "get address from tuple"
    48eda22a Update tox.yml
    0b2c6fd9 bump uses
    0ebb73aa gthread: only read sockets when they are readable
    2f9eb19b prepare for release
    1efc5d91 irc is on libera
    61d643f9 add myself to THANKS file
    a41ee75c update irc channel docs
    008d81d0 Update setup.py
    b42af98e Add contributor
    6766c086 Fix HTTP status code for Request Header Fields Too Large
    91fee380 Remove Travis CI configuration
    137b77d3 build: harden lint.yml permissions
    4cf30b79 build: harden tox.yml permissions
    9f159f7c docs: Add section for Gthread workers
    c9d01c80 get address from tuple
    69bf1d0c remove changes by isort and lint
    4dff334f fix LevelLog in Arbiter.run()
    7ef281fa readme: IRC channel has moved to libera.chat
    1754d33e Add Python 3.10 classifier
    f186fa3a Make loggers function atomic
    7d8f68c1 Solving issue #2692
    ac8bc3a4 Regenerated rst docs
    cc3238c6 Prevent unnecessary setuid call
    99447b08 Fix typo in deploy.rst
    362a52bd Added parameter to ssl_context hook for constructing default context
    71d6388f Replaced Travis CI badge with 2x gh actions badges for test and lint
    19fb762b Split main tox test build and linters into two workflows.
    80a62afc Updated THANKS.
    eaebf6d7 Revert the xfail for Python 3.10
    1feb7c59 Revert the xfail for Python 3.10
    f587bfaf GitHub Action to run tox
    a16b8975 GitHub Action to run tox
    230cd034 Updated THANKS.
    0b6939de Undo changes that make -R branch logic behave the same as non -R branch, that is, to close(0) and open /dev/null as fd=0 instead of fd=3.
    e9c4f744 Revert "Refactoring: common stdin </dev/null."
    eedc3a38 Refactoring: common stdin </dev/null.
    835a4fc4 Ensure fd 0 stdin </dev/null is always inheritable.
    e5a97150 fix chdir documentation typo (#2656)
    cf3619f8 Fix typos
    76f8da24 Revert "Log a warning when a worker was terminated due to a signal"
    c30b0d9d Fix problem that may happen after interrupted chunk-encoding request
    f639128b Fix sendfile behaviour for open files with non-zero offset.
    141a8f3d docs: gthread is a sync worker
    e3b0b1f9 integral? that took me a while to figure out
    3a6649a9 Fix link
    5a581c0b Update SSLContext handling
    df82cac7 fix:  gunicorn run tornado app failed
    0215f5dc docs: add examples for cert-reqs
    45687c35 Replace deprecated unittest alias
    daacf39c Improve access-log-format documentation section
    7d50d61f Fix calling condition for Arbiter.log.reopen_files()
    90ef9a6a Add nginx documentation for proxy_ignore_client_abort
    6a8ebb48 eventlet worker: ALREADY_HANDLED -> WSGI_LOCAL
    927c604f Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
    cf55d2ce bump version
    917ebcdd Fixes #1695
    b83448bf Clarify the secure scheme behaviour, with examples (#2492)
    fb05e333 Fix a naming error for gthread worker
    3b8ce3df Added a line to the documentation to further explain the use of logconfig_dict
    01f5d4dd Remove 2020 unreleased changelog
    1cfb59ca Fix changelog lint
    6fbe6a11 Clarify grammar in FAQ about worker restarts
    426fe70a link to 2021
    61ccfd6c bump to 20.1.0
    540b7100 Use warning level for 'Bad request' logs
    d1f0f11b fix inline code syntax in news
    f87882e4 add an empty line in news.rst
    7a79808d update changeslog
    6fd97b95 Document that WEB_CONCURRENCY is set by, at least, Heroku
    dad99a1b Update gunicorn_ext.py
    32734928 Improve settings documentation
    a4407abf Default to Python 3 version of gunicorn in Stretch
    00e73b7e Update Debian and Ubuntu distribution information
    28a4c1b2 Typo fixed in the AsyncIO docs
    d7ff6053 Add Python 3.9 to PyPI classifiers
    2ad21734 Enable Python 3.8 and Python 3.9 testing in AppVeyor
    f376da2e Test on Python 3.9
    37994e14 Remove the --log-config-dict flag
    3573fd38 Capture peer name from accept
    b695b497 Log a warning when a worker was terminated due to a signal
    d8a12560 Document that gthread also uses worker_connections
    da3b89b7 The signature of __init__ on the "fall through" InotifyReloader was missing the extra_files paramater, so specifying the inotify reload engine on the command line when one did not have inotify installed would, instead of a nice message about needed inotify installed would result in the following traceback:
    548d5828 Remove reference to gunicorn/six.py in tox.ini (#2427)
    5175471f be more explicit in the description of USR2 flow.
    1d6f9029 Disable pylint raise-missing-from
    ca36d410 Fix format call
    28df9926 Add additional logs when worker exits abnormally
    83319f75 fix: repair django wsgi running error
    b3f9815a fix: don't enforce the content length
    f2d8b6d1 Split long line
    b80a3293 Correction on default value for config file (#2408)
    d81c6cef Warn in the case of bad systemd configuration
    2a16fcd3 Test and defend against the specific case where the statsd hostname is 'unix'
    15abac7e Allow specifying a UDS socket address through --statsd-host
    7e16d130 Port websocket examples to Python 3 (#2371)
    e60a5591 Add project_urls and update to https
    4b9afb47 Probably a typo
    17e70dac  Add support for python -m gunicorn
    0d28529c Fixed two bugs related to gevent + gunicorn + statsd.
    6aab4dec Add additional missing docs
    d4339979 Update desc for Timeout
    4ababc36 Correct systemd socket activation example
    57a9e2eb Specify wsgi_app in config #1359.
    79fc9a3b Log abnormal arbiter shutdown at error level
    ee1e5c19 Log abnormal worker exit codes
    4ae2a05c Disable keepalive during graceful shutdown
    ebb41da4 Make force close on max requests consistent
    8c5613b1 Revert "Exit async keepalive request loop when self.alive is False"
    78960570 Exit keepalive request loop when self.alive is False
    57b8cdff Document --timeout 0
    3bf93193 Update gthread.py
    f626830c Fix simple typo: convertable -> convertible
    f8b1e84d Do not raise and crash worker on ENOTCONN error
    f145e90e Set `max_accept` on `gevent` worker-class to 1 when workers > 1
    f39b065d Validate directory before watching it with inotify
    27d1e988 Fix issues #2133 and #2244
    93bcf5a4 Replace and run the sitemap generator
    83b78e09 Document the default name and path for the configuration file
    a648f8a8 Document how environment variables impact configuration
    c82996f7 Add documentation for the $PORT environment variable
    d3070459 Add milliseconds option to request_time in access_log (#2218)
    287916a5 Remove dead code: find_library and _findWalk_ldpath
    9219da52 Updated setup Development Status metadata to 5 - Production/Stable (was 4 - Beta).
    c1bea68f Added a set of pip requirements files to cover the examples in examples/frameworks.
    f74f926f remove trailing new line
    dcfd0f04 fix SERVER_SOFTWARE property
    2f944c9b remove version from the Server header
    2d40e6da Use socket.sendfile() instead of os.sendfile().
    2ec7493b Updated requires Python to >= 3.5.
    7cce20e9 Don't build universal wheel, since Python 2 support has been removed.
    e5310d15 add os.path.abspath() in dirname generation of the reloader
    cfc93ad7 Update FAQ - Workers Silently Killed.
    5a57d595 Fix sample command syntax highlighting in run.rst
    4ef01b1c Bumped py3 min version in setup.py to 3.5 (was 3.4).
    9c147f66 Added Brett Randall to MAINTAINERS.
    ed901637 Enable pycodestyle
    ff1dbfec update site with the new version
    00b58979 Update faq.rst
    c5a254ad Update faq.rst
    5858f815 Update faq.rst
    9545e01d Update faq.rst
    74cf2ce0 Update faq.rst and fix technical mistake on ulimit
    b014fa78 Various code improvements contributed by dilyanpalauzov.
    d1f6a778 Code style
    5803f835 Added a possibility of logging the metrics to a Unix domain socket instead of UDP
    000236aa Docs.
    93d2687d f-strings only date back to Py3.6
    13c5d72b Add --print-config option to print the resolved settings at startup.
    2a0433e7 Update gunicorn/workers/workertmp.py
    54d35d73 Fix #1965: About gunicorn [CRITICAL] Worker Timeout
    d20a26a3 updated styling
    e98f6a03 added capability to take JSON as log's config

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-04-17 17:19:32 +00:00
Bruce Ashfield
b57f8a25a3 python3-cached-property: drop recipe
There's a newer recipe in meta-python and there are no longer any
references to this in meta-virt.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-01-17 19:16:26 +00:00
Bruce Ashfield
72ea52031c python: drop python3-docopt
The meta-python is good enough for our needs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-10-28 21:21:05 -04:00
Bruce Ashfield
30e5cb1ae8 python3-colorama: drop recipe
We no longer need our own pinned version of this recipe, and
it causes us issues with meta-python.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-09-09 14:28:42 +00:00
Bruce Ashfield
f27566f573 layer-wide: drop PYTHON_PN
Similar to OE core commit b566b1e32c7993d1ab7795562f648e52ce186a70,
we no longer need PYTHON_PN for any abstraction of python2 vs python3.

Our similar / dup recipes are now causing signature differences, so
we go ahead and make the substitution, even if it isn't stricly
required.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-02-21 22:48:29 +00:00
Pavel Zhukov
fd1010ef24 python3-docker: Update to 7.0.0
Update package to fix compatibility fix docker from the layer.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-02-01 14:15:13 +00:00
Bruce Ashfield
4c88600803 devtools: fork python3-flask-cors
It is currently unclear if we have a hard dependency on this version
of the module.

meta-python has a newer version, so we are now breaking tests for
yocto compliance (the layer changes the hash).

For now, we fork the recipe to avoid the error and start preparing
to drop it.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-10-30 03:20:22 +00:00
Bruce Ashfield
d258c3d499 python3-nacl: drop recipe
We introduced this to support python3-docker-compose, but docker
compose has moved onto being a go application.

meta-python has a newer version of the recipe, so our old one
is causing signature issues.

Dropping the recipe keeps everything happy

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-10-25 14:52:19 +00:00
Bruce Ashfield
08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Bruce Ashfield
48c07a48a0 python3-botocore: add upstream-status to patch
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-23 19:08:45 -04:00
Wentao Zhang
a8e3a87c89 botocore: Fix rejecting URLs with unsafe characters in is_valid_endpoint_url()
The function is_valid_endpoint_url() in botocore is designed to validate
endpoint URLs, but it fails to detect unsafe characters with Python 3.9.5+
and other versions carrying bpo-43882 fix. The issue is caused by urlsplit()
silently stripping LF, CR, and HT characters while splitting the URL,
which disarms the validator in botocore.

This patch detects unsafe characters in is_valid_endpoint_url() and
is_valid_ipv6_endpoint_url() early, in order to fix rejecting invalid URLs
with unsafe characters.

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-23 19:05:59 -04:00
Bruce Ashfield
2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00
Bruce Ashfield
9f41aca8e6 python3-colorama: sync with meta-openembedded
This version of python3-colorama has shown to work with the meta-virt
recipes and software stacks.

Sync our version with meta-openembedded.

We continue to keep this around as a "canary" package.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-11-02 15:31:33 -04:00
Bruce Ashfield
adba1eafe5 python3-udica: skip recipe if meta-selinux is not available
meta-selinux has always been a soft dependency of meta-virt, as
such, it isn't in the layer dependencies.

To avoid yocto compat errors, and keep the dependency soft, we
add a skiprecip to udica if meta-selinux is not present.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-09-22 10:00:42 -04:00
Bruce Ashfield
3373301f78 devtools: introduce udica
udica provides an (easier) way to generate selnux policies
for containers. since we already have selinux has a dependency
of meta-virt, we might as well make policy creation easier.

See https://github.com/containers/udica, for details on how
to use the tool.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-09-16 11:00:11 -04:00
Bruce Ashfield
8915d8d54b python: synchronize colorama with meta-python
Our "canary" recipe for colorama picks up potentially destabilizing
changes in meta-python, but is kept in sync to avoid autombuilder
issues. If we can't stay in sync, we'll fork the recipe and change
our dependencies to match.

There has been a change in the meta-oe version, around checksums
and native integration. Both those changes are fine, so we update
to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-28 11:57:34 -04:00
Bruce Ashfield
93abfdb327 colorama: update to 0.4.5
Keeping in sync with meta-python. We mainatain our own version of
the recipe, as docker-compose and others have been sensitive to
version bumps in the past.

We pick up the following commits:

    f8ab4fd version bump 0.4.5
    f411cb9 Release checklist: no need to rebuild
    372c486 Omit demo06 from demos.sh
    0f5c36f Further tweaks made to support the release
    c29f133 tweaks for build process
    6105ab3 Mention fixed ValueError at exit in CHANGELOG
    e866230 Release checklist includes '.candidate' releases
    35e9a91 Add methods to ``StreamWrapper`` to allow better pickling
    8ba396b Replace deprecated pypyX with pypy-X.Y
    8a364bd Added test
    788106f Detached stream fix
    7899683 Add light colors in README
    912fe9b Add support for Python 3.10
    53e0db3 Update README-hacking.md
    e8e311b Update README-hacking.md
    69f4644 Replace Travis CI with GitHub Actions
    5ed1070 README suggests not using Colorama to print colors
    536e966 fixup! Fix typo discovered by codespell
    1d92c3a .
    16847d7 Make bandit, codespell, and pytest mandatory tests
    f307a6d GitHub Action to lint Python code
    402d236 Note that escapes are stripped out for redirected outputs.
    eea3a58 Added new demo
    f690a2b Use ASCII decoding explicitly in setup.py
    0275556 Add support and testing for PyPy3
    293d782 Remove discussion of unmaintained nose for running tests
    8f0587b Remove unused test imports and utils
    d8a0836 Add support for Python 3.9
    9946cfb Reference my blog p[ost about annotated tags
    9b770a0 README-hacking on tagging
    86bfecd Add --extra-index-url to test-release scripts
    938f5c5 Add Makefile docstring to test-release
    e0a314e Release scripts now include sdist.
    14a21e9 README mentions Pypy compatibility.
    d8a7ff0 fix README-hacking typo
    99765af Fix README link markup
    d080175 Fix README link markup
    5a393b2 Move contributing info to README-hacking.md
    f7efb11 Fix Makefile PHONY declaration
    759d5c7 Bump to version 0.4.5-pre
    b7596ad Fix Changelog markup
    24721c0 Belated CHANGELOG entries for 0.4.4 release
    688f6cc Unicode README chars that don't render on PyPI
    dc8460c Make tests pass on all OS.
    faafef8 Add light colors in README

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-07 10:55:15 -04:00
Bruce Ashfield
82f8a454a3 python3-sphinx: make a 4.2.0 specific recipe
OEcore has pulled in python3-sphinx, and bumped the version. Our
recipe is causing failures. We still have a version dependency on
4.2.x, so we create a specific recipe to keep things working.

Hopefully this can be deleted shortly, and this is only being
created as a transition project.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-24 08:10:59 -04:00
Bruce Ashfield
36cf756b0a python3-sphinx: add specific Licenses
The LICENSE field for python3-sphinx is not specific enough, and doesn't
contain all the integrated package licenses.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16 18:01:55 -04:00
Bruce Ashfield
6fed58d8cb python3-sphinx: update to 4.2.0
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16 18:01:55 -04:00
Bruce Ashfield
ec521bd529 python-cached: synchronize with meta-python
python3-cached-property was recently added to meta-python, with the
same version, but slightly different variable definitions.

This is breaking reprodicibility tests.

We've had some issues with python packages upgrading in meta-python
and causing runtime issues, so we temporarily want to hold onto a
copy of this recipe until that can be ruled out.

We'll either pin the version in meta-virt or remove the recipe once
that is determined.

But for now, if we synchronize the recipe variables, the reprodicibility
checks should stop failing.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-01 22:52:12 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Ruslan Babayev
1d16c1a980 python3: remove the no-longer required bbappend
It has been carried over from python2 and is no longer required.  More
importantly it breaks the python3-native build due to
${STAGING_DIR_TARGET} being "" for native recipes.

Signed-off-by: Ruslan Babayev <fib@cisco.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-29 10:56:47 -04:00
Leon Anavi
507adf6688 python3-bugsnag: Upgrade 4.0.2 -> 4.1.0
Upgrade to release 4.1.0:

- Add support for breadcrumbs. These are short log statements that
  are attached to error reports to help diagnose what events led
  to the error.
- Apply filtering with params_filters to bytes, not just strings

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-20 22:51:29 -04:00
Bruce Ashfield
ecc09d82db python3-paramiko: drop in favour of meta-python recipe
meta-python has the exact same version of this recipe, with only
minor differences.

Our copy is no longer needed, and in fact, is taking precedence
over a base build, changing signatures and breaking yocto compatibility.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-26 11:17:27 -04:00
Bruce Ashfield
34112b45c6 python3-docker: update to 5.0.0
Changelog:

 - Remove support for Python 2.7
 - Make Python 3.6 the minimum version supported

Features
 - Add limit parameter to image search endpoint

Bugfixes
 - Fix KeyError exception on secret create
 - Verify TLS keys loaded from docker contexts
 - Update PORT_SPEC regex to allow square brackets for IPv6 addresses
 - Fix containers and images documentation examples

4.4.4

Bugfixes
 - Remove LD_LIBRARY_PATH and SSL_CERT_FILE environment variables when shelling out to the ssh client

4.4.3

Features
 - Add support for docker.types.Placement.MaxReplicas

Bugfixes
 - Fix SSH port parsing when shelling out to the ssh client

4.4.2

Bugfixes
 - Fix SSH connection bug where the hostname was incorrectly trimmed and the error was hidden
 - Fix docs example

Miscellaneous
 - Add Python3.8 and 3.9 in setup.py classifier list

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-16 13:54:54 -04:00
Leon Anavi
37a794296e python3-cached-property: Upgrade 1.3.0 -> 1.5.2
Upgrade to release 1.5.2:

- Add formal support for Python 3.8
- Remove formal support for Python 3.4
- Switch from Travis to GitHub actions
- Made tests pass flake8 for Python 2.7

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:16:26 -04:00
Leon Anavi
dd47dbea25 python3-sphinx: Upgrade 3.4.3 -> 3.5.4
Upgrade to release 3.5.4:

- Restrict docutils to 0.16
- autodoc: Async staticmethods and classmethods are considered as
  non async coroutine-functions with Python3.10
- html theme: The style are not applied with docutils-0.17

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:16:23 -04:00
Leon Anavi
8498fdfc4c python3-flask-cors: Upgrade 3.0.8 -> 3.0.10
Upgrade to release 3.0.10:

- Adds support for PPC64 and ARM64 builds for distribution

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:16:00 -04:00
Leon Anavi
c43df272bf python3-botocore: Upgrade 1.20.36 -> 1.20.51
Upgrade to release 1.20.51:

- api-change:lightsail: Documentation updates for Amazon
  Lightsail.
- api-change:sts: This release adds the SourceIdentity parameter
  that can be set when assuming a role.
- api-change:comprehendmedical: The InferICD10CM API now returns
  TIME_EXPRESSION entities that refer to medical conditions.
- api-change:rds: Clarify that enabling or disabling automated
  backups causes a brief downtime, not an outage.
- api-change:redshift: Added support to enable AQUA in Amazon
  Redshift clusters.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:15:48 -04:00
Leon Anavi
48eb8cf5a9 python3-boto3: Upgrade 1.17.48 -> 1.17.51
Upgrade to release 1.17.51:

- api-change:lightsail: [botocore] Documentation updates for
  Amazon Lightsail.
- api-change:sts: [botocore] This release adds the SourceIdentity
  parameter that can be set when assuming a role.
- api-change:comprehendmedical: [botocore] The InferICD10CM API
  now returns TIME_EXPRESSION entities that refer to medical
  conditions.
- api-change:rds: [botocore] Clarify that enabling or disabling
  automated backups causes a brief downtime, not an outage.
- api-change:redshift: [botocore] Added support to enable AQUA
  in Amazon Redshift clusters.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:15:34 -04:00
Leon Anavi
b8eac95121 python3-bugsnag: Upgrade 3.6.1 -> 4.0.2
Upgrade to release 4.0.2:

- Fixed an issue preventing code being fetched from files in the
  project root but not in the PWD
- Fix issue where types were not packaged with the library
- Added __all__ lists throughout to indicate the boundaries of the
  public interface. This may affect your integration if using
  import *.
- Removed Configuration.use_ssl and Configuration.get_endpoint()
  in favor of including the protocol in Configuration.endpoint
- Configuration.send_environment is now False by default. Enable
  it as a part of your configuration to send the full request
  context (if any) as a part of each event.
- Removed bugsnag.utils.ThreadLocals as it has been superseded by
  the contextvars API
- Removed bugsnag.utils.merge_dicts, an unused helper function
- Removed bugsnag.send_sessions
- Deprecated bugsnag.notification.Notification in favor of
  bugsnag.event.Event to better align with Bugsnag libraries on
  other platforms. The Notification class is functionally
  equivalent and will be removed in a future release.
- Added a request property to Event.
- Added type signatures throughout the library.
- [WSGI] Use X-Forwarded-For header if present to determine the IP
  address used as the default user ID. The remote address remains
  available in the request metadata attached to the event.

License-Update: Check only a single line from PKG-INFO

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15 10:15:25 -04:00
Leon Anavi
1f9a36fa1a python3-boto3: Upgrade 1.14.7 -> 1.17.48
Upgrade to release 1.17.48:

- api-change:lookoutequipment: [botocore] This release introduces
  support for Amazon Lookout for Equipment.
- api-change:kinesis-video-archived-media: [botocore]
  Documentation updates for archived.kinesisvideo
- api-change:robomaker: [botocore] This release allows RoboMaker
  customers to specify custom tools to run with their simulation
  job
- api-change:appstream: [botocore] This release provides support
  for image updates
- api-change🐏 [botocore] Documentation updates for AWS RAM
  resource sharing
- api-change:customer-profiles: [botocore] Documentation updates
  for Put-Integration API
- api-change:autoscaling: [botocore] Amazon EC2 Auto Scaling
  announces Warm Pools that help applications to scale out faster
  by pre-initializing EC2 instances and save money by requiring
  fewer continuously running instances

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-13 22:48:39 -04:00
Leon Anavi
3939517428 python3-dotenv: Upgrade 0.13.0 -> 0.17.0
Upgrade to release 0.17.0:

- Make dotenv get <key> only show the value, not key=value
- Add --override/--no-override option to dotenv run

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-13 22:48:39 -04:00
Leon Anavi
0099422962 python3-newrelic: Upgrade 6.0.1.155 -> 6.2.0.156
Upgrade to release 6.2.0.156:

- Improved CPU metric sampling
- Improved memory metric sampling
- Increased custom attribute limit from 64 to 128
- Fixed a TypeError with Uvicorn and unix sockets
- Fixed a crash when using a FIPS compliant system with Cross
  Agent Tracing enabled

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-13 22:48:39 -04:00
Leon Anavi
91dc9ce226 python3-webob: Upgrade 1.8.5 -> 1.8.7
Upgrade to release 1.8.7:

- Decoding deflate-encoded responses now supports data which is
  packed in a zlib container as it is supposed to be. The old,
  non-standard behaviour is still supported.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-13 22:48:39 -04:00
Leon Anavi
d4025d3d97 python3-paramiko: Upgrade 2.7.0 -> 2.7.2
Upgrade to release 2.7.2:

- Update our CI to catch issues with sdist generation,
  installation and testing.
- Add missing test suite fixtures directory to MANIFEST.in,
  reinstating the ability to run Paramiko's tests from an sdist
  tarball.
- Remove leading whitespace from OpenSSH RSA test suite static
  key fixture, to conform better to spec.
- Fix incorrect string formatting causing unhelpful error message
  annotation when using Kerberos/GSSAPI.
- Fix incorrectly swapped order of p and q numbers when loading
  OpenSSH-format RSA private keys. At minimum this should address
  a slowdown when using such keys, and it also means Paramiko
  works with Cryptography 3.1 and above (which complains
  strenuously when this problem appears).

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-13 22:48:39 -04:00
Bartosz Golaszewski
5be55ac5cf boto3: satisfy runtime dependencies
Currently boto3 can be built into an image but it won't work without
additional dependencies. First: botocore is needed at run-time, second:
there are other packages available in meta-python that need adding.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-30 16:43:47 -04:00
Bruce Ashfield
4713c3867d python3-colorama: update to 0.4.4
Updating to the latest colorama. We also tweak the license
text to match the latest upstream content.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-09 21:50:12 -05:00
Bruce Ashfield
62e8c1e96a python3-sphinx: update to 3.4.4
Along with the version bump, we tweak the license checksum as the
BSD clause was changed upstream.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-09 21:43:28 -05:00
Bruce Ashfield
bd6bf732ef newrelic: update to 6.0.1.155
Along with the version bump, we tweak the LICENSE checksum, since the
file changed locations in the repository.

We also add a patch to setup.py to allow the version of setuptools_scm
in oe-core to satisfy the build requirements.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-09 21:36:11 -05:00
Bruce Ashfield
ac5e9f55a5 python3-docker: update to 4.4.1
Updating this version to work better with associated uprev'd
docker packages (compose, etc).

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-09 20:53:18 -05:00
Ricardo Salveti
2f83558f46 python3-docker: upgrade 4.2.1 to 4.3.1
Release notes for 4.3.1:
- Miscellaneous
  - Set default API version to auto
  - Fix conversion to bytes for float
  - Support OpenSSH identityfile option

Release notes for 4.3.0:
- Features
  - Add DeviceRequest type to expose host resources such as GPUs
  - Add support for DriverOpts in EndpointConfig
  - Disable compression by default when using container.get_archive method
- Miscellaneous
  - Update default API version to v1.39
  - Update test engine version to 19.03.12

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-11-03 16:30:29 -05:00
Ricardo Salveti
0ac91aa8f2 python3-texttable: remove recipe
Newer version now available via meta-oe/meta-python:
- meta-python/recipes-devtools/python/python3-texttable_1.6.3.bb

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-27 22:40:54 -04:00
Ricardo Salveti
9258d20358 python3-websocket-client: remove recipe
Remove local python3-websocket-client recipe in favor of a similar one
that is provided by meta-oe/meta-python (same verison but with the correct
license).

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-27 22:40:54 -04:00
Ming Liu
97e83f3f3b python3-dotenv: add recipe
Shell Command and Library to write and read .env like files, it's being
required by python3-docker-compose upper than 1.26.0.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-01 12:43:16 -04:00
Ming Liu
04f1f54b04 python3-docker: uprev 4.2.0 > 4.2.1
Merge python-docker.inc to python3-docker_4.2.1.bb since we have
dropped python-docker recipe.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-01 12:43:16 -04:00
Ming Liu
bbca3cb2e3 python3-boto3: uprev 1.11.7 > 1.14.7
Also drop SRCNAME/SRC_URI/S, change to inherit pypi.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-25 22:46:44 -04:00
Ming Liu
a6893e27ef python3-bugsnag: uprev 3.6.0 > 3.6.1
Also drop SRCNAME/SRC_URI/S, change to inherit pypi.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-25 22:46:44 -04:00