| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 6.2.0:
- Fixed in checks throwing an exception instead of returning
:data:`False` when testing non-strings.
- Fix a leak when the last accessed module in PyInit__multidict
init is not released.
- Implemented support for the free-threaded build of CPython 3.13
- Started publishing wheels made for the free-threaded build of
CPython 3.13
- Used stricter typing across the code base, resulting in improved
typing accuracy across multidict classes. Funded by an NLnet grant.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.18.0:
- Indicate that locks are exclusive/write locks
- Support fcntl check on Emscripten
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 5.2.1:
- Changed the build procedure to use pyproject.toml and moved the
tests outside of the generated wheel/tarball.
- Added official support for Python 3.11, 3.12, 3.13
- Dropped official support for Python < 3.8: the module is expected
to work on older Python versions, but I cannot test such versions
on GitHub actions, so the author cannot claim that it is
officially supported.
- Dafu Wu provided support for decorating partial functions, i.e.
functions wrapped by functools.partial.
- Included tests and documentation in sdist
License-Update: Updated copyright years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 4.9.0:
- Added async support for temporary file handling
- Added 4 new fixtures for the AnyIO pytest plugin:
- free_tcp_port_factory: session scoped fixture returning a
callable that generates unused TCP port numbers
- free_udp_port_factory: session scoped fixture returning a
callable that generates unused UDP port numbers
- free_tcp_port: function scoped fixture that invokes the
free_tcp_port_factory fixture to generate a free TCP port number
- free_udp_port: function scoped fixture that invokes the
free_udp_port_factory fixture to generate a free UDP port number
- Added stdin argument to anyio.run_process() akin to what
anyio.open_process(), asyncio.create_subprocess(),
trio.run_process(), and subprocess.run()
- Added the info property to anyio.Path on Python 3.14
- Changed anyio.getaddrinfo() to ignore (invalid) IPv6 name
resolution results when IPv6 support is disabled in Python
- Changed EndOfStream raised from MemoryObjectReceiveStream.receive()
to leave out the AttributeError from the exception chain which
was merely an implementation detail and caused some confusion
- Fixed traceback formatting growing quadratically with level of
TaskGroup nesting on asyncio due to exception chaining when
raising ExceptionGroups in TaskGroup.__aexit__
- Fixed anyio.Path.iterdir() making a blocking call in Python 3.13
- Fixed connect_tcp() producing cyclic references in tracebacks when
raising exceptions
- Fixed anyio.to_thread.run_sync() needlessly holding on to
references of the context, function, arguments and others until
the next work item on asyncio
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This module was dropped in 3.12, therefore provide it as separate module
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cheetah-native is used while building mongodb and a build
failure for mongodb identifies that the current version of
cheetah templates requires the cgi module. The following
is seen
> | from Cheetah.Template import Template
> | File
> "/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/mongodb/4.4.29/recipe-sysroot-native/usr/lib/python3.13/site-packages/Cheetah/Template.py",
> line 24, in <module>
> | import cgi # Used by .webInput() if the template is a CGI script.
> | ^^^^^^^^^^
> | ModuleNotFoundError: No module named 'cgi'
This is fixed by utilizing the legacy-cgi module.
Signed-off-by: Awais Belal <awais.belal@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
With the cgi module being dropped in python3.13 a stop
gap solution for modules relying on cgi is to use the
legacy-cgi module. Introduce the recipe so it could be
leveraged in the upcoming changes.
Signed-off-by: Awais Belal <awais.belal@gmail.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:
===========
- Remove duplicate bug report template
- Fix debug logging interpolation
- Ignore directories in PATH that can't be opened
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- Now only warns bout /etc/timezone if it is actually conflicting with
other timezone configurations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- TOX-3117 bugfix -c pyproject with non legacy
- fix(docs): update expected code
- Add missing bracket in config example
- Gh issue 3456 update environment variable documentation
- fix: Respect --parallel N with --parallel-no-spinner
- TOML set_env file support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changelog:
Allow relative directory path when follow_symlinks=True
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch
refreshed for 0.11.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- Allow Database.command to run bulkWrite commands
- Use dochub link for fork warning
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changelog:
Proper support for VCS and URL requirements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- Improve deprecation warning, by showing the correct caller location.
- Fix finalizer registration errors on pypi by using a thread-safe sequential
number generator instead of relying on object id unicity and timely finalizer
triggering.
- Check in-dll version when creating Windows wheels. Should hopefully version
mixups like what happened in 3.1.0 .
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
Downgrade nopt to v7.x to maintain Node.js v14 compatibility
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- fix multi_line_output_modes docs
- Ruff rules PT for pytest
- Ruff rules B017, B028, and E203
- Lint Python code with ruff
- Fix test_find_imports_in_file_error failing on Windows
- Move flake8 settings into pyproject.toml
- Upgrade to uv>=0.6.0 and enable-cache
- Apply some ruff rules
- Add OSError handling in find_imports_in_file
- Link GH as changelog
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:
============
- correct normalization of "python3.9" to "python" in tests
- Prevent a crash if a value cannot be copied and a UsageError is raised.
- Use the black API directly to format python code.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
=============
- add pipe_file to HTTP
- add sync http for pyodide
- ls performance for local and detail=False
- dir/info consistency in dirfs
- referenceFS async consistency
- CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- Add full PSVI type labeling in XDM to solve type errors with XSD 1.1 assertion-s
- Add schema optional argument to dynamic context
- Add a RootToken as a proxy of the parsed token tree for compatibility with xmlschema<=3.4.3
- Extend XDM to split ElementTree/lxml processing from schema nodes and to allow future extensions
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>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
* updated 'pythoncapi_compat.h' for pypy3.11 support
* use '__builtin_parityll()' when available in 'util.parity()'
* add 'parity_64()' to header
* simplify some tests
* add LFSR example
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- Support namespace package traversal when completing Python entry points
- zsh: skip repeat Python runs in the same completion run
- Make _parse_known_args signature more general for future API changes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- Add callback for users to customize socket creation
- Close runner up sockets in the event there are multiple winners
- Resolve warnings when running tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.3.9:
- Fix crash when sys.modules contains lazy loader objects during
checking.
- Upload release assets to PyPI via Trusted Publishing.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 0.146.1:
- Use trusted publishing for uploading wheels
- Reduce size of wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
python3-numpy headers are required by pandas to compile successfully.
By default, this recipe used python3-numpy-native for compilation,
which usually works. However in case the bitness of the build-host
differs from the target, then problems arise.
For example when compiling for 32-bit ARM on a x86-64 machine, the following
error appears when trying to import the module:
ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'long long'
When running a diff on all numpy headers across native and target,
only one header differs, _numpyconfig.h, in a significant way.
This header defines the sizes of different datatypes used by numpy,
and these sizes strongly depend on the arch bitness.
This change switches from python3-numpy-native dependency to python3-numpy to
ensure that the correct headers are used. Beside this also patch the meson script,
so it accepts an option (numpy_inc_dir) to specify the location of these headers,
since it is not able to query them from the class-target module
The PYTHONPATH variable is extended with the target's RECIPE_SYSROOT, because
numpy is specified as a dependency in meson, and it needs to find the module
to continue successfully.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 0.39.1:
- [fix] Make LightQueue and derivatives subscriptable
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 7.45.6:
- Update the wheels to incorporate libcurl 8.12.1 for security
fixes, as well as enable some additional libraries in wheel
builds.
- The previous release was accidentally built without CA bundle
autodetection in Linux wheels - this restores that behavior
(no changes to macOS or Linux).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 2.22.4:
- Ensure dev-dependencies are added to the correct group when the
tool.pdm.dev-dependencies table has groups.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The library version to link against can be automatically detected.
This fixes the following runtime warning:
>>> import h5py
/usr/lib/python3.13/site-packages/h5py/__init__.py:36: UserWarning:
h5py is running against HDF5 1.14.4 when it was built against
1.14.0, this may cause problems
_warn(("h5py is running against HDF5 {0} when it was built against
{1}, "
Signed-off-by: Oliver Kästner <okaestner@rosen-nxt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Upstream moved to PEP-517 builds, so use the appropriate bbclass.
Signed-off-by: Oliver Kästner <okaestner@rosen-nxt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 1.15.1:
- Fixed an issue in the new PEP 621 pyproject.toml layout that
prevented Alembic's template files from being included in the
.whl file in the distribution.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 5.4.1:
- Skip installation to speed up pep8
- reno: Update master for unmaintained/2023.1
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Since module crypt has been removed from python 3.13, add a renamed copy
of it that other packages may require it, such as python3-anaconda.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
python 3.13 removed some modules such as cgi which is required by python3-requests-ftp:
https://docs.python.org/3/whatsnew/3.13.html
Important removals:
PEP 594: The remaining 19 “dead batteries” (legacy stdlib modules) have
been removed from the standard library: aifc, audioop, cgi, cgitb,
chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes,
sndhdr, spwd, sunau, telnetlib, uu and xdrlib.
Backport and rebase a patch from Fedora to remove use of module cgi.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 2.9.0:
- Add warnings about too few or too many samples
- .github: Add ARM64 CI for pyperf
- Add support for profiling benchmarks using perf-record
- Prepare 2.9.0 release
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 5.2.0:
- :func:`unittest.mock.Mock.attach_mock` no longer triggers a call
to a PropertyMock being attached.
- Improved documentation for :func:`unittest.mock.patch.dict`
- Add support for :func:`dataclasses.dataclass` in
:func:`unittest.mock.create_autospec`. Now create_autospec will
check for potential dataclasses and use :func:`dataclasses.fields`
function to retrieve the spec information.
- Fix :class:`unittest.mock.MagicMock` reseting magic methods
return values after .reset_mock(return_value=True) was called.
- Fixed :func:`unittest.mock.create_autospec` to configure parent
mock with keyword arguments.
- Indicate if there were no actual calls in unittest
:meth:`~unittest.mock.Mock.assert_has_calls` failure.
- Deprecate :func:`!asyncio.iscoroutinefunction` in favor of
:func:`inspect.iscoroutinefunction`.
- Limit starting a patcher (from :func:`unittest.mock.patch` or
:func:`unittest.mock.patch.object`) more than once without
stopping it
- Fixed :func:`unittest.mock.create_autospec` to pass the call
through to the wrapped object to return the real result.
- Fix :func:`unittest.mock.patch` to not read attributes of the
target when new_callable is set. Patch by Robert Collins.
- Fix import of :mod:`unittest.mock` when CPython is built without
docstrings.
- Fix name passing to :class:`unittest.mock.Mock` object when using
:func:`unittest.mock.create_autospec`.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 2.2.2:
- Bugfix where it was impossible to use a signal as an ok_code
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Upgrade to release 8.20.0.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.11.13:
- Removed a break statement inside the finally block in
:py:class:~aiohttp.web.RequestHandler
- Changed connection creation to explicitly close sockets if an
exception is raised in the event loop's create_connection method
- Fixed test test_write_large_payload_deflate_compression_data_in_eof_writelines
failing with Python 3.12.9+ or 3.13.2+
- Added human-readable error messages to the exceptions for
WebSocket disconnects due to PONG not being received
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 8.3:
- Replace setup.py with hatchling. To install from source at least
version 21.3 of pip is needed.
- Drop support for Python 3.8.
- Add condition coverage to text summary report.
- Add --include to search files in search paths which should be
added to report.
- Add option to generate LCOV format produced by version 1.x of
LCOV tool.
- Extend logging for data merge errors with info about the data
sources.
- Add condition coverage merge mode option --merge-mode-conditions
- Add --gcov-suspicious-hits-threshold to configure the value for
detecting suspicious hits in GCOV files.
- Renamed JSON element destination_blockno to destination_block_id.
- Add --html-block-ids to show the block ids of the lines and
branches in HTML report.
- Fixed an error handling bug throwing a TypeError exception on a
gcov merge assertion failure instead of reporting the error and
(if requested by the user) continuing execution
- Check format version of external generated gcov JSON files.
- Fix crash on Windows when trying to fix the case of the files.
- Fix LCOV report. Excluded lines where added with a count of 0.
- Fix line exclusion not clearing all child coverage data.
- Fix summary stats in JaCoCo report.
- Fix path issue when reading/writing Coveralls report.
- Fix issue with negative counters in GCOV JSON export.
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.15.1:
- Fix IndexError for add_rows() with an empty list
- Fix typing: replace Iterable with indexable Sequence
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 0.15.2:
- Allow custom styles for commands in help output.
- Avoid the unnecessary import of typing_extensions in newer Python
versions.
- Fix shell completions for the fish shell.
- Rename test to corner-cases to make it more explicit.
- Fix small typos in the tutorial documentation.
- Update optional CLI argument section in tutorial with Annotated.
- Clarify the need for mix_stderr when accessing the output of
stderr in tests.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS to limit spawned compiler
processes. Without this it uses all available CPUs (via
multiprocessing.cpu_count()) and can exhaust build host since there are
lot of files to compile (e.g. with 128 cores it manages to spawn 128 gcc
processes)
Note that this is a general problem for all setuptools based builds with
build_ext compilation which can either compile with 1 thread or
cpu_count threads. grpcio hot-patches setuptools and allows to set
specific build concurrency value.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- Hold a strong reference to the AsyncEngine setup task
- docs: Enable link to source code
- Non unique name during wheel upload
- Add a helpful hint for when EADDRINUSE happens during startup
- Wheel builds failing after adding armv7l builds
- Add armv7l wheel builds
- Make no buffer space available when adding multicast memberships forgiving
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==============
- Remove old virtualenv wheel
- Bump pip to 25.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|