Skip to content

build(deps): update twine requirement from ~=4.0 to ~=5.0#21

Merged
mbdevpl merged 1 commit intomainfrom
dependabot/pip/twine-approx-eq-5.0
Mar 2, 2024
Merged

build(deps): update twine requirement from ~=4.0 to ~=5.0#21
mbdevpl merged 1 commit intomainfrom
dependabot/pip/twine-approx-eq-5.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Updates the requirements on twine to permit the latest version.

Changelog

Sourced from twine's changelog.

Twine 5.0.0 (2024-02-10)

Bugfixes ^^^^^^^^

  • Use email.message instead of cgi as cgi has been deprecated ([#969](https://github.com/pypa/twine/issues/969) <https://github.com/pypa/twine/issues/969>_)

Misc ^^^^

  • [#931](https://github.com/pypa/twine/issues/931) <https://github.com/pypa/twine/issues/931>, [#991](https://github.com/pypa/twine/issues/991) <https://github.com/pypa/twine/issues/991>, [#1028](https://github.com/pypa/twine/issues/1028) <https://github.com/pypa/twine/issues/1028>, [#1040](https://github.com/pypa/twine/issues/1040) <https://github.com/pypa/twine/issues/1040>

Twine 4.0.2 (2022-11-30)

Bugfixes ^^^^^^^^

  • Remove deprecated function to fix twine check with pkginfo 1.9.0. ([#941](https://github.com/pypa/twine/issues/941) <https://github.com/pypa/twine/issues/941>_)

Twine 4.0.1 (2022-06-01)

Bugfixes ^^^^^^^^

  • Improve logging when keyring fails. ([#890](https://github.com/pypa/twine/issues/890) <https://github.com/pypa/twine/issues/890>_)
  • Reconfigure root logger to show all log messages. ([#896](https://github.com/pypa/twine/issues/896) <https://github.com/pypa/twine/issues/896>_)

Twine 4.0.0 (2022-03-31)

Features ^^^^^^^^

  • Drop support for Python 3.6. ([#869](https://github.com/pypa/twine/issues/869) <https://github.com/pypa/twine/issues/869>_)
  • Use Rich to add color to upload output. ([#851](https://github.com/pypa/twine/issues/851) <https://github.com/pypa/twine/issues/851>_)
  • Use Rich to add color to check output. ([#874](https://github.com/pypa/twine/issues/874) <https://github.com/pypa/twine/issues/874>_)
  • Use Rich instead of tqdm for upload progress bar. ([#877](https://github.com/pypa/twine/issues/877) <https://github.com/pypa/twine/issues/877>_)

Bugfixes ^^^^^^^^

  • Remove Twine's dependencies from the User-Agent header when uploading. ([#871](https://github.com/pypa/twine/issues/871) <https://github.com/pypa/twine/issues/871>_)

... (truncated)

Commits
  • 94f810c Merge pull request #1047 from pypa/new-release
  • 09d993a Update linkcheck_ignore setting for docs
  • ab0ed19 Apply 2024 black format
  • 407e6cc Build changelog for 5.0.0
  • 6644b86 Add missing changelog entries
  • fe1885f Merge pull request #1034 from DimitriPapadopoulos/codespell
  • 694bdcf Fix typos found by codespell
  • 89ec78c Merge pull request #1040 from woodruffw-forks/ww/pypi-mandatory-api-tokens
  • b3b363a tests: lintage
  • 6e94d20 tests: more non-PyPI tests
  • 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [twine](https://github.com/pypa/twine) to permit the latest version.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](pypa/twine@4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 1, 2024
@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Mar 1, 2024

Tools report for GitHub-mbdevpl/ingit/PR-21 [build #1]:

  • Pylint: warnings ⚠️ (click for details)
    ************* Module ingit.repo_data
    ingit/repo_data.py:13:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
    ingit/repo_data.py:68:8: W0717: try clause contains 2 statements, expected at most 1 (too-many-try-statements)
    ************* Module ingit.project
    ingit/project.py:498:4: R1260: '_status_remotes' is too complex. The McCabe rating is 12 (too-complex)
    ingit/project.py:70:4: C0116: Missing function or method docstring (missing-function-docstring)
    ingit/project.py:108:8: W0717: try clause contains 3 statements, expected at most 1 (too-many-try-statements)
    ingit/project.py:182:8: W0717: try clause contains 3 statements, expected at most 1 (too-many-try-statements)
    ingit/project.py:254:4: R0914: Too many local variables (16/15) (too-many-locals)
    ingit/project.py:263:26: W0212: Access to a protected member _repo of a client class (protected-access)
    ingit/project.py:279:19: W0212: Access to a protected member _repo of a client class (protected-access)
    ingit/project.py:366:8: W0717: try clause contains 3 statements, expected at most 1 (too-many-try-statements)
    ingit/project.py:439:4: R6301: Method could be a function (no-self-use)
    ingit/project.py:473:8: W0702: No exception type(s) specified (bare-except)
    ************* Module ingit.runtime_interface
    ingit/runtime_interface.py:70:5: W0511: TODO: put this function in some library (fixme)
    ingit/runtime_interface.py:34:0: R1260: 'ask' is too complex. The McCabe rating is 11 (too-complex)
    ************* Module ingit.action_progress
    ingit/action_progress.py:30:24: W0511: TODO: works only in bash, but what about cmd? (fixme)
    ************* Module ingit.runtime
    ingit/runtime.py:214:17: W0511: TODO: recurse into non-git dir here (fixme)
    ingit/runtime.py:196:4: R1260: '_unregistered_folders_summary' is too complex. The McCabe rating is 13 (too-complex)
    ingit/runtime.py:252:4: R1260: 'register_repository' is too complex. The McCabe rating is 12 (too-complex)
    ingit/runtime.py:34:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
    ingit/runtime.py:259:8: W0717: try clause contains 4 statements, expected at most 1 (too-many-try-statements)
    ingit/runtime.py:266:16: W0717: try clause contains 4 statements, expected at most 1 (too-many-try-statements)
    
    -----------------------------------
    Your code has been rated at 9.88/10
    
  • Mypy: problems ⚠️ (click for details)
    ingit/runtime_interface.py:34: error: Incompatible default for argument "answers" (default has type "None", argument has type "Sequence[str]")  [assignment]
    ingit/runtime_interface.py:34: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
    ingit/runtime_interface.py:34: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
    ingit/runtime_interface.py:35: error: Incompatible default for argument "autoanswer" (default has type "None", argument has type "bool | str")  [assignment]
    ingit/runtime_interface.py:35: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
    ingit/runtime_interface.py:35: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
    ingit/repo_data.py:69: error: Function "branches" could always be true in boolean context  [truthy-function]
    ingit/repo_data.py:75: error: List item 0 has incompatible type "tuple[str, None]"; expected "tuple[str, Reference]"  [list-item]
    ingit/repo_data.py:76: error: "Callable[[], IterableList[Head]]" has no attribute "__iter__" (not iterable)  [attr-defined]
    ingit/repo_data.py:80: error: Value expression in dictionary comprehension has incompatible type "tuple[str, ...] | None"; expected type "Reference"  [misc]
    ingit/repo_data.py:86: error: List item 0 has incompatible type "tuple[str, None]"; expected "tuple[str, Remote]"  [list-item]
    ingit/repo_data.py:90: error: Key expression in dictionary comprehension has incompatible type "tuple[str, str]"; expected type "str"  [misc]
    ingit/project.py:112: error: Argument "progress" to "clone_from" of "Repo" has incompatible type "ActionProgress"; expected "Callable[[int, str | float, str | float | None, str], None] | None"  [arg-type]
    ingit/project.py:276: error: Incompatible types in assignment (expression has type "tuple[str, None]", target has type "tuple[Any, str]")  [assignment]
    ingit/runtime.py:38: error: Incompatible default for argument "hostname" (default has type "None", argument has type "str")  [assignment]
    ingit/runtime.py:38: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
    ingit/runtime.py:38: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
    Found 11 errors in 4 files (checked 24 source files)
    
  • Flake518: problems ⚠️ (click for details)
    ingit/project.py:473:9: E722 do not use bare 'except'
    
  • Pydocstyle: ran 🆗

  • Coverage: 93% 🆗 (click for details)
    Name                             Stmts   Miss Branch BrPart  Cover   Missing
    ----------------------------------------------------------------------------
    ingit/__init__.py                    2      0      0      0   100%
    ingit/__main__.py                    9      0      2      0   100%
    ingit/_version.py                    2      0      0      0   100%
    ingit/action_progress.py            77      2     28      0    98%   60-61
    ingit/fetch_flags.py                27      3     10      3    84%   39, 48, 51
    ingit/json_config.py                57      0      6      0   100%
    ingit/main.py                       99      6     34      1    95%   234-235, 256-259
    ingit/project.py                   372     63    178     25    81%   74-75, 114-115, 150->152, 167-177, 186-187, 190, 198, 208, 250, 286, 288, 298->305, 299->298, 312-314, 331, 349, 371-372, 380, 391->393, 397-398, 409-410, 417-418, 435-436, 441-452, 460->462, 473-477, 480, 486, 520-521, 527-528, 532-533, 536, 550-553, 555
    ingit/push_flags.py                 15      0      4      1    95%   35->37
    ingit/repo_data.py                  64      3     30      0    97%   43-44, 52
    ingit/runtime.py                   208     24     94      8    87%   62-64, 103, 153-154, 158-166, 175, 180->182, 190, 205-206, 228->exit, 275-276, 284-285, 294, 298->300
    ingit/runtime_interface.py          57      2     30      2    95%   66, 78
    setup.py                            11      0      2      0   100%
    test/__init__.py                     5      0      0      0   100%
    test/test_action_progress.py       135      0     22      0   100%
    test/test_git_commands.py          141      0     28      1    99%   46->48
    test/test_ingit_commands.py         95      0     32      0   100%
    test/test_json_config.py            50      0     26      0   100%
    test/test_main.py                   37      0     18      0   100%
    test/test_packaging.py               3      0      0      0   100%
    test/test_project.py               190      0     48      0   100%
    test/test_repo_data.py              39      0      0      0   100%
    test/test_runtime.py                66      0     33      0   100%
    test/test_runtime_interface.py      25      0     16      0   100%
    ----------------------------------------------------------------------------
    TOTAL                             1786    103    641     41    93%
    

@codecov
Copy link

codecov bot commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.06%. Comparing base (8b9ba38) to head (b2fe0ca).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   93.06%   93.06%           
=======================================
  Files          24       24           
  Lines        1787     1787           
  Branches      320      320           
=======================================
  Hits         1663     1663           
  Misses         87       87           
  Partials       37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mbdevpl mbdevpl merged commit c2e13a4 into main Mar 2, 2024
@dependabot dependabot bot deleted the dependabot/pip/twine-approx-eq-5.0 branch March 2, 2024 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant