{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":787935477,"defaultBranch":"main","name":"example-python-package","ownerLogin":"seumoose","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-04-17T13:15:01.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/22810975?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1722433488.0","currentOid":""},"activityList":{"items":[{"before":"3e77c9c4a442e2d464867edc7e6054ec2e717547","after":null,"ref":"refs/heads/dependabot/pip/main/mypy-1.11.0","pushedAt":"2024-07-31T13:44:48.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"f592bf8f487a6f1411f8f8c44004deacf689115d","ref":"refs/heads/dependabot/pip/main/mypy-1.11.1","pushedAt":"2024-07-31T13:44:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump mypy from 1.10.0 to 1.11.1\n\nBumps [mypy](https://github.com/python/mypy) from 1.10.0 to 1.11.1.\n- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)\n- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.11.1)\n\n---\nupdated-dependencies:\n- dependency-name: mypy\n dependency-type: direct:development\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] Sourced from mypy's\r\nchangelog. We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type\r\nchecker for Python. This release includes new features, performance\r\nimprovements and bug fixes. You can install it as follows: You can read the full documentation for this release on Read the Docs. Mypy now supports def is_str(s: object) -> TypeIs[str]:\r\nreturn isinstance(s, str) def f(o: str | int) -> None:\r\nif is_str(o):\r\n# Type of o is 'str'\r\n...\r\nelse:\r\n# Type of o is 'int'\r\n...\r\nChangelog
\r\n\r\n
Mypy Release Notes
\r\nNext release
\r\nMypy 1.10
\r\n
\r\npython3 -m pip install -U mypy\r\n
Support TypeIs (PEP 742)
\r\nTypeIs
(PEP 742), which allows\r\nfunctions to narrow the type of a value, similar to\r\nisinstance()
. Unlike TypeGuard
,\r\nTypeIs
can narrow in both the if
and\r\nelse
branches of an if statement:from typing_extensions import TypeIs\r\n
TypeIs
will be added to the typing
module\r\nin Python 3.13, but it\r\ncan be used on earlier Python versions by importing it from\r\ntyping_extensions
.
This feature was contributed by Jelle Zijlstra (PR 16898).
\r\nPEP 696 adds support\r\nfor type parameter defaults.\r\nExample:
\r\nfrom typing import Generic\r\nfrom typing_extensions import TypeVar\r\n</tr></table>\r\n
\r\n\r\n... (truncated)
\r\n\r\n3faf0fc
\r\nRemove +dev for version for release 1.10a5998d2
\r\nUpdate CHANGELOG.md (#17159)62ea5b0
\r\nVarious updates to changelog for 1.10 (#17158)2f0864c
\r\nUpdate CHANGELOG.md with draft for release 1.10 (#17150)e1443bb
\r\nfix: incorrect returned type of access descriptors on unions of types\r\n(#16604)5161ac2
\r\nSync typeshed (#17124)e2fc1f2
\r\nFix crash when expanding invalid Unpack in a Callable
alias\r\n(#17028)3ff6e47
\r\nDocs: docstrings in checker.py, ast_helpers.py (#16908)732d98e
\r\nFix string formatting for string enums (#16555)8019010
\r\nNarrow individual items when matching a tuple to a sequence pattern (#16905)Sourced from isort's\r\nreleases.
\r\n\r\n\r\n5.13.2
\r\nChanges
\r\n\r\n
\r\n- Apply the bracket fix from issue 471 only for use_parentheses=True\r\n(#2184)
\r\n@bp72
- confine pre-commit to stages (#2213)
\r\n@davidculley
:beetle: Fixes
\r\n\r\n
\r\n- Fix colors extras (#2212)
\r\n@staticdev
5.13.1
\r\nChanges
\r\n\r\n
\r\n- Fix integration tests (#2208)
\r\n@bp72
- Added a fix for normalizing imports from more than one level of\r\nparent modules (issue/2152) (#2191)
\r\n@bp72
:beetle: Fixes
\r\n\r\n
\r\n- Remove optional dependencies without extras (#2207)
\r\n@staticdev
5.13.0
\r\nChanges
\r\n\r\n
\r\n- Fix 80 line length for
\r\nwemake
linter (#2183)@skatromb
- Add support for Python 3.12 (#2175)
\r\n@hugovk
- fix: add newest version to pre-commit docs (#2190)
\r\n@AzulGarza
- Fix assertions in
\r\ntest_git_hook
(#2196)@mgorny
- Removed check for include_trailing_comma for the Hanging Indent wrap\r\nmode (#2192)
\r\n@bp72
- use the standard library tomllib on sufficiently new python (#2202)
\r\n@eli-schwartz
- Update pre-commit.md version number (#2197)
\r\n@nicobako
- doc: Update black_compatibility.md (#2177)
\r\n@JSS95
- Fix safety sept 2023 (#2178)
\r\n@staticdev
- docs: fix black profile documentation (#2163)
\r\n@nijel
- fix typo: indended -> indented (#2161)
\r\n@vadimkerr
- docs(configuration/options.md): fix missing trailing spaces for hard\r\nlinebreak (#2157)
\r\n@JoeyTeng
- Update pre-commit.md (#2148)
\r\n@godiard
- chore: move configurations to
\r\npyproject.toml
(#2115)@SauravMaheshkar
- Fix typo in README (#2112)
\r\n@stefmolin
- Update version in pre-commit setup to avoid installation issue with\r\npoetry (#2103)
\r\n@stefmolin
- Skip .pytype directory by default. (#2098)
\r\n@manueljacob
- Fix a tip block styling in the Config Files section (#2097)
\r\n@Klavionik
- Do not cache configuration files (#1995)
\r\n@kaste
- Derive
\r\nsettings_path
from--filename
(#1992)@kaste
- Fix year of version 5.12.0 in CHANGELOG.md (#2082)
\r\n@DjLegolas
:fire: Removals and Deprecations
\r\n\r\n
\r\n- Cleanup deprecated extras (#2089)
\r\n@staticdev
:package: Dependencies
\r\n\r\n
... (truncated)
\r\nSourced from isort's\r\nchangelog.
\r\n\r\n\r\n5.13.2 December 13 2023
\r\n\r\n
\r\n- Apply the bracket fix from issue #471 only\r\nfor use_parentheses=True (#2184)
\r\n@bp72
- Confine pre-commit to stages (#2213)
\r\n@davidculley
- Fixed colors extras (#2212)
\r\n@staticdev
5.13.1 December 11 2023
\r\n\r\n
\r\n- Fixed integration tests (#2208)
\r\n@bp72
- Fixed normalizing imports from more than one level of parent modules\r\n(issue/2152) (#2191)
\r\n@bp72
- Remove optional dependencies without extras (#2207)
\r\n@staticdev
5.13.0 December 9 2023
\r\n\r\n
\r\n- Cleanup deprecated extras (#2089)
\r\n@staticdev
- Fixed #1989:\r\nsettings lookup when working in stream based mode
\r\n- Fixed 80 line length for wemake linter (#2183)
\r\n@skatromb
- Add support for Python 3.12 (#2175)
\r\n@hugovk
- Fixed: add newest version to pre-commit docs (#2190)
\r\n@AzulGarza
- Fixed assertions in test_git_hook (#2196)
\r\n@mgorny
- Removed check for include_trailing_comma for the Hanging Indent wrap\r\nmode (#2192)
\r\n@bp72
- Use the standard library tomllib on sufficiently new python (#2202)
\r\n@eli-schwartz
- Update pre-commit.md version number (#2197)
\r\n@nicobako
- doc: Update black_compatibility.md (#2177)
\r\n@JSS95
- Fixed safety sept 2023 (#2178)
\r\n@staticdev
- docs: fix black profile documentation (#2163)
\r\n@nijel
- Fixed typo: indended -> indented (#2161)
\r\n@vadimkerr
- Docs(configuration/options.md): fix missing trailing spaces for hard\r\nlinebreak (#2157)
\r\n@JoeyTeng
- Update pre-commit.md (#2148)
\r\n@godiard
- chore: move configurations to pyproject.toml (#2115)
\r\n@SauravMaheshkar
- Fixed typo in README (#2112)
\r\n@stefmolin
- Update version in pre-commit setup to avoid installation issue with\r\npoetry (#2103)
\r\n@stefmolin
- Skip .pytype directory by default. (#2098)
\r\n@manueljacob
- Fixed a tip block styling in the Config Files section (#2097)
\r\n@Klavionik
- Do not cache configuration files (#1995)
\r\n@kaste
- Derive settings_path from --filename (#1992)
\r\n@kaste
- Fixed year of version 5.12.0 in CHANGELOG.md (#2082)
\r\n@DjLegolas
c655831
\r\nMerge pull request #2214\r\nfrom PyCQA/version/5.13.2b4335b4
\r\nPrepare version 5.13.2c36e43c
\r\nMerge pull request #2184\r\nfrom bp72/issue/2154e38702f
\r\nMerge pull request #2213\r\nfrom davidculley/confine-precommit-to-stagesee8d87f
\r\nAdd fix for the error found by hypothesis5849ec2
\r\nApply the bracket fix from issue 471 only for use_parentheses=Truedf0e119
\r\nconfine pre-commit to stages9255bca
\r\nMerge pull request #2212\r\nfrom PyCQA/bugfix/#2211-colors-extra5336d7d
\r\nFix colors extras643d9c4
\r\nMerge pull request #2210\r\nfrom PyCQA/version/5.13.1Sourced from pytest-xdist's\r\nchangelog.
\r\n\r\n\r\npytest-xdist 3.6.1 (2024-04-28)
\r\nBug Fixes
\r\n\r\n\r\n
\r\n- \r\n
[#1071](https://github.com/pytest-dev/pytest-xdist/issues/1071)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1071>
_:\r\nAdd backward compatibility for deadlock issue with the\r\nexecnet
newmain_thread_only
\r\n"execmodel" triggered when pytest-cov accesses rinfo.pytest-xdist 3.6.0 (2024-04-19)
\r\nThis release was YANKED due to a regression fixed in 3.6.1.
\r\nFeatures
\r\n\r\n\r\n
\r\n- \r\n
[#1027](https://github.com/pytest-dev/pytest-xdist/issues/1027)\r\n<https://github.com/pytest-dev/pytest-xdist/pull/1027>
_:pytest-xdist
\r\nworkers now always execute the tests in the main thread.\r\nPreviously some tests might end up executing in a separate thread other\r\nthanmain
in the workers, due to some internal\r\nexecnet`` details. This can cause problems specially with async\r\nframeworks where the event loop is running in the ``main`` thread (for\r\nexample
#620\r\npytest-dev/pytest-xdist#620`__).Bug Fixes
\r\n\r\n
\r\n- \r\n\r\n
\r\n\r\n
[#1024](https://github.com/pytest-dev/pytest-xdist/issues/1024)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1024>
_:\r\nAdded proper handling ofshouldstop
(such as set by\r\n--max-fail
) andshouldfail
conditions in\r\nworkers.\r\nPreviously, a worker might have continued executing further tests before\r\nthe controller could terminate the session.- \r\n\r\n
\r\n\r\n
[#1028](https://github.com/pytest-dev/pytest-xdist/issues/1028)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1028>
_:\r\nFixed compatibility issue betweenlooponfail
and editable\r\ninstalls.- \r\n
\r\n\r\n
[#620](https://github.com/pytest-dev/pytest-xdist/issues/620)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/620>
_:\r\nUse the newmain_thread_only
execnet
\r\n"execmodel" so that code which expects to only run in the main\r\nthread will now work as expected.- \r\n
\r\n\r\n
[#937](https://github.com/pytest-dev/pytest-xdist/issues/937)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/937>
_:\r\nFixed a bug where plugin would raise an incompatibility error with\r\n--pdb
despite using-n0
.Removals
\r\n\r\n
\r\n- \r\n\r\n
\r\n\r\n
[#1053](https://github.com/pytest-dev/pytest-xdist/issues/1053)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1053>
_:\r\nDropped support for Python 3.7.- \r\n\r\n
\r\n\r\n
[#1057](https://github.com/pytest-dev/pytest-xdist/issues/1057)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1057>
_:\r\npytest>=7.0.0 is now required.execnet>=2.1.0 is now required.
\r\nTrivial Changes
\r\n\r\n
\r\n\r\n- \r\n\r\n
\r\n\r\n
[#1020](https://github.com/pytest-dev/pytest-xdist/issues/1020)\r\n<https://github.com/pytest-dev/pytest-xdist/issues/1020>
_:\r\npytest-xdist'ssetup.py
file is removed.If you relied on this file, e.g. to install pytest using\r\n
\r\nsetup.py install
,\r\nplease seeWhy you shouldn't invoke setup.py directly\r\n<https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>
_\r\nfor alternatives.
... (truncated)
\r\n4dd2978
\r\nRelease 3.6.1b397288
\r\nMerge pull request #1072\r\nfrom zmedico/gateway-cache-rinfo12b3cce
\r\nCache execnet gateway rinfo during WorkerController setupc93a106
\r\nbuild(deps): bump hynek/build-and-inspect-python-package (#1066)52e2022
\r\n[pre-commit.ci] pre-commit autoupdate (#1073)699f939
\r\nMerge pull request #1070\r\nfrom pytest-dev/release-3.6.080bc0b8
\r\nRelease 3.6.020e3ac7
\r\nUse execnet main_thread_only execmodel (#1027)0a4238f
\r\nMerge pull request #1067\r\nfrom pytest-dev/pre-commit-ci-update-config0686279
\r\n[pre-commit.ci] pre-commit autoupdateSourced from pytest's\r\nreleases.
\r\n\r\n\r\npytest 7.4.4 (2023-12-31)
\r\nBug Fixes
\r\n\r\n
\r\n- #11140:\r\nFix non-string constants at the top of file being detected as docstrings\r\non Python>=3.8.
\r\n- #11572:\r\nHandle an edge case where
\r\nsys.stderr
{.interpreted-text\r\nrole="data"} andsys.__stderr__
{.interpreted-text\r\nrole="data"} might already be closed when\r\nfaulthandler
{.interpreted-text role="ref"} is\r\ntearing down.- #11710:\r\nFixed tracebacks from collection errors not getting pruned.
\r\n- #7966:\r\nRemoved unhelpful error message from assertion rewrite mechanism when\r\nexceptions are raised in
\r\n__iter__
methods. Now they are\r\ntreated un-iterable instead.Improved Documentation
\r\n\r\n
\r\n- #11091:\r\nUpdated documentation to refer to hyphenated options: replaced\r\n
\r\n--junitxml
with--junit-xml
and\r\n--collectonly
with--collect-only
.pytest 7.4.3 (2023-10-24)
\r\nBug Fixes
\r\n\r\n
\r\n- \r\n
\r\n#10447:\r\nMarkers are now considered in the reverse mro order to ensure base class\r\nmarkers are considered first -- this resolves a regression.
\r\n- \r\n
\r\n#11239:\r\nFixed
\r\n:=
in asserts impacting unrelated test cases.- \r\n
\r\n#11439:\r\nHandled an edge case where :data:
\r\nsys.stderr
might already\r\nbe closed when :ref:faulthandler
is tearing down.
33f694f
\r\nPrepare release version 7.4.476c107c
\r\nMerge pull request #11751\r\nfrom bluetech/backport-11143-to-7.4.x531d76d
\r\n[7.4.x] Improve reporting from iter exceptions (#11749)a0f58fa
\r\nMerge pull request #11143\r\nfrom tushar-deepsource/patch-1b1f3387
\r\n[7.4.x] #11091:\r\ndocumentation should use hypthonated properties (#11750)2cdd619
\r\nMerge pull request #11747\r\nfrom pytest-dev/backport-11711-to-7.4.xd06c05b
\r\n[7.4.x] nodes: fix tracebacks from collection errors are not getting\r\npruned5582bfc
\r\n[7.4.x] Improves clarity in Sphinx documentation for function signature.\r\n(#11...13024ef
\r\n[7.4.x] Fix for operation on closed file in faulthandler teardown (#11631)a40dacf
\r\n[7.4.x] XFAIL TestLocalPath.test_make_numbered_dir_multiprocess_safe (#11616)Sourced from bandit's\r\nreleases.
\r\n\r\n\r\n1.7.8
\r\nWhat's Changed
\r\n\r\n
\r\n- Incorrect tag naming in readme by
\r\n@lukehinds
in PyCQA/bandit#1105- Utilize PyPI's trusted publishing by
\r\n@ericwb
in PyCQA/bandit#1107- Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 by
\r\n@dependabot
in PyCQA/bandit#1109- Add 1.7.7 to versions of bug template by
\r\n@ericwb
in PyCQA/bandit#1110- Use datetime to avoid updating copyright year by
\r\n@ericwb
in PyCQA/bandit#1112- filter data is safe for tarfile extractall by
\r\n@etienneschalk
\r\nin PyCQA/bandit#1111- Bump docker/setup-buildx-action from 3.0.0 to 3.1.0 by
\r\n@dependabot
in PyCQA/bandit#1115- [B605] Add functions that are vulnerable to shell injection. by
\r\n@shihai1991
in PyCQA/bandit#1116- Add a SARIF output formatter by
\r\n@ericwb
in PyCQA/bandit#1113New Contributors
\r\n\r\n
\r\n- \r\n
@etienneschalk
\r\nmade their first contribution in PyCQA/bandit#1111- \r\n
@shihai1991
made\r\ntheir first contribution in PyCQA/bandit#1116Full Changelog: https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8
\r\n1.7.7
\r\nWhat's Changed
\r\n\r\n
\r\n- Add the new release to bandit versions of bug template by
\r\n@ericwb
in PyCQA/bandit#1075- Bump actions/setup-python from 4 to 5 by
\r\n@dependabot
in PyCQA/bandit#1076- Handle variant in how policy is passed in paramiko by
\r\n@ericwb
in PyCQA/bandit#1078- Flag str.replace as possible sql injection by
\r\n@costaparas
in PyCQA/bandit#1044- defusedxml: Show correct module name by
\r\n@kajinamit
in PyCQA/bandit#1081- Add tidelift to the sponsor funding list by
\r\n@ericwb
in PyCQA/bandit#1089- Create a security policy by
\r\n@ericwb
in PyCQA/bandit#1091- Fix up issues found running Bandit on itself by
\r\n@ericwb
in PyCQA/bandit#1093- Add random.randbytes to blacklist calls by
\r\n@ericwb
in PyCQA/bandit#1096- Prepend ./ for files specified as CLI args by
\r\n@ericwb
in PyCQA/bandit#1094- Rework GitPython dependency to be an extra for bandit-baseline by
\r\n@ericwb
in PyCQA/bandit#1099- Bump actions/dependency-review-action from 3 to 4 by
\r\n@dependabot
in PyCQA/bandit#1101- Introduce Official Bandit Images by
\r\n@lukehinds
in PyCQA/bandit#1088- Remove markdown formatting in reStructuredText formatted README by\r\n
\r\n@ericwb
in PyCQA/bandit#1103- Downsize the org:repo name by
\r\n@lukehinds
in PyCQA/bandit#1104New Contributors
\r\n\r\n
\r\n- \r\n
@kajinamit
\r\nmade their first contribution in PyCQA/bandit#1081Full Changelog: https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7
\r\n1.7.6
\r\nWhat's Changed
\r\n\r\n
\r\n\r\n- Update bug report to include version 1.7.5 by
\r\n@ericwb
in PyCQA/bandit#993- Render Python 3.10 in drop down correctly by
\r\n@ericwb
in PyCQA/bandit#997- Remove checks for Python2 urllib by
\r\n@ericwb
in PyCQA/bandit#999- Improper detection of non-requests module by
\r\n@ericwb
in PyCQA/bandit#1011- xmlrpclib replaced with xmlrpc in Python3 by
\r\n@ericwb
in PyCQA/bandit#1012- language and linting updates by
\r\n@marksmayo
in PyCQA/bandit#1015- Adds check for crypt module usage as weak hash by
\r\n@ericwb
in PyCQA/bandit#1018
... (truncated)
\r\n22b4226
\r\nAdd a SARIF output formatter (#1113)b603dce
\r\n[B605] Add functions that are vulnerable to shell injection. (#1116)a682a18
\r\nBump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#1115)c8d5f77
\r\nfilter data is safe for tarfile extractall (#1111)e041e12
\r\nUse datetime to avoid updating copyright year (#1112)5b16b6a
\r\nAdd 1.7.7 to versions of bug template (#1110)858bfd8
\r\nBump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#1109)be5d6ac
\r\nUtilize PyPI's trusted publishing (#1107)c3a07e5
\r\nIncorrect tag naming in readme (#1105)4c5b3c8
\r\nDownsize the org:repo name (#1104)