License-Update: There is separate License file now so use that for
checksums
use setuptools_build_meta since normal setuptools3 bbclass ends up
in errors
| distutils.errors.DistutilsError: Command '['/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux-musl/python3-kiwisolver/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3', '-m
', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpmeo45wf4', '--quiet', 'cppy>=1.2.0']' returned non-zero exit status 1.
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
Release is here [1]
[1] https://github.com/nucleic/kiwi/releases/tag/1.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef,
and nodes.FunctionDef.
Accessing the doc attribute of nodes.Module, nodes.ClassDef, and
nodes.FunctionDef has been deprecated in favour of the doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef,
and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Replace custom cachedproperty with functools.cached_property and deprecate it
for Python 3.8+.
Closes#1410
Set end_lineno and end_col_offset attributes to None for all nodes
with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
to unexpected errors. Overwriting them with None will cause a fallback
to the already supported way of PyPy 3.7.
Add missing shape parameter to numpy zeros_like, ones_like,
and full_like methods.
ClosesPyCQA/pylint#5871
Only pin wrapt on the major version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Drop the recipes moved to core in the python3-cryptography move.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.
The recipe that needed poetry-core is python3-iso8601.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
These variables are no longer used by pip_install_wheel, so remove them
from all recipes that set them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These were missing from the packagegroup.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The test suite is no longer shipped in the sources, so remove PN-tests.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Nothing is packaged in these, there are no debug symbols and the sources
are packaged into the regular packages.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
By assigning directly to DEPENDS the dependencies in setuptools3 are
overwritten, so python3-setuptools-native is present to let the build
succeed entirely through luck.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Put the patch into a directory named after PN to avoid needing to set
FILESEXTRAPATHS.
Remove explicit FILES:${PN}-dbg, as these are packaged automatically.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 lru_cache for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 configparser for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Pystache hasn't been maintained since 2014. One maintained alternative
is https://github.com/noahmorrison/chevron.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
There's been a lot of work on this class so clean it up a bit.
Rationalise imports, python3-dir is already included in python3native.
Don't write a helper script in do_configure, just call the API in
do_compile. In the long term this should be using pypa/build instead
of calling the API directly.
Stub out do_configure as the base configure isn't useful.
Write the wheel to PIP_INSTALL_DIST_PATH instead of hard-coding S/dist,
and clean it.
Use EXPORT_FUNCTIONS on the tasks.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Show diff when black fails
Fix f-string
Fix black fail introduced
Log error code on exception
Bump protobuf to 3.19.1 and regenerate protobuf files
Bump black from 21.12b0 to 22.1.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Changes
-------
- Bump required python version for doc.
- Remove python 3.6 from metadata.
- Re-bump changelog.
- Bump version.
- Bump changelog.
- Bump misp-objects.
- Bump deps.
- Bump new minimal python version to 3.7.
- Perl dependencies not longer required.
- Simplify submodules checkout.
- Use https for link to documentation.
- Bump deps.
- [misp-objects] updated to the latest version.
- [FIPS] no clean way to support OpenSSL hashlib interface for FIPS.
- [FIPS] falling back on older version of Python not having
usedforsecurity.
- [FIPS] in some cases, the `usedforsecurity` is not used. So fail if
the FIPS compliance is required and then the `usedforsecurity` is
disabled.
- [feeds] FIPS: when MD5 hashes are generated for fast-lookup it's not
for security.
hashlib provides an option to tell if the hash is used for security or
not. By default, it's set to True. For the feed cache generation, it's
not. Then usedforsecurity=False
- Bump deps.
- Bump deps, objects.
Fix
-----
- Incorrect call when requesting a new API key.
- Libfuzzy-dev is not longer required.
- [mispevent] cannot type.
- Make mypy happy.
New
------
- Get_new_authkey for a user.
- [dep] Use pydeep2 instead of pydeep.
Other
------
- Create add_filetype_object_from_csv.py.
- Add feed option for local tag exclusion #817.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Ignore TIFF XResolution or YResolution with 0 in the denominator.
Add section on freezing
Update "python_requires" to 3.7+
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py-use-setuptools-instead-of-distutils.patch
removed since it's included in 2.4.0
Changelog:
=========
* enable building wheels for multiple platforms and Python versions using
pypa/cibuildwheel, see #165 and #170
* use setuptools instead of distutils in 'setup.py', #168
* add missing type hinting for '.count()' step argument
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
* Fixed inference of "self" in binary operations in which "self"
is part of a list or tuple.
* Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which
resulted in instance arguments missing on these nodes.
* Fixed a crash on "Super.getattr" when the attribute was previously uninferable due to a cache
limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the
"__init__" attribute) is very large.
* Inlcude names of keyword-only arguments in "astroid.scoped_nodes.Lambda.argnames".
* Fixed a crash inferring on a "NewType" named with an f-string.
* Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which
added a new `attrs` module alongside the existing `attr`.
* Use the "end_lineno" attribute for the "NodeNG.tolineno" property
when it is available.
* Add "is_dataclass" attribute to "ClassDef" nodes.
* Use "sysconfig" instead of "distutils" to determine the location of
python stdlib files and packages.
* Fixed crash with recursion error for inference of class attributes that referenced
the class itself.
* Fixed crash when trying to infer "items()" on the "__dict__"
attribute of an imported module.
* Add optional "NodeNG.position" attribute.
Used for block nodes to highlight position of keyword(s) and name
in cases where the AST doesn't provide good enough positional information.
E.g. "nodes.ClassDef", "nodes.FunctionDef".
* Fix "ClassDef.fromlineno". For Python < 3.8 the "lineno" attribute includes decorators.
"fromlineno" should return the line of the "class" statement itself.
* Performance improvements. Only run expensive decorator functions when
non-default Deprecation warnings are enabled, eg. during a Pytest run.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Fixed a bug pymongo.collection.Collection.bulk_write() did not apply the
collection’s CodecOptions to upserted_ids result (PYTHON-3075).
Fixes the High Availability and PyMongo example for initializing a replica
set (PYTHON-3041).
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
New set algorithms_available lists all implemented algorithms in xxhash package.
Upgrade xxHash to v0.8.1.
Drop support for EOL Python versions, require python >= 3.6 from now on.
Migrate to github actions and build arm64 wheels for macOS.
Always release GIL.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Poetry can bootstrap itself, so just inherit poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This reverts commit df077258b6.
Add python3-ipy back and inherit setuptools3-legacy.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This setup.py installs data_files with absolute paths, which isn't
supported by bdist_wheel. Use setuptools_legacy as the legacy install
task needs to be used.
Also update patch status on the setuptools port.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
fedorahosted.org is retired, so set the GitHub page as the homepage.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.
Reverts daba6521f which was a sympton of the bad usage.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Python Version Support
----------------------
- Python 3.6 is no longer supported by Waitress
- Python 3.10 is fully supported by Waitress
Bugfix
-------
- "wsgi.file_wrapper" now sets the "seekable", "seek", and "tell"
attributes from the underlying file if the underlying file is seekable. This
allows WSGI middleware to implement things like range requests for example
See https://github.com/Pylons/waitress/issues/359 and
https://github.com/Pylons/waitress/pull/363
- In Python 3 "OSError" is no longer subscriptable, this caused failures on
Windows attempting to loop to find an socket that would work for use in the
trigger.
See https://github.com/Pylons/waitress/pull/361
- Fixed an issue whereby "BytesIO" objects were not properly closed, and
thereby would not get cleaned up until garbage collection would get around to
it.
This led to potential for random memory spikes/memory issues, see
https://github.com/Pylons/waitress/pull/358 and
https://github.com/Pylons/waitress/issues/357 .
Features
--------
- When the WSGI app starts sending data to the output buffer, we now attempt to
send data directly to the socket. This avoids needing to wake up the main
thread to start sending data. Allowing faster transmission of the first byte.
See https://github.com/Pylons/waitress/pull/364
- Add REQUEST_URI to the WSGI environment.
REQUEST_URI is similar to "request_uri" in nginx. It is a string that
contains the request path before separating the query string and
decoding "%"-escaped characters.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Bugfixes
--------
- twisted.internet.gireactor.PortableGIReactor.simulate and
twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises
TypeError when there are no delayed called. This was a regression introduced
with the migration to Python 3 in which the builtin 'min' function no longer
accepts 'None' as an argument. (#9660)
- twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer
if the SSH version string is not sent in the first 4096 bytes.
(#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx)
Improved Documentation
----------------------
- Add type annotations for twisted.web.http.Request.getHeader. (#10270)
Deprecations and Removals
-------------------------
- Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated. (#10303)
Bugfixes
--------
- _dist.test.test_workertrial now correctly compare strings via assertEqual() and pass on PyPy3 (#10302)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Main Changes
------------
Add pyenv's .python-version into .gitignore, #576
Added more --very-verbose logging to make clearer what's going on, #578
Updated versions of containers in CI config, #583
Fixed coverage config template for namespaced packages, #610
Replaced internal appdirs dependency with platformdirs, #584
Documentation Changes
---------------------
Mention python -m setuptools_scm as a form of debugging, #574
Mention setting the default branch in git in docs, #577
Fix documented path to pyscaffold/default.cfg, #580
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
0001-setupinfo.py-check-the-return-value.patch
removed since it's included in 4.8.0.
Changelog:
=========
Features added
--------------
* GH#337: Path-like objects are now supported throughout the API instead of just strings.
Patch by Henning Janssen.
* The ''ElementMaker'' now supports ''QName'' values as tags, which always override
the default namespace of the factory.
Bugs fixed
----------
* GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in
lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
Patch by Tobias Deiminger.
Other changes
-------------
* Built with Cython 0.29.28.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
refresh 0001-Fix-host-contamination-of-include-files.patch
for new version.
License-Update: year updated to 2022.
Changelog:
=========
- renamed _icu extension module to _icu_ and moved it into icu module
- moved icu python module sources into py directory
- deleted long deprecated PyICU.py file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Build wheels for aarch64 at Travis; publish them at PyPI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
fix: auto ping/pong logs should be debug instead of info (#1524)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Do not poke at build system for finding platform
platform is target specific and when cross compiling it should be
detected differently, in this case lets pass it via environment so that
it can be set in recipe
Looks like we're not the first to need to specify the target platform
[1]
when building this package. According to upstream, we can just update
setup.cfg instead of patching setup.py.
[1] https://github.com/ICRAR/crc32c/pull/10
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add recipe for python3-pydot which is an interface to Graphviz.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.4:
- Fix traceback in hashlib_insecure_functions
- Add version 1.7.3 to dropdown
- core/config: Fix ConfigError missing argument if toml is missing
- Add 1.7.4 in issue template
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch for python 3.10 compatibility was missing an update to
'import' line.
Fixes the following problem encountered making use of gyp:
| File "[...]/usr/lib/python3.10/site-packages/gyp/common.py", line 497, in <module>
| class OrderedSet(collections.abc.MutableSet):
| AttributeError: module 'collections' has no attribute 'abc'
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
poetry.core.masonry.api is one of the common PEP-517 build backends.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Migrate to use setuptools instead of distutils
merge slip.dbus into slip module since we use
slip.dbus, it works fine for OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
With wheels changes it is also getting installed under PYTHON_SITEPACKAGES_DIR
perhaps something to fix in setup.py but this fix works better from a
packager point of view.
Moves the systemd unit files and daemon into /usr/lib and /usr/libexec
dirs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.5.2:
- Add support for building aarch64 wheels
- Remove update process document
- Port ast27 to Python 3.11
- Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.0.0:
- Drop support for Python 3.6
- Remove deprecated VERSION, use version instead
- Remove when from naturaldelta() and allow largest timedelta
- Remove deprecated private function aliases
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.13.0:
- Clarify that the Headers class is a Sequence and inherit from
the collections Sequence abstract base class to also indicate
this (and gain the mixin methods)
- Switch event classes to dataclasses for easier typing and
slightly improved performan
- Shorten traceback of protocol errors for easier readability
- Add typing including a PEP 561 marker for usage by type checkers
- Expand the allowed status codes to [0, 999] from [0, 600]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.7:
- Dropped support for Python 3.7
- Added the Asadpour algorithm for solving the asymmetric traveling
salesman problem
- Removed all internal usage of the numpy.matrix class, and added a
FutureWarning to all functions that return a numpy.matrix
instance
- Added support for the scipy.sparse array interface
- Added generic dtype support to
~networkx.convert_matrix.to_numpy_array
- Added support for computing betweenness centrality on multigraphs
- Added support for directed graphs and multigraphs to
greedy_modularity_communities
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Backport a fix to migrate to use setuptools instead of distutils
Changes in this release are [1]
[1] https://github.com/storaged-project/blivet-gui/releases/tag/2.3.0-1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Use github to fetch it since its not yet available on pypi
Port to use setuptools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.
Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Add --verbose logging for querying keyring credentials.
Log all upload responses with --verbose.
Show more helpful error message for invalid metadata.
-Bugfixes
Require a recent version of urllib3.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Switch back to pulling from PyPI which now does have appropriate release
tarballs. This fixes building the wheel.
While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM
at the LICENSE file that's now part of the release tarball.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the
1.8.1 tag.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add function to generate expected PYPA_WHEEL name.
Generated name:
/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/
Flask_Versioned-0.9.4.post20101221-py3-none-any.whl
Default (wrong) name:
Flask_Versioned-0.9.4-20101221-*.whl
Error:
WARNING: Requirement '/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/Flask_Versioned-0.9.4-20101221-*.whl'
looks like a filename, but the file does not exist
ERROR: Flask_Versioned-0.9.4-20101221-*.whl is not a valid wheel filename.
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Does not build with bdist_wheel. If you need this package please work
with upstream to update to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to allow users to migrate.
A deprecation warning has been added to each class.
Documentation is also being dropped in oe-core, but users can refer to
3.4 documentation for the legacy variables and classes.
[YOCTO #14610]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Connect with an empty auth object instead of None
Fix indentation in the "Rooms" docs example.
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherity pypi and the package name is capitalized
regardless. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
When calling setup.py with bdist_wheel, the find_pth_directory() in
setup.py correctly install the pth file to
${D}${PYTHON_SITEPACKAGES_DIR}. It's not clear why setup.py was being
patched original when the recipe was added in 2019, but it doesn't
appear to be necessary now.
This fixes the recipe to build with the recent PEP-517 changes.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Fix the pip install variables since the default values don't work
here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The current SRC_URI is pointing to a fork of an abandoned
code.google.com project, the latter being what is actually on pypi.
Aside from some activity in 2012 porting to python3, the fork hasn't
seen any real activity.
The package doesn't have wheel support and has no dependents in
meta-openembedded
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Add patch to switch from 'distutils' to 'setuptools'
* Set PIP_INSTALL_PACKAGE = "python_meh"
* Install files to ${datadir} as intended
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream hasn't done a release, but has commits which among other things
switches from distutils to setuptools.
Now DEPENDS on python3-setuptools-scm-native
Set PV to what the version of the 'wheel' is.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Reviewed-by: TIm Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH so set PYPA_WHEEL
appropriately.
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
Added :func:'print_black_and_white' worksheet method to set "Black and
White" print options.
License-Update: year updated to 2022.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022.
ChangeLog
============
- Fix 10 year old bug and improve dispatcher handling for run_forever (#795)
- Fix run_forever to never return None, only return True or False, and add two
tests (#788)
- Remove Python 3.6 support, EOL in Dec 2021
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with ditutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Layer priority is the ultimate decider of what recipe is used: if layer
A has recipe foo_1 and layer B has recipe foo_2, if layer A's priority
is higher than B then foo_1 will be used, even though the version in B
is higher, and even if PREFERRED_VERSION_foo is set to 2.
This complicates recipes moving between layers, for example when a newer
version of a recipe (say, python3-wheel) is taken from a layer with a
higher priority (say, meta-python) and moved to a layer with a lower
priority (say, oe-core) then it has to be removed before it is added:
there is no way to have it in both layers and work correctly.
Higher priorities are useful in distribution layers where you may want
to override specific recipes without any other fuss. However as all of
the layers in meta-oe simply add more recipes in defined areas, there's
no need to have a higher layer priority.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The LICENSE is already included in the wheel and therefore packaged like
any other wheel. Remove the duplicate LICENSE erroneously installed in
/usr/pako/LICENSE.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The code has not been touched since 2013 and does not build with
bdist_wheel. If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi, nor is PN a reasonable guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
The wheel is built in ${S}/dist rather than ${B}/dist so set
PIP_INSTALL_DIST_PATH appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to a useful name for
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH
appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
The recipe also builds its wheel in ${S}/dist so we must set
PIP_INSTALL_DIST_PATH appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
wheel dist-info standard files).
This recipe may be overly complicated. This commit is only an attempt to
fix the install of the wheel.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares a flit_core.buildapi
build backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares the flit_core.buildapi
backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, the wheel is being built in
${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, this is building its wheel in
${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add comment that setuptools_build_meta is currently broken and stick
with setuptools3 for now.
For some reason, the wheel is built in ${S}/dist and not ${B}/dist.
Set PIP_INSTALL_DIST_PATH accordingly as a workaround.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.8.11:
- Rewrote an async test and replaced setDaemon with daemon property
assignment for thread handling
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.1.1:
- Drop support for EOL Python 3.6
- Use <caption> tags to print html table titles
- Add colorful tables and themes
- Convert None to empty cell or custom value
- Resolve "KeyError" issue on _stringify_row
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
anyjson is inactive [1] moreover does not have wheel support
there is drop-in replacement to use oslo.serialization if needed
we can accept such a recipe if submitted
[1] https://snyk.io/advisor/python/anyjson
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add pytest module dependency for testing
nose has been dropped upstream too [1]
[1] 037453c6f9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.3.2:
- Fix: adapt to pypy3.9's decorator tracing behavior. It now
traces function decorators like CPython 3.8: both the @-line
and the def-line are traced.
- Debug: added pybehave to the list of Diagnostics: coverage debug
and --debug options
- Fix: show an intelligible error message if
--concurrency=multiprocessing is used without a configuration file
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.4.0:
- Fixed issue where tab completion was quoting argparse flags in
some cases.
- Added broader exception handling when enabling clipboard
functionality via pyperclip.
- Added PassThroughException to __init__.py imports.
- cmd2 now uses pyreadline3 when running any version of Python
on Windows
- Improved memory usage in certain use cases of tables
(e.g. nested colored tables)
- Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0.
Use cmd2.Fg and cmd2.Bg instead.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.0.57:
- Get translation changes from CLDR
- Add more translations from CLDR
- Replace "ibus/cangjie" with "ibus/table:cangjie"
- Updates for Sami languages
- Updates for Finnish keyboard layouts
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.1:
- Regression in Series.mask() with inplace=True and PeriodDtype and
an incompatible other coercing to a common dtype instead of
raising
- Regression in assert_frame_equal() not respecting check_flags=False
- Regression in DataFrame.loc() raising ValueError when indexing
(getting values) on a MultiIndex with one level
- Regression in Series.fillna() with downcast=False incorrectly
downcasting object dtype
- Regression in api.types.is_bool_dtype() raising an AttributeError
when evaluating a categorical Series
- Regression in DataFrame.iat() setting values leading to not
propagating correctly in subsequent lookups
- Regression when setting values with DataFrame.loc() losing Index
name if DataFrame was empty before
- Regression in join() with overlapping IntervalIndex raising an
InvalidIndexError
- Regression when setting values with Series.loc() raising with all
False indexer and Series on the right hand side
- Regression in read_sql() with a DBAPI2 connection that is not an
instance of sqlite3.Connection incorrectly requiring SQLAlchemy
be installed
- Regression in DateOffset when constructing with an integer
argument with no keywords (e.g. pd.DateOffset(n)) would behave
like datetime.timedelta(days=0)
- Fixed segfault in DataFrame.to_json() when dumping tz-aware
datetimes in Python 3.10
- Stopped emitting unnecessary FutureWarning in
DataFrame.sort_values() with sparse columns
- Fixed window aggregations in DataFrame.rolling() and
Series.rolling() to skip over unused elements
- Fixed builtin highlighters in Styler to be responsive to NA with
nullable dtypes
- Bug in apply() with axis=1 raising an erroneous ValueError
- Reverted performance speedup of DataFrame.corr() for
method=pearson to fix precision regression
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.1.0:
- Packaged using flit. Wheels now exist, and setuptools is no
longer required.
- This package now has a typical package structure, instead of
being a single module. The code is in ordered_set/__init__.py
instead of ordered_set.py.
- There is an ordered_set/py.typed so that type checkers know
about the types.
- Use the type aliases SetLike[T] and OrderedSetInitializer[T] to
simplify some types.
- Updated the way overloaded type signatures are written to what
MyPy currently expects.
- Minimum Python version is 3.7.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-The test client's as_tuple parameter is deprecated and will be removed in
Werkzeug 2.1. It is now also deprecated in Flask, to be removed in Flask 2.1,
while remaining compatible with both in 2.0.x. Use response.request.environ
instead.
-Fix type annotation for errorhandler decorator.
-Revert a change to the CLI that caused it to hide ImportError tracebacks when
importing the application.
-app.json_encoder and json_decoder are only passed to dumps and loads if they
have custom behavior. This improves performance, mainly on PyPy.
-Clearer error message when after_this_request is used outside a request
context.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
python3-nose still contains Python 2 code which causes errors in
do_compile when using bdist_wheel or PEP-517 packaging.
Like nose, test-generator has not been touched since 2016.
Drop this recipe unless someone fixes the issues in python3-nose
[YOCTO #14638]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Because of layer priority, this recipe must be dropped before a build
with the new PEP-517 packaging can proceed due to dependency loops.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 8.0.4:
- open_file recognizes Path("-") as a standard stream, the same as
the string "-".
- The option and argument decorators preserve the type annotation
of the decorated function.
- A callable default value can customize its help text by
overriding __str__ instead of always showing (dynamic).
- Fix a typo in the Bash completion script that affected file and
directory completion. If this script was generated by a previous
version, it should be regenerated.
- Fix typing for echo and secho file argument.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.0:
- Dropped support for EOL Pythons 2.7, 3.4 and 3.5
- Dropped support for LSB and uname back-ends when --root-dir is
specified
- Moved distro.py to src/distro/distro.py
- Documented that distro.version() can return an empty string on
rolling releases
- Documented support for Python 3.10
- Added official support for Rocky Linux distribution
- Added a shebang to distro.py to allow standalone execution
- Added support for AIX platforms
- Added compliance for PEP-561
- Fixed include_uname parameter oversight
- Fixed crash when uname -rs output is empty
- Fixed Amazon Linux identifier in distro.id() documentation
- Fixed OpenSuse >= 15 support
- Fixed encoding issues when opening distro release files
- Fixed linux_distribution regression
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update:
year updated to 2022
changelog:
===============================================================================
Add a new command alembic ensure_version, which will ensure that the Alembic
version table is present in the target database, but does not alter its
contents. Pull request courtesy Kai Mueller.
Fixed regression where usage of a with_variant() datatype in conjunction
with the existing_type option of op.alter_column() under batch mode would
lead to an internal exception.
Implemented support for recognizing and rendering SQLAlchemy “variant” types
going forward into SQLAlchemy 2.0, where the architecture of “variant”
datatypes will be changing.
Added a rule to the MySQL impl so that the translation between JSON / LONGTEXT
is accommodated by autogenerate, treating LONGTEXT from the server as
equivalent to an existing JSON in the model.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.3.4:
- Add a way to make next() easier to use
- Restore compat with python2
- Fix regressions with set_current
- Fix compat for tests under py27
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since 2021-11-23 this is on oe-core:
d56fcb5806 ("python: introduce python3-dtschema")
The recipe in oe-core is named python3-dtschema (without dash between
'dt' and 'schema'). It points to the correct GIT repository and uses a
much more recent version.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
When using ns.PATH, only split off a maximum of two suffixes from a file name.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022
Changelog:
=========
Features
--------
-Python 3.10 is now a supported platform (#10224)
-Type annotations have been added to the twisted.python.fakepwd module. (#10287)
Bugfixes
--------
-twisted.internet.defer.inlineCallbacks has an improved type annotation, to
avoid typing errors when it is used on a function which returns a non-None
result. (#10231)
-twisted.internet.base.DelayedCall.__repr__ and
twisted.internet.task.LoopingCall.__repr__ had the changes from #10155
reverted to accept non-function callables. (#10235)
-Revert the removal of .whl building that was done as part of #10177. (#10236)
-The type annotation of the host parameter to
twisted.internet.interfaces.IReactorTCP.connectTCP has been corrected from
bytes to str. (#10251)
-Deprecated twisted.python.threading.ThreadPool.currentThread() in favor of
threading.current_thread().
-Switched twisted.python.threading.ThreadPool.currentThread() and
twisted.python.threadable.getThreadID() to use 'threading.current_thread() to
avoid the deprecation warnings introduced forthreading.currentThread()'
in Python 3.10. (#10273)
Improved Documentation
----------------------
-twisted.internet.utils.runWithWarningsSupressed behavior of waiting on
deferreds has been documented. (#10238)
-Sync API docs templates with pydoctor 21.9.0 release, using new theming
capabilities. (#10267)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
- "ProxyFix" supports IPv6 addresses. :issue:'2262'
- Type annotation for "Response.make_conditional",
"HTTPException.get_response", and "Map.bind_to_environ" accepts
"Request" in addition to "WSGIEnvironment" for the first
parameter. :pr:'2290'
- Fix type annotation for "Request.user_agent_class". :issue:'2273'
- Accessing "LocalProxy.__class__" and "__doc__" on an unbound
proxy returns the fallback value instead of a method object.
:issue:'2188'
- Redirects with the test client set "RAW_URI" and "REQUEST_URI"
correctly. :issue:'2151'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.6:
- add optional value parameter to `util.count_n()`
- determine machine endianness at build time when possible, by
using the `PY_LITTLE_ENDIAN` macro, in order to optimize
`shift_r8()`
- add official Python 3.11 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.14.0:
- Don't deprecate time.Unit enumeration
- Use humanize.intcomma to format years in time module
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.15.0:
- Fix webcam FPS settings on MacOS
- Add format_hint to v3 API
- Make tifffile read resolution metadata
- Make RTD fail on warnings during CI
- Remove link to download tracker
- Type annotations for pillow
- Contribution guidelines
- Deprecate python 3.6 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
Drop support for Python 2.7. #1047
The minimum cryptography version is now 35.0.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
OAuth2.0 Client:
Add Device Authorization Flow for Web Application
Add PKCE support for Client
Fallback to none in case of wrong expires_at format.
OAuth2.0 Provider:
Add support for CORS to metadata endpoint.
Add support for CORS to token endpoint.
Remove comma after Bearer in WWW-Authenticate
OAuth2.0 Provider - OIDC:
Call save_token in Hybrid code flow
OIDC add support of refreshing ID Tokens with refresh_id_token
The RefreshTokenGrant modifiers now take the same arguments as the
AuthorizationCodeGrant modifiers (token, token_handler, request).
General:
Added Python 3.9, 3.10, 3.11
Improve Travis & Coverage
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>