Changelog:
============
- Bump pyproject-metadata to handle form feeds on Python < 3.12.8
- Increase timeout on CI
- Ignore deprecation message from cattrs on Python 3.14 alphas
- Add more integration tests in Fedora
- Restore example builds for Windows/macOS
- Remove leftover Python 3.7 checks
- Bump pytest version and include pytest-xdist
- Bump to ruff 0.10, work around bug
- Clarify verbosity options
- Fix incorrect configuration example
- Fix incorrect name (PYBIND11_NEWPYTHON -> PYBIND11_FINDPYTHON)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- WaitQueueTimeoutError should not clear the pool
- Migrate off of Ubuntu 20.04 GitHub Actions Runners
- Fix test_03_invalid_keyid
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Chunk dependabot updates into a single PR
- Drop support for EOL Python 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Do not skip snapshots in conditional marked xfail tests.
- Tests with failed snapshot comparisons now always result in a pytest Error,
even if snapshots have been fixed or created.
- inline-snapshot now also works if you use --no-summary
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add support for a new SIGNAL_ENQUEUED.
- Use FOR UPDATE SKIP LOCKED when supported by the database in the sql_huey storage engine.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
New API:
-----------
- der.remove_implicit and der.encode_implicit for decoding and
encoding DER IMPLICIT values with custom tag values and arbitrary
classes
Bug fixes:
------------
- Minor fixes around arithmetic with curves that have non-prime order
(useful for experimentation, not practical deployments)
- Fix arithmetic to work with curves that have (0, 0) on the curve
- Fix canonicalization of signatures when s is just slightly
above half of curve order
Maintenance:
------------
- Dropped official support for Python 3.5 (again, issues with CI, support
for Python 2.6 and Python 2.7 is unchanged)
- Officially support Python 3.12 and 3.13 (add them to CI)
- Removal of few more unnecessary six.b literals (Alexandre Detiste)
- Fix typos in warning messages
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
A few small tweaks to the sys.monitoring support for Python 3.14.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed an issue where dns queries were delayed indefinitely when an
exception occurred in a trace.send_dns_cache_miss
- Fixed DNS resolution on platforms that don't support socket.AI_ADDRCONFIG
- The connector now raises :exc:aiohttp.ClientConnectionError instead of
:exc:OSError when failing to explicitly close the socket after
:py:meth:asyncio.loop.create_connection fails
- Break cyclic references at connection close when there was a traceback
- Break cyclic references when there is an exception handling a request
- Improved logging on non-overlapping WebSocket client protocols to include
the remote address
- Improved performance of parsing content types by adding a cache in the same
manner currently done with mime types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.6:
- A new self._pybind11_conduit_v1_() method is automatically added
to all py::class_-wrapped types, to enable type-safe
interoperability between different independent Python/C++
bindings systems, including pybind11 versions with different
PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2,
2.12.1, and 2.13.6+.
- Using __cpp_nontype_template_args instead of
__cpp_nontype_template_parameter_class.
- Properly translate C++ exception to Python exception when
creating Python buffer from wrapped object.
- Adds an answer (FAQ) for "What is a highly conclusive and simple
way to find memory leaks?".
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.6:
- Fix a false positive for used-before-assignment when an inner
function's return type annotation is a class defined at module
scope.
- Fix false positives for use-implicit-booleaness-not-comparison,
use-implicit-booleaness-not-comparison-to-string and
use-implicit-booleaness-not-comparison-to-zero when chained
comparisons are checked.
- Fix a false positive for invalid-getnewargs-ex-returned when the
tuple or dict has been assigned to a name.
- Remove getopt and optparse from the list of deprecated modules.
- Fixed conditional import x.y causing false positive
possibly-used-before-assignment.
- Fix a crash when something besides a class is found in an except
handler.
- Fixed raising invalid-name when using camelCase for private
methods with two leading underscores.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 8.0:
- Added support for Python 3.11 and 3.12
- Drop support for Python <=3.8
- Change local development setup to use Poetry
- Testsuite and code quality checks are done through Github Actions
- Code quality and formatting utilises ruff
- Removed typing_extensions as a dependency, as it's no longer
required with having Python 3.9+ as a requirement
- Only allow high error correction rate (qrcode.ERROR_CORRECT_H)
when generating QR codes with embedded images to ensure content
is readable
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 14.0.6:
- Bump version to 14.0.6
- Fix hostname support
- Advertise typing support
- Fix typos in Plex example
- Add license to project metadata
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
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>
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:
============
- 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:
===========
- 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:
============
- 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>