Age | Commit message (Collapse) | Author | Files | Lines |
|
Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.
|
|
|
|
|
|
A simple, correct PEP517 package builder.
build will invoke the PEP 517 hooks to build a distribution package.
It is a simple build tool and does not perform any dependency
management.
|
|
|
|
|
|
|
|
3.6.1 (2021-05-06)
------------------
* Fix ``mocker.resetall()`` when using ``mocker.spy()``
3.6.0 (2021-04-24)
------------------
* pytest-mock no longer supports Python 3.5.
* Correct type annotations for ``mocker.patch.object`` to also include the string form.
* ``reset_all`` now supports ``return_value`` and ``side_effect`` keyword arguments.
3.5.1 (2021-01-10)
------------------
* Use ``inspect.getattr_static`` instead of resorting to ``object.__getattribute__``
magic. This should better comply with objects which implement a custom descriptor
protocol.
3.5.0 (2021-01-04)
------------------
* Now all patch functions will emit a warning instead of raising a ``ValueError`` when used
as a context-manager.
* Additionally, ``mocker.patch.context_manager`` is available when the user intends to mock
a context manager (for example ``threading.Lock`` object), which will not emit that
warning.
3.4.0 (2020-12-15)
------------------
* Add `mock.seal` alias to the `mocker` fixture.
* Fixed spying on exceptions not covered by the ``Exception``
superclass, like ``KeyboardInterrupt``.
Before the fix, both ``spy_return`` and ``spy_exception``
were always assigned to ``None``
whenever such an exception happened. And after this fix,
``spy_exception`` is set to a correct value of an exception
that has actually happened.
3.3.1 (2020-08-24)
------------------
* Introduce ``MockFixture`` as an alias to ``MockerFixture``.
Before ``3.3.0``, the fixture class was named ``MockFixture``, but was renamed to ``MockerFixture`` to better
match the ``mocker`` fixture. While not officially part of the API, it was later discovered that this broke
the code of some users which already imported ``pytest_mock.MockFixture`` for type annotations, so we
decided to reintroduce the name as an alias.
Note however that this is just a stop gap measure, and new code should use ``MockerFixture`` for type annotations.
* Improved typing for ``MockerFixture.patch``
3.3.0 (2020-08-21)
------------------
* ``pytest-mock`` now includes inline type annotations and exposes them to user programs. The ``mocker`` fixture returns ``pytest_mock.MockerFixture``, which can be used to annotate your tests:
.. code-block:: python
from pytest_mock import MockerFixture
def test_foo(mocker: MockerFixture) -> None:
...
The type annotations were developed against mypy version ``0.782``, the
minimum version supported at the moment. If you run into an error that you believe to be incorrect, please open an issue.
3.2.0 (2020-07-11)
------------------
* `AsyncMock <https://docs.python.org/3/library/unittest.mock.html#unittest.mock.AsyncMock>`__ is now exposed in ``mocker`` and supports provides assertion introspection similar to ``Mock`` objects.
3.1.1 (2020-05-31)
------------------
* Fixed performance regression caused by the ``ValueError`` raised
when ``mocker`` is used as context manager.
3.1.0 (2020-04-18)
------------------
* New mocker fixtures added that allow using mocking functionality in other scopes:
* ``class_mocker``
* ``module_mocker``
* ``package_mocker``
* ``session_mocker``
3.0.0 (2020-03-31)
------------------
* Python 2.7 and 3.4 are no longer supported. Users using ``pip 9`` or later will install
a compatible version automatically.
* ``mocker.spy`` now also works with ``async def`` functions.
|
|
6.27.1
This patch changes the backing datastructures of register_random() and a few internal caches to use weakref.WeakKeyDictionary. This reduces memory usage and may improve performance when registered Random instances are only used for a subset of your tests.
6.27.0
This release teaches Hypothesis’ multiple-error reporting to format tracebacks using pytest or better-exceptions, if they are installed and enabled.
6.26.0
Did you know that of the 264 possible floating-point numbers, 253 of them are nan
While nans usually have all zeros in the sign bit and mantissa, this isn’t always true, and ‘signaling’ nans might trap or error. To help distinguish such errors in e.g. CI logs, Hypothesis now prints -nan for negative nans, and adds a comment like # Saw 3 signaling NaNs if applicable.
6.25.0
This release adds special filtering logic to make a few special cases like s.map(lambda x: x) and lists().filter(len) more efficient.
6.24.6
This patch makes floats() generate “subnormal” floating point numbers more often, as these rare values can have strange interactions with unsafe compiler optimisations like -ffast-math.
6.24.5
This patch fixes a rare internal error in the datetimes() strategy, where the implementation of allow_imaginary=False crashed when checking a time during the skipped hour of a DST transition if the DST offset is negative
6.24.4
This patch gives Hypothesis it’s own internal Random instance, ensuring that test suites which reset the global random state don’t induce weird correlations between property-based tests.
6.24.3
This patch updates documentation of note()
|
|
|
|
|
|
|
|
This long overdue release of beets includes far too many exciting and useful
features than could ever be satisfactorily enumerated.
As a technical detail, it also introduces two new external libraries:
MediaFile and Confuse used to be part of beets but are now reusable
dependencies---packagers, please take note.
Finally, this is the last version of beets where we intend to support Python
2.x and 3.5; future releases will soon require Python 3.6.
|
|
|
|
Confuse is a configuration library for Python that uses YAML. It takes
care of defaults, overrides, type checking, command-line integration,
human-readable errors, and standard OS-specific locations.
Here's what Confuse brings to the table:
- An utterly sensible API resembling dictionary-and-list structures
but providing transparent validation without lots of boilerplate
code.
- Combine configuration data from multiple sources. Using
layering, Confuse allows user-specific configuration to seamlessly
override system-wide configuration, which in turn overrides built-in
defaults.
- Look for configuration files in platform-specific paths.
- Integration with command-line arguments via argparse or optparse
from the standard library.
|
|
lang/ruby30-base
lang/ruby30
|
|
Ruby 3.0.3 Released
Posted by nagachika on 24 Nov 2021
Ruby 3.0.3 has been released.
This release includes security fixes. Please check the topics below for
details.
* CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date
Parsing Methods
* CVE-2021-41816: Buffer Overrun in CGI.escape_html
* CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse
See the commit logs for details.
|
|
lang/ruby27-base
databases/ruby-gdbm
devel/ruby-fiddle
devel/ruby-readline
lang/ruby27
|
|
Ruby 2.7.5 Released
Posted by usa on 24 Nov 2021
Ruby 2.7.5 has been released.
This release includes security fixes. Please check the topics below for
details.
* CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date
Parsing Methods
* CVE-2021-41816: Buffer Overrun in CGI.escape_html
* CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse
See the commit logs for details.
|
|
lang/ruby26-base
lang/ruby26
|
|
Ruby 2.6.9 Released
Posted by usa on 24 Nov 2021
Ruby 2.6.9 has been released.
This release includes security fixes. Please check the topics below for
details.
* CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date
Parsing Methods
* CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse See the commit
logs for details.
Ruby 2.6 is now under the state of the security maintenance phase, until the
end of March of 2022. After that date, maintenance of Ruby 2.6 will be
ended. We recommend you start planning the migration to newer versions of
Ruby, such as 3.0 or 2.7.
|
|
|
|
|
|
Linux compatibility package based on the openSUSE Linux distribution.
Please visit http://www.opensuse.org/ for more information about openSUSE
Linux.
This package supports running ELF binaries linked with glibc2 that
require GTK+-3.x shared libraries.
|
|
|
|
Changes:
WebKitGTK 2.34.2
================
- Fix scrolling issues when pressing Home and PgDown keys.
- Update effective appearance after web process switch on navigation.
- Fix the build with video disabled.
|
|
|
|
Changelog:
10.4.0: November 16, 2021
+ Handling of Weak Cryptography Algorithms
o From the qpdf CLI, the --allow-weak-crypto is now required to
suppress a warning when explicitly creating PDF files using RC4
encryption. While qpdf will always retain the ability to read and
write such files, doing so will require explicit acknowledgment
moving forward. For qpdf 10.4, this change only affects the
command-line tool. Starting in qpdf 11, there will be small API
changes to require explicit acknowledgment in those cases as well.
For additional information, see Chapter 6, Weak Cryptography.
+ Bug Fixes
o Fix potential bounds error when handling shell completion that
could occur when given bogus input.
o Properly handle overlay/underlay on completely empty pages (with no
resource dictionary).
o Fix crash that could occur under certain conditions when using
--pages with files that had form fields.
+ Library Enhancements
o Make QPDF::findPage functions public.
o Add methods to Pl_Flate to be able to receive warnings on certain
recoverable conditions.
o Add an extra check to the library to detect when foreign objects
are inserted directly (instead of using QPDF::copyForeignObject) at
the time of insertion rather than when the file is written.
Catching the error sooner makes it much easier to locate the
incorrect code.
+ CLI Enhancements
o Improve diagnostics around parsing --pages command-line options
+ Packaging Changes
o The Windows binary distribution is now built with crypto provided
by OpenSSL 3.0.
|
|
|
|
|
|
Changelog:
Noteworthy changes in version 2.2.33 (2021-11-23)
-------------------------------------------------
* gpg: New option --min-rsa-length. [rG6ee01c1d26]
* gpg: New option --forbid-gen-key. [rG985fb25c46]
* gpg: New option --override-compliance-check. [T5655]
* gpgconf: New command --show-configs. [rG8fe3f57643]
* agent,dirmngr: New option --steal-socket. [rG6507c6ab10]
* scd: Improve the selection of the default PC/SC reader. [T5644]
* gpg: Fix printing of binary notations. [T5667]
* gpg: Remove stale ultimately trusted keys from the trustdb. [T5685]
* gpgsm: Detect circular chains in --list-chain. [rGc9343bec83]
* gpgconf: Create the local option file even if the global file
exists. [T5650]
* dirmngr: Make reading resolv.conf more robust. [T5657]
* gpg-wks-server: Fix created file permissions. [rGf54feb4470]
* scd: Support longer data for ssh-agent authentication with openpgp
cards. [T5682]
* Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671]
* Silence "Garbled console data" warning under Windows in most
cases.
* Silence warning about the rootdir under Unices w/o a mounted /proc
file system.
* Fix possible build problems about missing include files. [T5592]
* i18n: Replace the term "PIN-Cache" by "Passswort-Cache" in the
German translation. [rgf453d52e53]
* i18n: Update the Russian translation.
Release-info: https://dev.gnupg.org/T5641
See-also: gnupg-announce/2021q4/000467.html
|
|
|
|
* Sync with www/firefox-94.0.2.
|
|
|
|
Changelog:
Fixed
* Improved hangs experienced by users of assistive technology such as NVDA
when installing Firefox through the Microsoft Store (bug 1736742)
* Resolved general instability/crashes on Linux caused by a file descriptor
leak when backgrounding tabs using WebGL (bug 1741997)
Changed
* Updated preference design for Firefox Suggest for improved clarity.
|
|
|
|
|
|
|
|
|
|
|
|
python-multipart is an Apache2 licensed streaming multipart parser for Python.
|
|
This module provides a parser for the multipart/form-data format.
It can read from a file, a socket or a WSGI environment. The parser
can be used to replace cgi.FieldStorage to work around its limitations.
|
|
|
|
|
|
|
|
|
|
fd-proxy is a very small program, written in C. Its purpose is to
connect the I/Os of a tcpserver and tcpclient pair (from the ucspi-tcp
suite) in order to implement a TCP proxy. Setting up such a proxy can be
done in a single line.
|
|
|
|
0.19.2
Fixed
- In `set_key`, add missing newline character before new entry if necessary.
0.19.1
Added
- Add support for Python 3.10.
0.19.0
Changed
- Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported.
by [@bbc2]).
Added
- The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str,
os.PathLike]` instead of just `os.PathLike`
- The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream
(`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env",
"r")`
0.18.0
Changed
- Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in
`set_key`
- When writing a value to a .env file with `set_key` or `dotenv set <key> <value>`
- Use single quotes instead of double quotes.
- Don't strip surrounding quotes.
- In `auto` mode, don't add quotes if the value is only made of alphanumeric characters
(as determined by `string.isalnum`).
0.17.1
Fixed
- Fixed tests for build environments relying on `PYTHONPATH`
[0.17.0
Changed
- Make `dotenv get <key>` only show the value, not `key=value`
Added
- Add `--override`/`--no-override` option to `dotenv run`
0.16.0
Changed
- The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is
now `"utf-8"` instead of `None`
- Fix resolution order in variable expansion with `override=False`
|
|
2.0.8
Changed
- Improvement over Vietnamese detection
- MD improvement on trailing data and long foreign (non-pure latin) data
- Efficiency improvements in cd/alphabet_languages from [@adbar](https://github.com/adbar)
- call sum() without an intermediary list following PEP 289 recommendations from [@adbar](https://github.com/adbar)
- Code style as refactored by Sourcery-AI
- Minor adjustment on the MD around european words
- Remove and replace SRTs from assets / tests
- Initialize the library logger with a `NullHandler` by default from [@nmaynes](https://github.com/nmaynes)
- Setting kwarg `explain` to True will add provisionally (bounded to function lifespan) a specific stream handler
|