PainterQubits / paramview

GUI for viewing and editing the contents of a ParamDB database.
https://pypi.org/project/paramview
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Bump the python group across 1 directory with 12 updates #282

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps the python group with 11 updates in the / directory:

Package From To
flask 3.0.2 3.0.3
eventlet 0.35.1 0.36.1
paramdb 0.11.0 0.12.0
mypy 1.8.0 1.10.0
pylint 3.0.3 3.1.0
black 24.1.1 24.4.2
pytest 8.0.0 8.2.0
playwright 1.41.2 1.43.0
pytest-playwright 0.4.4 0.5.0
freezegun 1.4.0 1.5.1
astropy 6.0.0 6.0.1

Updates flask from 3.0.2 to 3.0.3

Release notes

Sourced from flask's releases.

3.0.3

This is a fix release for the 3.0.x feature branch.

PyPI: https://pypi.org/project/Flask/3.0.3/ Changes: https://flask.palletsprojects.com/en/3.0.x/changes/#version-3-0-3 Milestone: https://github.com/pallets/flask/milestone/35?closed=1

  • The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default. #5448
  • Don't initialize the cli attribute in the sansio scaffold, but rather in the Flask concrete class. #5270
Changelog

Sourced from flask's changelog.

Version 3.0.3

Released 2024-04-07

  • The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default. :issue:5448
  • Don't initialize the cli attribute in the sansio scaffold, but rather in the Flask concrete class. :pr:5270
Commits


Updates eventlet from 0.35.1 to 0.36.1

Changelog

Sourced from eventlet's changelog.

0.36.1

  • [fix] eventlet.websocket is not always used from eventlet.wsgi, so do not assume eventlet.set_idle exists eventlet/eventlet#949

0.36.0

0.35.2

