Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️(project) upgrade python dependencies #55

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Django (source, changelog) ==4.2.2 -> ==4.2.4 age adoption passing confidence
arrow (source) ==1.2.2 -> ==1.2.3 age adoption passing confidence
dev/Faker (changelog) ==17.0.0 -> ==19.3.0 age adoption passing confidence
dev/black (changelog) ==23.1.0 -> ==23.7.0 age adoption passing confidence
dev/factory-boy ==3.2.1 -> ==3.3.0 age adoption passing confidence
dev/ipdb ==0.13.11 -> ==0.13.13 age adoption passing confidence
dev/ipython (source) ==8.10.0 -> ==8.14.0 age adoption passing confidence
dev/pytest (source, changelog) ==7.2.1 -> ==7.4.0 age adoption passing confidence
dev/pytest-cov (changelog) ==4.0.0 -> ==4.1.0 age adoption passing confidence
dev/pytest-httpx (source, changelog) ==0.22.0 -> ==0.23.1 age adoption passing confidence
dev/ruff (source, changelog) ==0.0.272 -> ==0.0.282 age adoption passing confidence
elasticsearch ==8.6.2 -> ==8.9.0 age adoption passing confidence
fastapi ==0.95.2 -> ==0.101.0 age adoption passing confidence
gunicorn (source) ==20.1.0 -> ==21.2.0 age adoption passing confidence
importlib-metadata ==6.6.0 -> ==6.8.0 age adoption passing confidence
pandas ==2.0.2 -> ==2.0.3 age adoption passing confidence
psycopg2-binary (source, changelog) ==2.9.5 -> ==2.9.7 age adoption passing confidence
sentry-sdk (changelog) ==1.13.0 -> ==1.29.2 age adoption passing confidence
sentry-sdk (changelog) ==1.15.0 -> ==1.29.2 age adoption passing confidence
uvicorn (changelog) ==0.20.0 -> ==0.23.2 age adoption passing confidence

Release Notes

django/django (Django)

v4.2.4

Compare Source

v4.2.3

Compare Source

arrow-py/arrow (arrow)

v1.2.3

Compare Source

  • [NEW] Added Amharic, Armenian, Georgian, Laotian and Uzbek locales.
  • [FIX] Updated Danish locale and associated tests.
  • [INTERNAl] Small fixes to CI.
joke2k/faker (dev/Faker)

v19.3.0

Compare Source

v19.2.0

Compare Source

  • Add support for South African Zulu (zu_ZA) names and last names. Thanks @​iamkhaya.

v19.1.0

Compare Source

v19.0.0

Compare Source

  • Drop support for Python 3.7
  • Drop support for 32 bit systems.
  • Add elector_code for es_MX SSN provider. Thanks @​edgarrmondragon.

v18.13.0

Compare Source

  • Add .optional proxy that may or may not return a fake value. Thanks @​ligne.

v18.12.0

Compare Source

v18.11.2

Compare Source

v18.11.1

Compare Source

  • Update Ukraine Country Code in phone_number. Thanks @​lexxai.

v18.11.0

Compare Source

  • Add digit-above-two type to numerify function. Thanks @​dlwrnc.

v18.10.1

Compare Source

  • Fix handling leap year in en_US Passport provider. Thanks @​mgorny.

v18.10.0

Compare Source

  • Add passport Provider and en_US Implementation. Thanks @​llw2128.

v18.9.1

Compare Source

  • Fix fr_FR postcode length. Thanks @​vmttn.

v18.9.0

Compare Source

v18.8.0

Compare Source

v18.7.0

Compare Source

v18.6.2

Compare Source

  • Improve accuracy of departments in fr_FR provider postcode. Thanks @​tonial.

v18.6.1

Compare Source

v18.6.0

Compare Source

  • Add a separate basic_phone_number for en_US. Thanks @​dlwrnc.

v18.5.1

Compare Source

  • Fix release.

v18.5.0

Compare Source

v18.4.0

Compare Source

  • Add currency symbols for all listed currencies. Thanks @​evoludigit.

v18.3.4

Compare Source

v18.3.3

Compare Source

v18.3.2

Compare Source

v18.3.1

Compare Source

  • Fix determinism in state_abbr() for en_US. Thanks @​DavidCain.

v18.3.0

Compare Source

  • Separate freely-associated states & US territories. Thanks @​DavidCain.

v18.2.1

Compare Source

v18.2.0

Compare Source

v18.1.0

