| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
We do not have 64bit atomics otherwise
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
libdecor is a window decoration library that is required for shells that
require client side decoration. It is e.g. useful to get window decoration
for libsdl apps if running under weston or gnome-shell.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Add eyeofgnome as it is a good image viewer
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
License-Update: Added more copyright holders
- Copyright © 2013-2014 University of Wisconsin-La Crosse. All rights reserved.
- Drop enable/disable numa knob, its gone in new version
- inherit bash-completion
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Due to limited arch support in LuaJIT it can not be enabled univesally
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
LuaJIT is a hard dependency for newer sysbench
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Use system cuncurrencykit and enable riscv
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Enable riscv as it is supported now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
= Drop uneeded 0001-trace-cmd-make-it-build-with-musl.patch
- Update LFS64 patch with the upstream submitted one
- Add a patch to remove useless rpaths
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
From Peter Bergin <peter@berginkonsult.se>
see https://github.com/openembedded/meta-openembedded/pull/632/commits/cf672ba52f8c4d983ad9a74b67f226ac753a50f8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is a dependency on libs in trace-cmd binaries
so lets build libs first before building trace-cmd
Fixes errors like
trace-cmd/2.9.1-r0/git/tracecmd/trace-record.o: in function `make_instances':
| /usr/src/debug/trace-cmd/2.9.1-r0/tracecmd/trace-record.c:5037: undefined reference to `tracefs_instance_create'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
ERROR: Nothing PROVIDES 'virtual/libgbm' (but /build/layers/meta-openembedded/meta-multimedia/recipes-support/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr_0.6.0.bb DEPENDS on or otherwise requires it).
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xdg-desktop-portal-wlr', 'virtual/libgbm']
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
gnome-photos depends on libportal which needs opengl DISTRO_FEATURES,
so add the required DISTRO_FEATURES for gnome-photos.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
file-roller depends on libportal which needs opengl DISTRO_FEATURE,
so add the required distro also for file-roller.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The gvfs project meson configuration attempts to locate and resolve the
path to an ssh-client on the build host, then pass that full-path to the
gvfs sftp-backend as a constant string, to be used at runtime to fork
ssh subprocesses.
As a consequence, if the build machine's ssh client path differs from
the gvfs target's path - as is common for OE/buildroot builds - gvfs can
fail at runtime. Further, build machines cannot configure gvfs without
an ssh client, even though nothing *uses* the client during the build.
The .patch in this commit has been upstreamed with gvfs, and modifies
the configuration to instead pass the string-literal `ssh` to the sftp
backend. With this change, gvfs will instead rely on PATH-expansion to
locate the user's ssh-client at runtime.
This obviates the requirement that the build machine have an ssh-client.
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using `DEPENDS = "pegtl"` with `--with-bundled-pegtl` doesn't make
sense, so drop the DEPENDS.
Also add github-releases checking for newer versions.
Drop redundant setting of `S` to the default.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
When testing Gnome recipes at runtime, I noticed that inherit meson was missing
and gnome-terminal was not compiled. Fix this
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using a private module from setuptools is not a good idea and
no longer works with latest setuptools.
it's actually better to revert to official distutils even if
it is going away in the next python release. Hopefully by
then upstream will transition to something supported.
TMPDIR in .pyc can be addressed by simply not installing the .pyc.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The boost recipe in oe-core has recently been updated to boost-1.81.0.
Starting with this release, boost-url is included in the boost
distribution.
As a prerequisite for creating the -url sub package from the boost
recipe, the boost-url recipe should be removed in order to avoid
conflicts with installed files.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gettext is need for translation
* riscv64 machines are supported
* add packageconfig support for sqlite and zlib
- add native pkgconfig
- enable zlib as it will reduce considerable the data files sizes
* patches
- add 0001-disable-docbook2man.patch to not build .sgml file
- drop 0001-Fix-musl-build.patch as it is merged in:
https://github.com/lyonel/lshw/commit/d3c66a6b2a0799d6982f4dc77b291934fcba80c9
https://github.com/lyonel/lshw/commit/0140f7f28a09d33dc46531212d095da5e021b027
Changelog:
- PA-RISC: handle pushd failure
- make version check optional
- Github PR85 Set product name for all netdevs sharing the same PCI number
- Merge pull request 'Add Spanish translation' (#48) from alexhenrie/lshw:es into master
- Merge branch 'master' into es
- Merge pull request 'Fix mistakes in Catalan translation' (#47) from alexhenrie/lshw:ca into master
- Add Spanish translation
- Fix mistakes in Catalan translation
- Merge pull request 'Add Catalan translation' (#46) from alexhenrie/lshw:ca into master
- merge Github PR#77
- use max (9) Gzip compression
- Add Catalan translation
- Update POT file
- Add more network speeds
- Merge pull request 'Remove unnecessary space before closing parenthesis' (#45) from alexhenrie/lshw:punctuation into master
- Merge pull request 'Translate all words of a phrase together' (#44) from alexhenrie/lshw:legos into master
- Merge pull request 'Fix another typo' (#43) from alexhenrie/lshw:typos into master
- Merge branch 'master' of https://ezix.org/src/pkg/lshw
- add some includes
- fix typo
- cosmetic fixes
- support for new ethtool capabilities
- code clean-up
- code clean-up
- allow pkg-config override
- allow pkg-config override
- Remove unnecessary space before closing parenthesis
- Translate all words of a phrase together
- Fix another typo
- Merge pull request 'Fix typos in translatable messages' (#42) from alexhenrie/lshw:typos into master
- Fix typos in translatable messages
- Fix getting size of memory banks <32GiB
- Merge pull request 'devtree: Add UUID property' (#40) from hegdevasant/lshw:lpar-uuid into master
- devtree: Add UUID property
- code clean-up
- improve portability (esp. musl)
- fix potential crash
- add static target to Makefile
- Avoid crash on device-tree parsing
- Add JEDEC manufacturer
- Report correct memory size on SMBIOS < 2.7
- fix man page after previous update
- update man page
- Update 'docs/TODO'
- Update 'docs/TODO'
- Merge pull request 'Replace the about GtkDialog with a GtkAboutDialog' (#39) from linkmauve/lshw:better-about into master
- Replace the about GtkDialog with a GtkAboutDialog
- Merge pull request 'Move from GtkMenuBar to GMenu' (#38) from linkmauve/lshw:gmenu into master
- Move from GtkMenuBar to GMenu
- Merge pull request 'Switch to gtk3 by default for gtk-lshw' (#37) from linkmauve/lshw:gtk3 into master
- Enable/Disable GSimpleAction instead of button sensitivity
- Replace signals with GSimpleActions
- Move to GtkApplication
- Remove deprecated use_action_appearance property
- Remove deprecated widgets
- Replace the last GtkStock in overwrite dialog
- Replace deprecated GtkIconFactory with GHashTable
- Use GtkFileChooserNative instead of GtkFileChooserDialog
- Remove hack which is apparently not useful anymore
- Remove deprecated stock messages
- Build against gtk3 instead of gtk2
- Merge pull request 'Fix few memory leaks' (#34) from shivaprasadbhat/lshw:master into master
- Fix few memory leaks
- report product model on Power systems
- clean-up JSON output
- JSON output clean-up (list/object)
- code clean-up for read(3)
- Merge pull request 'devtree: Add capabilites to the OPAL Firmware' (#33) from shivaprasadbhat/lshw:master into master
- Merge pull request 'volumes: fix segfault in apfs volume code' (#32) from hjmallon/lshw:pr.segfault into master
- fix issue with logical names being truncated (`/dev/sda` → `sda`)
- devtree: Add capabilites to the OPAL Firmware
- merge Github PR #53
- volumes: fix segfault in apfs volume code
- Merge pull request 'devtree: Add chip-id from CPU node' (#31) from shivaprasadbhat/lshw:master into master
- devtree: Add chip-id from CPU node
- Merge pull request 'devtree: Add chip-id from the dimm module' (#30) from shivaprasadbhat/lshw:master into master
- devtree: Add chip-id from the dimm module
- try to connect input devices to the right parent
- detect framebuffers
- detect sound devices
- cosmetic fixes
- begin work on input devices
- cosmetic clean-up
- correctly format SMBIOS UUID
- move PnP devices to the ISA/LPC bridge
- report CPU family/model/stepping
- get rid of RPM's debug packages
- add debug flag to GUI build
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.19.0:
- Add timestamp and timestamp_ms formats to fields.DateTime
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 38.0.0:
- Major bump due to minimum required Python version being raised
to 3.8
- do no longer use the ncurses module in the dump subparser
- Fix 'Assertation' NameError typo in test_database
- Add missing crccheck dependency to setup.py
- Bugfix in handling more than one node mapped attribute per signal
- A few bug fixes
- Typing improvements
- Use tox
- Fix CI
- Ensure that only Decimal types are stored in the Signal.decimal
attribute
- cantools library import lib from a relative path (unified)
- Test on python 3.11, build docs again
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 2.2.0:
- Add light shades, dark grey and black
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
It needs pulseaudio but its only available via distro features so check
it before enabling this recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changes are here [1], change to xz compressed archives
[1] https://www.netfilter.org/projects/nftables/files/changes-nftables-1.0.6.txt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This upgrade include fix for CVE-2022-3647
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This upgrade include fix for CVE-2022-3647
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fixes
QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
In a dbus session thunar requests tumbler for thumbnailing support
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This has been unmaintained, not needed by anything and is now
removed from oe-core.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.18.1:
- Remove unnecessary `i` variable from encoder module namespace
- Declare support for Python 3.11 and add wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.0.36:
- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use
asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle `KeyboardInterrupt` when the stacktrace of an unhandled
error is displayed.
- Use correct event loop in `Application.create_background_task()`.
- Fix `show_cursor` attribute in `ScrollablePane`.
- Improve termination of `Application`. Don't suppress
`CancelledError`. This fixes a race condition when an
`Application` gets cancelled while we're waiting for the
background tasks to complete.
- Fixed typehint for `OneStyleAndTextTuple`.
- Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
- Use `DummyInput` by default in `create_input()` if `sys.stdin`
does not have a valid file descriptor. This fixes errors when
`sys.stdin` is patched in certain situations.
- Fix control-c key binding for `ProgressBar` when the progress
bar was not created from the main thread. The current code would
try to kill the main thread when control-c was pressed.
- Accept a `cancel_callback` in `ProgressBar` to specify the
cancellation behavior for when `control-c` is pressed.
- Small performance improvement in the renderer.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 7.0.3:
- Fix: when using the [run] relative_files = True setting, a
relative [paths] pattern was still being made absolute. This is
now fixed.
- Fix: if Python doesn't provide tomllib, then TOML configuration
files can only be read if coverage.py is installed with the
[toml] extra. Coverage.py will raise an error if TOML support is
not installed when it sees your settings are in a .toml file.
But it didn't understand that [tools.coverage] was a valid
section header, so the error wasn't reported if you used that
header, and settings were silently ignored. This is now fixed.
- Fix: adjusted how decorators are traced on PyPy 7.3.10.
- Fix: the coverage lcov report did not properly implement the
--fail-under=MIN option. This has been fixed.
- Refactor: added many type annotations, including a number of
refactorings. This should not affect outward behavior, but they
were a bit invasive in some places, so keep your eyes peeled for
oddities.
- Refactor: removed the vestigial and long untested support for
Jython and IronPython.
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the
combining step could fail with assert row is not None using
7.0.2. This was due to a race condition that has always been
possible and is still possible. In 7.0.1 and before, the error
was silently swallowed by the combining code. Now it will produce
a message "Couldn't combine data file" and ignore the data file
as it used to do before 7.0.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop patches which are already merged. Also drop
which are not required anymore.
Tested following machines with both gcc and clang:
qemuarm
qemuarm64
qemuriscv32
qemuriscv64
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
Build Python 3.11 wheels.
Remove setup.py test_suites, call unittest directly
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
* Added 'OverlappingRange' exception which is raised during Worksheet
:func:'add_table()' or :func:'merge_range()' if the range overlaps an existing
worksheet table or merge range. This is a file corruption error in Excel. See
:ref:'exceptions'.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0001-Don-t-set-tp_print-on-Python-3.patch
removed since it's included in 4.1.4
Changelog:
==========
In previous versions, if you asked for the position of a body (a) whose
elliptical or hyperbolic orbit has an eccentricity very close to 1.0 and (b)
which is very far from perihelion, then the underlying C library would print
a warning Near-parabolic orbit: inaccurate result but let your Python script
continue on unawares. Now, no message is printed directly to the screen, and
instead a RuntimeError will tell you why PyEphem can't compute the body's
position.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changelog:
Change dependency to typing-extensions>=4.2.0, #4885
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
License-Updated: copyright year updated to 2023
Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830
Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix #6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787
Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767
Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
-gh-98624: Add a mutex to unittest.mock.NonCallableMock to protect concurrent
access to mock attributes.
-bpo-43478: Mocks can no longer be used as the specs for other Mocks. As a
result, an already-mocked object cannot have an attribute mocked using
autospec=True or be the subject of a create_autospec call. This can uncover
bugs in tests since these Mock-derived Mocks will always pass certain tests
(e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with)
will unconditionally pass.
-bpo-45156: Fixes infinite loop on unittest.mock.seal() of mocks created by
create_autospec().
-bpo-41403: Make mock.patch() raise a TypeError with a relevant error message
on invalid arg. Previously it allowed a cryptic AttributeError to escape.
-gh-91803: Fix an error when using a method of objects mocked with
unittest.mock.create_autospec() after it was sealed with unittest.mock.seal() function.
-bpo-41877: AttributeError for suspected misspellings of assertions on mocks are
now pointing out that the cause are misspelled assertions and also what to do
if the misspelling is actually an intended attribute name. The unittest.mock
document is also updated to reflect the current set of recognised misspellings.
-bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
As a result, an already-mocked object cannot be passed to mock.Mock().
This can uncover bugs in tests since these Mock-derived Mocks will always pass
certain tests (e.g. isinstance) and builtin assert functions
(e.g. assert_called_once_with) will unconditionally pass.
-bpo-45010: Remove support of special method __div__ in unittest.mock.
It is not used in Python 3.
-gh-84753: inspect.iscoroutinefunction() now properly returns True when an
instance of unittest.mock.AsyncMock is passed to it. This makes it consistent
with behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.
-bpo-46852: Remove the undocumented private float.__set_format__() method,
previously known as float.__setformat__() in Python 3.7. Its docstring
said: "You probably don't want to use this function. It exists mainly to be
used in Python's test suite." Patch by Victor Stinner.
-gh-98086: Make sure patch.dict() can be applied on async functions.
-gh-100287: Fix the interaction of unittest.mock.seal() with unittest.mock.AsyncMock.
-gh-83076: Instantiation of Mock() and AsyncMock() is now 3.8x faster.
-bpo-41877: A check is added against misspellings of autospect, auto_spec and
set_spec being passed as arguments to patch, patch.object and create_autospec.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
Parse short versions of day, month, and year (#1103)
Add a test for "in 1d" (#1104)
Update languages_info (#1107)
Add a workaround for zipimporter not having exec_module before Python 3.10 (#1069)
Stabilize tests at midnight (#1111)
Add a test case for French (#1110)
Remove the requirements-build file (#1113)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
* optimize 'richcompare()' for opposite endianness
* improve some docstrings add tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|