Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2023

This PR contains the following updates:

Package Change Age Confidence
python-gitlab (changelog) ==3.13.0==3.15.0 age confidence

Release Notes

python-gitlab/python-gitlab (python-gitlab)

v3.15.0

Compare Source

Chores
  • Update copyright year to include 2023
    (511c6e5)

  • Update sphinx from 5.3.0 to 6.2.1
    (c44a290)

  • ci: Use OIDC trusted publishing for pypi.org
    (#​2559,
    7be09e5)

  • chore(ci): use OIDC trusted publishing for pypi.org

  • chore(ci): explicitly install setuptools in tests

  • deps: Update all non-major dependencies
    (e3de6ba)

  • deps: Update dependency commitizen to v3
    (784d59e)

  • deps: Update dependency myst-parser to v1
    (9c39848)

  • deps: Update dependency requests-toolbelt to v1
    (86eba06)

  • deps: Update dependency types-setuptools to v67
    (c562424)

  • deps: Update pre-commit hook commitizen-tools/commitizen to v3
    (1591e33)

  • deps: Update pre-commit hook maxbrunet/pre-commit-renovate to v35
    (8202e3f)

Documentation
  • Remove exclusive EE about issue links
    (e0f6f18)
Features
  • Add support for select="package_file" in package upload
    (3a49f09)

Add ability to use select="package_file" when uploading a generic package as described in:
https://docs.gitlab.com/ee/user/packages/generic_packages/index.html

Closes: #​2557

  • Usernames support for MR approvals
    (a2b8c8c)

This can be used instead of 'user_ids'

See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule

  • api: Add support for events scope parameter
    (348f56e)

v3.14.0

Compare Source

Bug Fixes
  • Support int for parent_id in import_group
    (90f96ac)

This will also fix other use cases where an integer is passed in to MultipartEncoder.

Added unit tests to show it works.

Closes: #​2506

  • fix(cli): Add ability to escape at-prefixed parameter (#​2511)

Co-authored-by: Nejc Habjan hab.nejc@gmail.com

  • cli: Display items when iterator is returned
    (33a04e7)

  • cli: Warn user when no fields are displayed
    (8bf53c8)

  • client: Properly parse content-type when charset is present
    (76063c3)

Chores
  • Add Contributor Covenant 2.1 as Code of Conduct
    (fe334c9)

See https://www.contributor-covenant.org/version/2/1/code_of_conduct/

  • Add Python 3.12 testing
    (0867564)

Add a unit test for Python 3.12. This will use the latest version of Python 3.12 that is available
from https://github.com/actions/python-versions/

At this time it is 3.12.0-alpha.4 but will move forward over time until the final 3.12 release and
updates. So 3.12.0, 3.12.1, ... will be matched.

For users who use tox having pre-commit as part of the default environment list is redundant as
it will run the same tests again that are being run in other environments. For example: black,
flake8, pylint, and more.

  • Use a dataclass to return values from prepare_send_data
    (f2b5e4f)

I found the tuple of three values confusing. So instead use a dataclass to return the three values.
It is still confusing but a little bit less so.

Also add some unit tests

  • .github: Actually make PR template the default
    (7a8a862)

  • ci: Wait for all coverage reports in CI status
    (511764d)

  • contributing: Refresh development docs
    (d387d91)

  • deps: Update actions/stale action to v8
    (7ac4b86)

  • deps: Update all non-major dependencies
    (8b692e8)

  • deps: Update all non-major dependencies
    (2f06999)

  • deps: Update all non-major dependencies
    (#​2493,
    07d03dc)

  • chore(deps): update all non-major dependencies * chore(fixtures): downgrade GitLab for now *
    chore(deps): ungroup typing deps, group gitlab instead * chore(deps): downgrade argcomplete for
    now

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

Co-authored-by: Nejc Habjan nejc.habjan@siemens.com

Update the dependency versions: black: 23.1.0

commitizen: 2.40.0

They needed to be updated together as just updating black caused a dependency conflict.

Updated files by running black and committing the changes.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

  • deps: Update dependency furo to v2023
    (7a1545d)

  • deps: Update dependency pre-commit to v3
    (#​2508,
    7d779c8)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

  • deps: Update mypy (1.0.0) and responses (0.22.0)
    (9c24657)

Update the requirements-* files.

In order to update mypy==1.0.0 we need to also update responses==0.22.0

Fix one issue found by mypy

Leaving updates for precommit to be done in a separate commit by someone.

  • deps: Update pre-commit hook psf/black to v23
    (217a787)

  • github: Add default pull request template
    (bf46c67)

  • pre-commit: Bumping versions
    (e973729)

  • renovate: Bring back custom requirements pattern
    (ae0b21c)

  • renovate: Do not ignore tests dir
    (5b8744e)

  • renovate: Swith to gitlab-ee
    (8da48ee)

  • setup: Depend on typing-extensions for 3.7 until EOL
    (3abc557)

Documentation
  • Fix update badge behaviour
    (3d7ca1c)

docs: fix update badge behaviour

Earlier: badge.image_link = new_link

Now: badge.image_url = new_image_url badge.link_url = new_link_url

  • advanced: Clarify netrc, proxy behavior with requests
    (1da7c53)

  • advanced: Fix typo in Gitlab examples
    (1992790)

  • objects: Fix typo in pipeline schedules
    (3057f45)

Features
  • Add resource_weight_event for ProjectIssue
    (6e5ef55)

  • backends: Use PEP544 protocols for structural subtyping
    (#​2442,
    4afeaff)

The purpose of this change is to track API changes described in
https://github.com/python-gitlab/python-gitlab/blob/main/docs/api-levels.rst, for example, for
package versioning and breaking change announcements in case of protocol changes.

This is MVP implementation to be used by #​2435.

  • cli: Add setting of allow_force_push for protected branch
    (929e07d)

For the CLI: add allow_force_push as an optional argument for creating a protected branch.

API reference: https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches

Closes: #​2466

In order to support some new API calls we need to support the HTTP PATCH method.

Closes: #​2469

  • objects: Support fetching PATs via id or self endpoint
    (19b38bd)

  • projects: Allow importing additional items from GitHub
    (ce84f2e)

Refactoring
  • client: Let mypy know http_password is set
    (2dd177b)
Testing
  • functional: Clarify MR fixture factory name
    (d8fd1a8)

  • meta: Move meta suite into unit tests
    (847004b)

They're always run with it anyway, so it makes no difference.

  • unit: Consistently use inline fixtures
    (1bc56d1)

  • unit: Increase V4 CLI coverage
    (5748d37)

  • unit: Remove redundant package
    (4a9e3ee)

  • unit: Split the last remaining unittest-based classes into modules"
    (14e0f65)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency python-gitlab to v3.14.0 Update dependency python-gitlab to v3.15.0 Jun 9, 2023
@renovate renovate bot force-pushed the renovate/python-gitlab-3.x branch from 506a6f3 to e6b93a4 Compare June 9, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant