-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a9cec09
to
91d8a60
Compare
91d8a60
to
ccdb8e0
Compare
Edited/Blocked NotificationRenovate 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. |
ccdb8e0
to
cd95153
Compare
wilbrdt
approved these changes
Aug 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| 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.
f29d933
to
e3ba452
Compare
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.2.2
->==4.2.4
==1.2.2
->==1.2.3
==17.0.0
->==19.3.0
==23.1.0
->==23.7.0
==3.2.1
->==3.3.0
==0.13.11
->==0.13.13
==8.10.0
->==8.14.0
==7.2.1
->==7.4.0
==4.0.0
->==4.1.0
==0.22.0
->==0.23.1
==0.0.272
->==0.0.282
==8.6.2
->==8.9.0
==0.95.2
->==0.101.0
==20.1.0
->==21.2.0
==6.6.0
->==6.8.0
==2.0.2
->==2.0.3
==2.9.5
->==2.9.7
==1.13.0
->==1.29.2
==1.15.0
->==1.29.2
==0.20.0
->==0.23.2
Release Notes
django/django (Django)
v4.2.4
Compare Source
v4.2.3
Compare Source
arrow-py/arrow (arrow)
v1.2.3
Compare Source
joke2k/faker (dev/Faker)
v19.3.0
Compare Source
v19.2.0
Compare Source
zu_ZA
) names and last names. Thanks @iamkhaya.v19.1.0
Compare Source
ja_JP
locale fordatetime
. Thanks @cyanghsieh.v19.0.0
Compare Source
elector_code
fores_MX
SSN provider. Thanks @edgarrmondragon.v18.13.0
Compare Source
.optional
proxy that may or may not return a fake value. Thanks @ligne.v18.12.0
Compare Source
vin
number function. Thanks @cyanghsieh.v18.11.2
Compare Source
fr_FR
mobile phone numbers. Thanks @QuentinFchx.v18.11.1
Compare Source
phone_number
. Thanks @lexxai.v18.11.0
Compare Source
v18.10.1
Compare Source
en_US
Passport provider. Thanks @mgorny.v18.10.0
Compare Source
passport
Provider anden_US
Implementation. Thanks @llw2128.v18.9.1
Compare Source
fr_FR
postcode
length. Thanks @vmttn.v18.9.0
Compare Source
xml
provider. Thanks @Elihaybe.v18.8.0
Compare Source
zh_CN
bank locale. Thanks @nehCG.v18.7.0
Compare Source
license_plate
forzh_CN
andzh_TW
. Thanks @cyanghsieh.v18.6.2
Compare Source
fr_FR
providerpostcode
. Thanks @tonial.v18.6.1
Compare Source
ssn
provider forzh_TW
. Thanks @cyanghsieh.v18.6.0
Compare Source
basic_phone_number
foren_US
. Thanks @dlwrnc.v18.5.1
Compare Source
v18.5.0
Compare Source
de_DE
swift_location_codes
. Thanks @MiloniAtal.v18.4.0
Compare Source
v18.3.4
Compare Source
pyfloat
honors min and max values. Thanks @mvanderlee.v18.3.3
Compare Source
v18.3.2
Compare Source
v18.3.1
Compare Source
state_abbr()
foren_US
. Thanks @DavidCain.v18.3.0
Compare Source
v18.2.1
Compare Source
v18.2.0
Compare Source
pyobject
generator. Thanks @dariocurr.v18.1.0
Compare Source
nl_BE
. Thanks @takis.nl_BE
automotive provider. Thanks @takis.nl_BE
company provider. Thanks @takis.v18.0.0
Compare Source
en_US
. Thanks @johnekent.v17.6.0
Compare Source
nl_BE
bank provider. Thanks @takis.uk_UA
provider. Thanks @PerchunPak.v17.5.0
Compare Source
v17.4.0
Compare Source
v17.3.0
Compare Source
zh_TW
date_time
provider. Thanks @ew2664.v17.2.0
Compare Source
ssn
generation. Thanks @OskarsPakers.v17.1.0
Compare Source
pybool()
. Thanks @Kolyunya.psf/black (dev/black)
v23.7.0
Compare Source
Highlights
supported until further notice (#3765)
Stable style
PEP 604 unions (#3735)
under some circumstances (#3745)
type: ignore
within parentheses(#3740)
(#3773)
Preview style
parentheses (#3640)
Configuration
--workers
argument to Black can now be specified via theBLACK_NUM_WORKERS
environment variable (#3743)
.pytest_cache
,.ruff_cache
and.vscode
are now excluded by default (#3691)pyproject.toml
settings when running--stdin-filename
and the
pyproject.toml
found isn't in the current working directory (#3719)exclude
andextend-exclude
have invalid data types inpyproject.toml
, instead of silently doing the wrong thing (#3764)Packaging
LANG=C
(#3768)Parser
Performance
IPython
in a case where we wouldn't need it (#3748)Output
Blackd
blackd
argument parser now shows the default values for options in their helptext (#3712)
Integrations
PYTHONWARNDEFAULTENCODING = 1
(#3763)
Documentation
cite this software (#3723)
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 areexpected to become part of Black's stable style in January 2024.
Stable style
# fmt: skip
and# fmt: off
no longer have an extra blank lineadded when they are right after another import line (#3610)
Preview style
entry (#3393)
async def
,async for
, andasync with
statements are now formatted consistentlycompared to their non-async version. (#3609)
with
statements that contain two context managers will be consistently wrapped inparentheses (#3589)
(#3445)
、
U+3001IDEOGRAPHIC COMMA,
。
U+3002 IDEOGRAPHIC FULL STOP, &,
U+FF0C FULLWIDTH COMMA)besides before spaces (#3445)
...
(#3564)Parser
Integrations
version input is not specified (#3543)
Documentation
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
[andrewzwicky]
v0.13.12
Compare Source
[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
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
) ofskip
andxfail
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 aslog-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 apytest_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"} andcaplog.at_level() <pytest.LogCaptureFixture.at_level>
{.interpreted-text role="func"}will temporarily enable the requested
level
iflevel
was disabled globally vialogging.disable(LEVEL)
.Bug Fixes
--tb=line
mode wherepytest.fail(pytrace=False)
tests reportNone
.--last-failed
whole-file skipping functionality ("skipped N files") fornon-python test files <non-python tests>
{.interpreted-text role="ref"}.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.__tracebackhide__ = True
still being shown for chained exceptions (parts after "... the above exception ..." message).--debug
.Improved Documentation
caplog.set_level() <pytest.LogCaptureFixture.set_level>
{.interpreted-text role="func"}.Trivial/Internal Changes
-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
OSError: [Errno 36] File name too long
on some systems.testpaths
{.interpreted-text role="confval"} is now honored to load rootconftests
.--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
RuntimeError: TestResult has no addDuration method
when runningunittest
tests.shutil.rmtree(onerror=...)
deprecation warning when usingtmp_path
{.interpreted-text role="fixture"}.Bug Fixes
tmp_path
{.interpreted-text role="fixture"} and the newtmp_path_retention_policy
{.interpreted-text role="confval"} option.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
@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.console_output_style
{.interpreted-text role="confval"} now supportsprogress-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.--log-disable
CLI option added to disable individual loggers.tmp_path_retention_count
{.interpreted-text role="confval"} andtmp_path_retention_policy
{.interpreted-text role="confval"} configuration options to control how directories created by thetmp_path
{.interpreted-text role="fixture"} fixture are kept.Improvements
ExceptionGroup
of them instead of discarding all but the last.-p
arguments to include spaces (eg:-p no:logging
instead of-pno:logging
). Mostly useful in theaddopts
section of the configurationfile.
start
andstop
timestamps toTestReport
objects.rootdir
,config file
andtestpaths
so each has its own line.the hidden text. The line number shown has also been fixed.
Bug Fixes
tmp_path
{.interpreted-text role="fixture"} fixture always raisingOSError
{.interpreted-text role="class"} onemscripten
platform due to missingos.getuid
{.interpreted-text role="func"}.__tracebackhide__
for chained exceptions.Improved Documentation
goodpractices
{.interpreted-text role="ref"}:pip install -e .
requires aversion
entry inpyproject.toml
to run successfully.Trivial/Internal Changes
v7.2.2
Compare Source
pytest 7.2.2 (2023-03-03)
Bug Fixes
pytest.approx
{.interpreted-text role="func"} handling of dictionaries containing one or more values of [0.0]{.title-ref}.teardown
would be called as part ofnose
teardown stage.--fixtures
and--help
are passed at the same time.pytest.raises
{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrowpytest.raises(...) if ... else nullcontext()
down to 'ContextManager' rather than 'object'.Improved Documentation
about not collecting tests and not executing the rest of the module.
pytest-dev/pytest-cov (dev/pytest-cov)
v4.1.0
Compare Source
Contributed by Sorin Sbarnea in
#​558 <https://github.com/pytest-dev/pytest-cov/pull/558>
_.when
--cov-report=''
is used without--cov-fail-under
).Contributed by Jonathan Stewmon in
#​589 <https://github.com/pytest-dev/pytest-cov/pull/589>
_.Contributed by Matthew Gamble in
#​582 <https://github.com/pytest-dev/pytest-cov/pull/582>
_.Contributed by Mark Mayo in
#​572 <https://github.com/pytest-dev/pytest-cov/pull/572>
_.Contributed by a bunch of people in
#​565 <https://github.com/pytest-dev/pytest-cov/pull/565>
_.Colin-b/pytest_httpx (dev/pytest-httpx)
v0.23.1
Compare Source
Fixed
0.23.0
introduced a regression removing the support for mutating json content provided inhttpx_mock.add_response
.httpx_mock.add_response
:v0.23.0
Compare Source
Removed
3.7
and3.8
are no longer supported.Fixed
httpx_mock.add_response
is now returning a newhttpx.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
quoted-annotation
rule (#5766)" by @charliermarsh in https://github.com/astral-sh/ruff/pull/6237New 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
flake8-pyi
] ImplementPYI018
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6018flake8-pyi
] ImplementPYI047
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6134flake8-pyi
] ImplementPYI049
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6136flake8-pyi
] ImplementPYI056
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/5959flake8-pyi
] ImplementPYI046
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6098flake8-use-pathlib
] Implementglob
(PTH207
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5939flake8-use-pathlib
] Implementos-sep-split
(PTH206
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5936pycodestyle
] ImplementE241
andE242
(tab/multiple ws after commas) by @akx in https://github.com/astral-sh/ruff/pull/6094pylint
] Implementself-assigning-variable
(W0127
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6015pylint
] Implementeq-without-hash
rule (PLW1641) by @jelly in https://github.com/astral-sh/ruff/pull/5955pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5978Rule changes
flake8-bugbear
] ExtendsB002
to detect unary prefix decrement operators by @tjkuson in https://github.com/astral-sh/ruff/pull/5998flake8-pytest-style
] Avoid raising PT012 for simplewith
statements by @harupy in https://github.com/astral-sh/ruff/pull/6081flake8-pytest-style
] Allow pytest.raises body to contain a single func or class definition by @harupy in https://github.com/astral-sh/ruff/pull/6083flake8-simplify
] Extend SIM118 withnot in
by @sbrugman in https://github.com/astral-sh/ruff/pull/5995perflint
] SkipPERF203
violations for multi-statement loops by @charliermarsh in https://github.com/astral-sh/ruff/pull/6145pyupgrade
] Add support forint
,float
,bool
inUP018
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6013tryceratops
] Add suggested fix forTRY201
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6008Settings
logging.Logger
re-exports vialogger-objects
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5750max-complexity
to 10 for empty McCabe settings by @charliermarsh in https://github.com/astral-sh/ruff/pull/6073pep8-naming
]: New config optionextend-ignore-names
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6169Bug Fixes
UP032
ifformat
call arguments contain multiline expressions by @harupy in https://github.com/astral-sh/ruff/pull/5971F507
false positive by @harupy in https://github.com/astral-sh/ruff/pull/5986Configuration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.