diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cb8eab5d6..40e720b4c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: Install dependencies @@ -39,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0647754dc..230894101 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v5.0.0 with: fetch-depth: 0 - - uses: actions/setup-python@v5.6.0 + - uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - run: pip install --upgrade tox diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml index 4da71860a..67e943bc8 100644 --- a/.github/workflows/pre_commit.yml +++ b/.github/workflows/pre_commit.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5.0.0 - - uses: actions/setup-python@v5.6.0 + - uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: install tox diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdf090887..2a3cc1ec7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Python Semantic Release id: release - uses: python-semantic-release/python-semantic-release@v10.3.1 + uses: python-semantic-release/python-semantic-release@v10.4.1 with: github_token: ${{ secrets.RELEASE_GITHUB_TOKEN }} @@ -32,7 +32,7 @@ jobs: if: steps.release.outputs.released == 'true' - name: Publish package distributions to GitHub Releases - uses: python-semantic-release/publish-action@v10.3.1 + uses: python-semantic-release/publish-action@v10.4.1 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0b6cbe5db..1b4e9728d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -15,7 +15,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v9.1.0 + - uses: actions/stale@v10.0.0 with: operations-per-run: 500 stale-issue-label: "stale" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8c32dd8d..b10041f30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python ${{ matrix.python.version }} - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.python.version }} - name: Install dependencies @@ -69,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: Install dependencies @@ -79,7 +79,7 @@ jobs: TOXENV: ${{ matrix.toxenv }} run: tox -- --override-ini='log_cli=True' - name: Upload codecov coverage - uses: codecov/codecov-action@v5.5.0 + uses: codecov/codecov-action@v5.5.1 with: files: ./coverage.xml flags: ${{ matrix.toxenv }} @@ -91,7 +91,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: Install dependencies @@ -102,7 +102,7 @@ jobs: TOXENV: cover run: tox - name: Upload codecov coverage - uses: codecov/codecov-action@v5.5.0 + uses: codecov/codecov-action@v5.5.1 with: files: ./coverage.xml flags: unit @@ -114,7 +114,7 @@ jobs: name: Python wheel steps: - uses: actions/checkout@v5.0.0 - - uses: actions/setup-python@v5.6.0 + - uses: actions/setup-python@v6.0.0 with: python-version: "3.13" - name: Install dependencies @@ -133,7 +133,7 @@ jobs: steps: - uses: actions/checkout@v5.0.0 - name: Set up Python - uses: actions/setup-python@v5.6.0 + uses: actions/setup-python@v6.0.0 with: python-version: '3.13' - uses: actions/download-artifact@v5.0.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf5dd8e24..1eae958af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,11 +3,11 @@ default_language_version: repos: - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.9.0 hooks: - id: black - repo: https://github.com/commitizen-tools/commitizen - rev: v4.8.3 + rev: v4.9.1 hooks: - id: commitizen stages: [commit-msg] @@ -32,7 +32,7 @@ repos: - requests-toolbelt==1.0.0 files: 'gitlab/' - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v1.18.2 hooks: - id: mypy args: [] @@ -51,6 +51,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/maxbrunet/pre-commit-renovate - rev: 41.82.10 + rev: 41.125.3 hooks: - id: renovate-config-validator diff --git a/gitlab/_version.py b/gitlab/_version.py index c9434cd63..88108a3fa 100644 --- a/gitlab/_version.py +++ b/gitlab/_version.py @@ -3,4 +3,4 @@ __email__ = "gauvainpocentek@gmail.com" __license__ = "LGPL3" __title__ = "python-gitlab" -__version__ = "6.3.0" +__version__ = "6.4.0" diff --git a/gitlab/v4/objects/users.py b/gitlab/v4/objects/users.py index 2c2393eba..1e3941732 100644 --- a/gitlab/v4/objects/users.py +++ b/gitlab/v4/objects/users.py @@ -400,17 +400,29 @@ class UserManager(CRUDMixin[User]): _obj_cls = User _list_filters = ( + "username", + "public_email", + "search", "active", + "external", "blocked", - "username", + "humans", + "created_after", + "created_before", + "exclude_active", + "exclude_external", + "exclude_humans", + "exclude_internal", + "without_project_bots", "extern_uid", "provider", - "external", - "search", - "custom_attributes", - "status", "two_factor", + "without_projects", "admins", + "auditors", + "skip_ldap", + "custom_attributes", + "status", ) _create_attrs = RequiredOptional( optional=( diff --git a/requirements-lint.txt b/requirements-lint.txt index 6d326d8bd..b6d417096 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -1,14 +1,14 @@ -r requirements.txt argcomplete==2.0.0 -black==25.1.0 -commitizen==4.8.3 +black==25.9.0 +commitizen==4.9.1 flake8==7.3.0 isort==6.0.1 -mypy==1.17.1 +mypy==1.18.2 pylint==3.3.8 -pytest==8.4.1 +pytest==8.4.2 responses==0.25.8 respx==0.22.0 -types-PyYAML==6.0.12.20250822 -types-requests==2.32.4.20250809 +types-PyYAML==6.0.12.20250915 +types-requests==2.32.4.20250913 types-setuptools==80.9.0.20250822 diff --git a/requirements-test.txt b/requirements-test.txt index 36e60a2bb..2dc907b87 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,13 +1,13 @@ -r requirements.txt anyio==4.10.0 build==1.3.0 -coverage==7.10.5 +coverage==7.10.7 pytest-console-scripts==1.4.1 -pytest-cov==6.2.1 +pytest-cov==6.3.0 pytest-github-actions-annotate-failures==0.3.0 -pytest==8.4.1 +pytest==8.4.2 PyYaml==6.0.2 responses==0.25.8 respx==0.22.0 -trio==0.30.0 +trio==0.31.0 wheel==0.45.1