Commits
  • 7eb208b Update changelog for version 0.36.1 (#952)
  • c0cb04d fix: eventlet.websocket not always used from eventlet.wsgi (fixes #946) (#949)
  • 80f3936 [doc] clean remnant refs to the pyevent removed hub (#944)
  • d396281 [trivial] linkage awesome-asyncio into our migration guide (#947)
  • e1afe7b Update changelog for version 0.36.0 (#941)
  • 3fcc9a5 Add asyncio API docs. (#939)
  • 1612191 Make sure asyncio hub doesn't use greendns for asyncio DNS APIs (#938)
  • 1c869fb add a python doc link about to_thread (#937)
  • 520c6e2 Make asyncio.to_thread() work, with the same semantics as normal asyncio (#...
  • 48c259c Refactor congruence checks based on assert at runtime (#932)
  • Additional commits viewable in compare view


Updates paramdb from 0.11.0 to 0.12.0

Release notes

Sourced from paramdb's releases.

v0.12.0

Added

  • If Pydantic is installed, parameter data classes automatically have Pydantic type validation enabled.
  • Parameter primitives classes ParamInt, ParamFloat, ParamBool, ParamStr, and ParamNone.
  • Parameter file classes ParamFile and ParamDataFrame.

Changed

  • All ParamData objects now internally track the latest time that they or any of their children were last updated, which is returned by ParamData.last_updated.
  • Param and Struct are combined into a single class ParamDataclass.
Changelog

Sourced from paramdb's changelog.

[0.12.0] (May 8 2024)

Added

  • If Pydantic is installed, parameter data classes automatically have Pydantic type validation enabled.
  • Parameter primitives classes ParamInt, ParamFloat, ParamBool, ParamStr, and ParamNone.
  • Parameter file classes ParamFile and ParamDataFrame.

Changed

  • All ParamData objects now internally track the latest time that they or any of their children were last updated, which is returned by ParamData.last_updated.
  • Param and Struct are combined into a single class ParamDataclass.
Commits


Updates mypy from 1.8.0 to 1.10.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.10

We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Support TypeIs (PEP 742)

Mypy now supports TypeIs (PEP 742), which allows functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard, TypeIs can narrow in both the if and else branches of an if statement:

from typing_extensions import TypeIs

def is_str(s: object) -> TypeIs[str]: return isinstance(s, str)

def f(o: str | int) -> None: if is_str(o): # Type of o is 'str' ... else: # Type of o is 'int' ...

TypeIs will be added to the typing module in Python 3.13, but it can be used on earlier Python versions by importing it from typing_extensions.

This feature was contributed by Jelle Zijlstra (PR 16898).

Support TypeVar Defaults (PEP 696)

PEP 696 adds support for type parameter defaults. Example:

from typing import Generic
from typing_extensions import TypeVar

</tr></table>

... (truncated)

Commits


Updates pylint from 3.0.3 to 3.1.0

Commits
  • 053c2c3 Bump pylint to 3.1.0, update changelog
  • c954636 Upgrade release documentation, and contributors.txt
  • 7300ed2 Discover .pyi files (#9241)
  • 9dbf3df Merge maintenance 3.0.x into main following 3.0.4 release (#9459)
  • 28e89b0 Remove changelog fragments pertaining to 3.0.4
  • 4332ea1 Merge branch 'maintenance/3.0.x' into main following 3.0.4 release
  • 8115381 Bump pylint to 3.0.4, update changelog (#9458)
  • 4bf3524 [false-negative] Fix for consider-using-min/max-builtin (#9127)
  • 8c24b1e [pre-commit.ci] pre-commit autoupdate (#9448)
  • f499686 Update astroid version to 3.1.0 (#9457)
  • Additional commits viewable in compare view


Updates black from 24.1.1 to 24.4.2

Release notes

Sourced from black's releases.

24.4.2

This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.

Parser

  • Fix regression where certain complex f-strings failed to parse (#4332)

Performance

  • Fix bad performance on certain complex string literals (#4331)

24.4.1

Highlights

  • Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)

Stable style

  • Fix crash involving indented dummy functions containing newlines (#4318)

Parser

  • Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)

Integrations

  • Github Action now works even when git archive is skipped (#4313)

24.4.0

Stable style

  • Fix unwanted crashes caused by AST equivalency check (#4290)

Preview style

  • if guards in case blocks are now wrapped in parentheses when the line is too long. (#4269)
  • Stop moving multiline strings to a new line unless inside brackets (#4289)

Integrations

  • Add a new option use_pyproject to the GitHub Action psf/black. This will read the Black version from pyproject.toml. (#4294)

24.3.0

Highlights

... (truncated)

Changelog

Sourced from black's changelog.

24.4.2

This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.

Parser

  • Fix regression where certain complex f-strings failed to parse (#4332)

Performance

  • Fix bad performance on certain complex string literals (#4331)

24.4.1

Highlights

  • Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)

Stable style

  • Fix crash involving indented dummy functions containing newlines (#4318)

Parser

  • Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)

Integrations

  • Github Action now works even when git archive is skipped (#4313)

24.4.0

Stable style

  • Fix unwanted crashes caused by AST equivalency check (#4290)

Preview style

  • if guards in case blocks are now wrapped in parentheses when the line is too long. (#4269)
  • Stop moving multiline strings to a new line unless inside brackets (#4289)

Integrations

  • Add a new option use_pyproject to the GitHub Action psf/black. This will read the Black version from pyproject.toml. (#4294)

24.3.0

... (truncated)

Commits


Updates pytest from 8.0.0 to 8.2.0

Release notes

Sourced from pytest's releases.

8.2.0

pytest 8.2.0 (2024-04-27)

Deprecations

  • #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.

    The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.

    See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.

Features

  • #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.

    See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.

Improvements

  • #11523: pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.

    The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip{.interpreted-text role="func"}.

    See import-or-skip-import-error{.interpreted-text role="ref"} for details.

  • #11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing.

  • #11777: Text is no longer truncated in the short test summary info section when -vv is given.

  • #12112: Improved namespace packages detection when consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).

  • #9502: Added PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.

Bug Fixes

  • #12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.

    Now the request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods.

... (truncated)

Commits
  • 6bd3f31 Tweak changelog for 8.2.0
  • 9b6219b Prepare release version 8.2.0
  • 835765c Merge pull request #12130 from bluetech/fixtures-inline
  • 7e7503c unittest: report class cleanup exceptions (#12250)
  • 882c4da fixtures: inline fail_fixturefunc
  • 2e8fb9f fixtures: extract a _check_fixturedef method
  • acf2971 fixtures: inline _getnextfixturedef into _get_active_fixturedef
  • 3c77aec fixtures: move "request" check early
  • d217d68 fixtures: inline _compute_fixture_value
  • 530be28 fixtures: use early return in _get_active_fixturedef
  • Additional commits viewable in compare view


Updates playwright from 1.41.2 to 1.43.0

Release notes

Sourced from playwright's releases.

v1.43.0

New APIs

  • Method BrowserContext.clear_cookies([options]) now supports filters to remove only some cookies.

    # Clear all cookies.
    context.clear_cookies()
    # New: clear cookies with a particular name.
    context.clear_cookies(name="session-id")
    # New: clear cookies for a particular domain.
    context.clear_cookies(domain="my-origin.com")
    
  • New method locator.content_frame converts a {@​link Locator} object to a FrameLocator. This can be useful when you have a Locator object obtained somewhere, and later on would like to interact with the content inside the frame.

    locator = page.locator("iframe[name='embedded']")
    # ...
    frame_locator = locator.content_frame
    frame_locator.getByRole("button").click()
    
  • New method frameLocator.owner converts a FrameLocator object to a Locator. This can be useful when you have a FrameLocator object obtained somewhere, and later on would like to interact with the iframe element.

    frame_locator = page.frame_locator("iframe[name='embedded']")
    # ...
    locator = frame_locator.owner
    expect(locator).to_be_visible()
    
  • Conda builds are now published for macOS-arm64 and Linux-arm64.

Browser Versions

  • Chromium 124.0.6367.8
  • Mozilla Firefox 124.0
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 123
  • Microsoft Edge 123

v1.42.0

New Locator Handler

New method page.add_locator_handler(locator, handler) registers a callback that will be invoked when specified element becomes visible and may block Playwright actions. The callback can get rid of the overlay. Here is an example that closes a cookie dialog when it appears.

# Setup the handler.
page.add_locator_handler(
</tr></table> 

... (truncated)

Commits
  • d12ce3b feat(roll): roll Playwright to v1.43 (#2395)
  • d1e3f3c build(deps): bump types-requests from 2.31.0.20240311 to 2.31.0.20240406 (#2396)
  • b26b1f5 test: port test_launcher to sync test-suite (#2392)
  • d796ac7 devops(conda): publish a single version per OS instead of each supported Pyth...
  • ac6e957 fix(cli): don't show a stack trace when command + c of the CLI (#2390)
  • 66ddfee devops: add osx-arm64 and linux-aarch64 conda package builds (#2211)
  • 6a10c42 build(deps): bump pillow from 10.2.0 to 10.3.0 (#2387)
  • 7e5f197 feat(roll): roll Playwright to 1.43.0-beta-1711484700000 (#2381)
  • 6a84c65 build(deps): bump flaky from 3.8.0 to 3.8.1 (#2377)
  • 963d16d build(deps): bump setuptools from 69.1.1 to 69.2.0 (#2379)
  • Additional commits viewable in compare view


Updates pytest-playwright from 0.4.4 to 0.5.0

Release notes

Sourced from pytest-playwright's releases.

v0.5.0

Bugfixes:

Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.4.4...v0.5.0

Commits
  • 6d624fc devops: migrate publishing to ESRP (#226)
  • 74ade3e fix: migrate artifacts_folder to session fixture (#223)
  • 40ba0da fix: clean up videos after each test (#221)
  • 2d5a080 feat: support artifact collection with multiple contexts (#216)
  • be0be7c test: enhance test-artifact assertion utility (#218)
  • 3cec62e fix: improve video naming (#217)
  • 1a54e22 devops: delete unused conda_build_config (#214)
  • ac21122 devops: bump GitHub Action workflows (#215)
  • ff4f8e9 chore(deps): bump black from 22.6.0 to 24.3.0 (#212)
  • 6f38e7c chore(deps): bump django from 3.2.24 to 3.2.25 (#211)
  • Additional commits viewable in compare view


Updates freezegun from 1.4.0 to 1.5.1

Changelog

Sourced from freezegun's changelog.

1.5.1

  • Fix the typing of the tick() method, and improve it's behaviour.

1.5.0

  • The default ignore list now contains the queue-package
  • Added a missing move_to-function when calling freeze_time(tick=True)
  • Fixes a rounding error in time.time_ns()
  • Fixed a bug where the default ignore list could not be empty (configure(default_ignore_list=[]))
  • All tick() methods now return the new datetime (instead of None)
  • Type improvements
Commits
  • 3f9fac4 Increase version number
  • e0f2c3c CHANGELOG for 1.5.1
  • ea054a3 Merge pull request #546 from robsdedude/patch-1
  • df263dc Extend type checking
  • aecc78a Keep numbers for runtime type checks, use float for type hints
  • 023c7a3 Revert runtime type-check to numbers.Real
  • be779f4 Add test for manually ticking StepTickTimeFactory
  • d2872d0 Fix instance checks
  • c963608 Fix tick delta type handling
  • 17ea422 Admin: Release may not need to update version nr
  • Additional commits viewable in compare view


Updates sqlalchemy from 2.0.26 to 2.0.30

Release notes

Sourced from sqlalchemy's releases.

2.0.30

Released: May 5, 2024

orm

  • [orm] [bug] Added new attribute _orm.ORMExecuteState.is_from_statement to detect statements created using _sql.Select.from_statement(), and enhanced FromStatement to set _orm.ORMExecuteState.is_select, _orm.ORMExecuteState.is_insert, _orm.ORMExecuteState.is_update, and _orm.ORMExecuteState.is_delete according to the element that is sent to the _sql.Select.from_statement() method itself.

    References: #11220

  • [orm] [bug] Fixed issue in _orm.selectin_polymorphic() loader option where attributes defined with _orm.composite() on a superclass would cause an internal exception on load.

    References: #11291

  • [orm] [bug] [regression] Fixed regression from 1.4 where using _orm.defaultload() in conjunction with a non-propagating loader like _orm.contains_eager() would nonetheless propagate the _orm.contains_eager() to a lazy load operation, causing incorrect queries as this option is only intended to come from an original load.

    References: #11292

  • [orm] [bug] Fixed issue in ORM Annotated Declarative where typing issue where literals defined using PEP 695 type aliases would not work with inference of Enum datatypes. Pull request courtesy of Alc-Alc.

    References: #11305

  • [orm] [bug] Fixed issue in _orm.selectin_polymorphic() loader option where the SELECT emitted would only accommodate for the child-most class among the result rows that were returned, leading intermediary-class attributes to be unloaded if there were no concrete instances of that intermediary-class present in the result. This issue only presented itself for multi-level inheritance hierarchies.

    References: #11327

  • [orm] [bug] Fixed issue in _orm.Session.bulk_save_objects() where the form of the identity key produced when using return_defaults=True would be incorrect. This could lead to an errors during pickling as well as identity map mismatches.

... (truncated)

Commits


Updates astropy from 6.0.0 to 6.0.1

Release notes

Sourced from astropy's releases.

v6.0.1

See https://docs.astropy.org/en/v6.0.1/changelog.html

Commits
  • 78cf534 Merge pull request #16230 from saimn/v6.0.1-changelog
  • ec14b3d Merge pull request #16242 from meeseeksmachine/auto-backport-of-pr-16232-on-v...
  • 3171b1b Backport PR #16232: DOC: add a note that wrapping Angle with integral dtypes ...
  • ce2af5a Add note about Numpy 2.0
  • 9958151 Finalizing changelog for v6.0.1
  • d38e7c8 Merge pull request #16231 from saimn/v6.0.1-pin-numpy
  • fe95e69 Pin Numpy<2.0
  • b56e304 Merge pull request #16233 from neutrinoceros/table/bug/hotfix_6.0.x
  • a7c9d6f BUG: hotfix compatibility with numpy 1.22 for astropy 6.0.x
  • d756154 Merge pull request #15869 into v6.0.x
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 6 months ago

Superseded by #284.