Compare Source

  • Add lorem provider for nl_BE. Thanks @​takis.
  • Add nl_BE automotive provider. Thanks @​takis.
  • Add nl_BE company provider. Thanks @​takis.

v18.0.0

Compare Source

v17.6.0

Compare Source

v17.5.0

Compare Source

v17.4.0

Compare Source

  • Use the official name for North Macedonia due to the name change in 2019. Thanks @​takis.

v17.3.0

Compare Source

  • Add zh_TW date_time provider. Thanks @​ew2664.

v17.2.0

Compare Source

v17.1.0

Compare Source

psf/black (dev/black)

v23.7.0

Compare Source

Highlights
  • Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be
    supported until further notice (#​3765)
Stable style
  • Fix a bug where an illegal trailing comma was added to return type annotations using
    PEP 604 unions (#​3735)
  • Fix several bugs and crashes where comments in stub files were removed or mishandled
    under some circumstances (#​3745)
  • Fix a crash with multi-line magic comments like type: ignore within parentheses
    (#​3740)
  • Fix error in AST validation when Black removes trailing whitespace in a type comment
    (#​3773)
Preview style
  • Implicitly concatenated strings used as function args are no longer wrapped inside
    parentheses (#​3640)
  • Remove blank lines between a class definition and its docstring (#​3692)
Configuration
  • The --workers argument to Black can now be specified via the BLACK_NUM_WORKERS
    environment variable (#​3743)
  • .pytest_cache, .ruff_cache and .vscode are now excluded by default (#​3691)
  • Fix Black not honouring pyproject.toml settings when running --stdin-filename
    and the pyproject.toml found isn't in the current working directory (#​3719)
  • Black will now error if exclude and extend-exclude have invalid data types in
    pyproject.toml, instead of silently doing the wrong thing (#​3764)
Packaging
  • Upgrade mypyc from 0.991 to 1.3 (#​3697)
  • Remove patching of Click that mitigated errors on Python 3.6 with LANG=C (#​3768)
Parser
  • Add support for the new PEP 695 syntax in Python 3.12 (#​3703)
Performance
  • Speed up Black significantly when the cache is full (#​3751)
  • Avoid importing IPython in a case where we wouldn't need it (#​3748)
Output
  • Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 (#​3728)
  • Change verbose logging to exactly mirror Black's logic for source discovery (#​3749)
Blackd
  • The blackd argument parser now shows the default values for options in their help
    text (#​3712)
Integrations
Documentation
  • Add a CITATION.cff file to the root of the repository, containing metadata on how to
    cite this software (#​3723)
  • Update the classes and exceptions documentation in Developer reference to match
    the latest code base (#​3755)

v23.3.0

Compare Source

Highlights

This release fixes a longstanding confusing behavior in Black's GitHub action, where the
version of the action did not determine the version of Black being run (issue #​3382). In
addition, there is a small bug fix around imports and a number of improvements to the
preview style.

Please try out the
preview style
with black --preview and tell us your feedback. All changes in the preview style are
expected to become part of Black's stable style in January 2024.

Stable style
  • Import lines with # fmt: skip and # fmt: off no longer have an extra blank line
    added when they are right after another import line (#​3610)
Preview style
  • Add trailing commas to collection literals even if there's a comment after the last
    entry (#​3393)
  • async def, async for, and async with statements are now formatted consistently
    compared to their non-async version. (#​3609)
  • with statements that contain two context managers will be consistently wrapped in
    parentheses (#​3589)
  • Let string splitters respect East Asian Width
    (#​3445)
  • Now long string literals can be split after East Asian commas and periods ( U+3001
    IDEOGRAPHIC COMMA, U+3002 IDEOGRAPHIC FULL STOP, & U+FF0C FULLWIDTH COMMA)
    besides before spaces (#​3445)
  • For stubs, enforce one blank line after a nested class with a body other than just
    ... (#​3564)
  • Improve handling of multiline strings by changing line split behavior (#​1879)
Parser
  • Added support for formatting files with invalid type comments (#​3594)
Integrations
  • Update GitHub Action to use the version of Black equivalent to action's version if
    version input is not specified (#​3543)
  • Fix missing Python binary path in autoload script for vim (#​3508)
Documentation
  • Document that only the most recent release is supported for security issues;
    vulnerabilities should be reported through Tidelift (#​3612)
FactoryBoy/factory_boy (dev/factory-boy)

v3.3.0

Compare Source

gotcha/ipdb (dev/ipdb)

v0.13.13

Compare Source

  • Use context manager for opening toml config
    [andrewzwicky]

v0.13.12

Compare Source

  • Modify tests to test 3.11 separately from earlier python versions.
    [andrewzwicky]
ipython/ipython (dev/ipython)

v8.14.0

Compare Source

v8.13.2

Compare Source

v8.13.1

Compare Source

v8.13.0

Compare Source

v8.12.2

Compare Source

v8.12.1

Compare Source

v8.12.0

Compare Source

v8.11.0

Compare Source

pytest-dev/pytest (dev/pytest)

v7.4.0

Compare Source

pytest 7.4.0 (2023-06-23)

Features

  • #​10901: Added ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>{.interpreted-text role="func"}, a simpler way to create an ~pytest.ExceptionInfo{.interpreted-text role="class"} from an exception.
    This can replace ExceptionInfo.from_exc_info() <pytest.ExceptionInfo.from_exc_info()>{.interpreted-text role="func"} for most uses.

Improvements

  • #​10872: Update test log report annotation to named tuple and fixed inconsistency in docs for pytest_report_teststatus{.interpreted-text role="hook"} hook.

  • #​10907: When an exception traceback to be displayed is completely filtered out (by mechanisms such as __tracebackhide__, internal frames, and similar), now only the exception string and the following message are shown:

    "All traceback entries are hidden. Pass [--full-trace]{.title-ref} to see hidden and internal frames.".

    Previously, the last frame of the traceback was shown, even though it was hidden.

  • #​10940: Improved verbose output (-vv) of skip and xfail reasons by performing text wrapping while leaving a clear margin for progress output.

    Added TerminalReporter.wrap_write() as a helper for that.

  • #​10991: Added handling of %f directive to print microseconds in log format options, such as log-date-format.

  • #​11005: Added the underlying exception to the cache provider's path creation and write warning messages.

  • #​11013: Added warning when testpaths{.interpreted-text role="confval"} is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory.

  • #​11043: When [--confcutdir]{.title-ref} is not specified, and there is no config file present, the conftest cutoff directory ([--confcutdir]{.title-ref}) is now set to the rootdir <rootdir>{.interpreted-text role="ref"}.
    Previously in such cases, [conftest.py]{.title-ref} files would be probed all the way to the root directory of the filesystem.
    If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set [--confcutdir]{.title-ref}.

  • #​11081: The norecursedirs{.interpreted-text role="confval"} check is now performed in a pytest_ignore_collect{.interpreted-text role="hook"} implementation, so plugins can affect it.

    If after updating to this version you see that your [norecursedirs]{.title-ref} setting is not being respected,
    it means that a conftest or a plugin you use has a bad [pytest_ignore_collect]{.title-ref} implementation.
    Most likely, your hook returns [False]{.title-ref} for paths it does not want to ignore,
    which ends the processing and doesn't allow other plugins, including pytest itself, to ignore the path.
    The fix is to return [None]{.title-ref} instead of [False]{.title-ref} for paths your hook doesn't want to ignore.

  • #​8711: caplog.set_level() <pytest.LogCaptureFixture.set_level>{.interpreted-text role="func"} and caplog.at_level() <pytest.LogCaptureFixture.at_level>{.interpreted-text role="func"}
    will temporarily enable the requested level if level was disabled globally via
    logging.disable(LEVEL).

Bug Fixes

  • #​10831: Terminal Reporting: Fixed bug when running in --tb=line mode where pytest.fail(pytrace=False) tests report None.
  • #​11068: Fixed the --last-failed whole-file skipping functionality ("skipped N files") for non-python test files <non-python tests>{.interpreted-text role="ref"}.
  • #​11104: Fixed a regression in pytest 7.3.2 which caused to testpaths{.interpreted-text role="confval"} to be considered for loading initial conftests,
    even when it was not utilized (e.g. when explicit paths were given on the command line).
    Now the testpaths are only considered when they are in use.
  • #​1904: Fixed traceback entries hidden with __tracebackhide__ = True still being shown for chained exceptions (parts after "... the above exception ..." message).
  • #​7781: Fix writing non-encodable text to log file when using --debug.

Improved Documentation

  • #​9146: Improved documentation for caplog.set_level() <pytest.LogCaptureFixture.set_level>{.interpreted-text role="func"}.

Trivial/Internal Changes

  • #​11031: Enhanced the CLI flag for -c to now include --config-file to make it clear that this flag applies to the usage of a custom config file.

v7.3.2

Compare Source

pytest 7.3.2 (2023-06-10)

Bug Fixes

  • #​10169: Fix bug where very long option names could cause pytest to break with OSError: [Errno 36] File name too long on some systems.
  • #​10894: Support for Python 3.12 (beta at the time of writing).
  • #​10987: testpaths{.interpreted-text role="confval"} is now honored to load root conftests.
  • #​10999: The [monkeypatch]{.title-ref} [setitem]{.title-ref}/[delitem]{.title-ref} type annotations now allow [TypedDict]{.title-ref} arguments.
  • #​11028: Fixed bug in assertion rewriting where a variable assigned with the walrus operator could not be used later in a function call.
  • #​11054: Fixed --last-failed's "(skipped N files)" functionality for files inside of packages (directories with [__init__.py]{.title-ref} files).

v7.3.1

Compare Source

pytest 7.3.1 (2023-04-14)

Improvements

  • #​10875: Python 3.12 support: fixed RuntimeError: TestResult has no addDuration method when running unittest tests.
  • #​10890: Python 3.12 support: fixed shutil.rmtree(onerror=...) deprecation warning when using tmp_path{.interpreted-text role="fixture"}.

Bug Fixes

  • #​10896: Fixed performance regression related to tmp_path{.interpreted-text role="fixture"} and the new tmp_path_retention_policy{.interpreted-text role="confval"} option.
  • #​10903: Fix crash INTERNALERROR IndexError: list index out of range which happens when displaying an exception where all entries are hidden.
    This reverts the change "Correctly handle __tracebackhide__ for chained exceptions." introduced in version 7.3.0.

v7.3.0

Compare Source

pytest 7.3.0 (2023-04-08)

Features

  • #​10525: Test methods decorated with @classmethod can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods.
  • #​10755: console_output_style{.interpreted-text role="confval"} now supports progress-even-when-capture-no to force the use of the progress output even when capture is disabled. This is useful in large test suites where capture may have significant performance impact.
  • #​7431: --log-disable CLI option added to disable individual loggers.
  • #​8141: Added tmp_path_retention_count{.interpreted-text role="confval"} and tmp_path_retention_policy{.interpreted-text role="confval"} configuration options to control how directories created by the tmp_path{.interpreted-text role="fixture"} fixture are kept.

Improvements

  • #​10226: If multiple errors are raised in teardown, we now re-raise an ExceptionGroup of them instead of discarding all but the last.
  • #​10658: Allow -p arguments to include spaces (eg: -p no:logging instead of
    -pno:logging). Mostly useful in the addopts section of the configuration
    file.
  • #​10710: Added start and stop timestamps to TestReport objects.
  • #​10727: Split the report header for rootdir, config file and testpaths so each has its own line.
  • #​10840: pytest should no longer crash on AST with pathological position attributes, for example testing AST produced by [Hylang <https://github.com/hylang/hy>\__]{.title-ref}.
  • #​6267: The full output of a test is no longer truncated if the truncation message would be longer than
    the hidden text. The line number shown has also been fixed.

Bug Fixes

  • #​10743: The assertion rewriting mechanism now works correctly when assertion expressions contain the walrus operator.
  • #​10765: Fixed tmp_path{.interpreted-text role="fixture"} fixture always raising OSError{.interpreted-text role="class"} on emscripten platform due to missing os.getuid{.interpreted-text role="func"}.
  • #​1904: Correctly handle __tracebackhide__ for chained exceptions.

Improved Documentation

  • #​10782: Fixed the minimal example in goodpractices{.interpreted-text role="ref"}: pip install -e . requires a version entry in pyproject.toml to run successfully.

Trivial/Internal Changes

  • #​10669: pytest no longer depends on the [attrs]{.title-ref} package (don't worry, nice diffs for attrs classes are still supported).

v7.2.2

Compare Source

pytest 7.2.2 (2023-03-03)

Bug Fixes

  • #​10533: Fixed pytest.approx{.interpreted-text role="func"} handling of dictionaries containing one or more values of [0.0]{.title-ref}.
  • #​10592: Fixed crash if [--cache-show]{.title-ref} and [--help]{.title-ref} are passed at the same time.
  • #​10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage.
  • #​10626: Fixed crash if --fixtures and --help are passed at the same time.
  • #​10660: Fixed :pypytest.raises{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrow
    pytest.raises(...) if ... else nullcontext() down to 'ContextManager' rather than 'object'.

Improved Documentation

  • #​10690: Added [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment variables to the documentation.
  • #​10721: Fixed entry-points declaration in the documentation example using Hatch.
  • #​10753: Changed wording of the module level skip to be very explicit
    about not collecting tests and not executing the rest of the module.
pytest-dev/pytest-cov (dev/pytest-cov)

v4.1.0

Compare Source

  • Updated CI with new Pythons and dependencies.
  • Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0.
    Contributed by Sorin Sbarnea in #&#8203;558 <https://github.com/pytest-dev/pytest-cov/pull/558>_.
  • Optimized summary generation to not be performed if no reporting is active (for example,
    when --cov-report='' is used without --cov-fail-under).
    Contributed by Jonathan Stewmon in #&#8203;589 <https://github.com/pytest-dev/pytest-cov/pull/589>_.
  • Added support for JSON reporting.
    Contributed by Matthew Gamble in #&#8203;582 <https://github.com/pytest-dev/pytest-cov/pull/582>_.
  • Refactored code to use f-strings.
    Contributed by Mark Mayo in #&#8203;572 <https://github.com/pytest-dev/pytest-cov/pull/572>_.
  • Fixed a skip in the test suite for some old xdist.
    Contributed by a bunch of people in #&#8203;565 <https://github.com/pytest-dev/pytest-cov/pull/565>_.
Colin-b/pytest_httpx (dev/pytest-httpx)

v0.23.1

Compare Source

Fixed
  • Version 0.23.0 introduced a regression removing the support for mutating json content provided in httpx_mock.add_response.
    • This is fixed, you can now expect the JSON return being as it was when provided to httpx_mock.add_response:
    mutating_json = {"content": "request 1"}

### This will return {"content": "request 1"}
    httpx_mock.add_response(json=mutating_json)

    mutating_json["content"] = "request 2"

### This will return {"content": "request 2"}
    httpx_mock.add_response(json=mutating_json)

v0.23.0

Compare Source

Removed
  • Python 3.7 and 3.8 are no longer supported.
Fixed
  • httpx_mock.add_response is now returning a new httpx.Response instance upon each matching request. Preventing unnecessary recursion in streams.
astral-sh/ruff (dev/ruff)

v0.0.282

Compare Source

What's Changed

Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.281...v0.0.282

v0.0.281

Compare Source

What's Changed

See the release blog post for more, including detailed descriptions of any newly added rules.

New rules
Rule changes
Settings
Bug Fixes

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/python-dependencies branch 14 times, most recently from a9cec09 to 91d8a60 Compare August 7, 2023 20:09
@renovate
Copy link
Contributor Author

renovate bot commented Aug 8, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Copy link
Contributor

@wilbrdt wilbrdt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

renovate bot and others added 3 commits August 8, 2023 12:08
| datasource | package            | from    | to      |
| ---------- | ------------------ | ------- | ------- |
| pypi       | Django             | 4.2.2   | 4.2.4   |
| pypi       | arrow              | 1.2.2   | 1.2.3   |
| pypi       | Faker              | 17.0.0  | 19.3.0  |
| pypi       | black              | 23.1.0  | 23.7.0  |
| pypi       | factory-boy        | 3.2.1   | 3.3.0   |
| pypi       | ipdb               | 0.13.11 | 0.13.13 |
| pypi       | pytest             | 7.2.1   | 7.4.0   |
| pypi       | pytest-cov         | 4.0.0   | 4.1.0   |
| pypi       | ruff               | 0.0.272 | 0.0.282 |
| pypi       | elasticsearch      | 8.6.2   | 8.9.0   |
| pypi       | fastapi            | 0.95.2  | 0.101.0 |
| pypi       | gunicorn           | 20.1.0  | 21.2.0  |
| pypi       | importlib-metadata | 6.6.0   | 6.8.0   |
| pypi       | pandas             | 2.0.2   | 2.0.3   |
| pypi       | psycopg2-binary    | 2.9.5   | 2.9.7   |
| pypi       | sentry-sdk         | 1.13.0  | 1.29.2  |
| pypi       | sentry-sdk         | 1.15.0  | 1.29.2  |
| pypi       | uvicorn            | 0.20.0  | 0.23.2  |
Recent versions of these dependencies require python >= 3.9.
We can pin ipython and pytest-httpx until warren supports python 3.8.
Fix CI linting steps that might have been forgotten in
previous linting works.
@lebaudantoine lebaudantoine merged commit be38512 into main Aug 8, 2023
25 of 26 checks passed
@lebaudantoine lebaudantoine deleted the renovate/python-dependencies branch August 8, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants