Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • buildgrid buildgrid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • BuildGridBuildGrid
  • buildgridbuildgrid
  • Merge requests
  • !853

Add Python 3.11 unit tests to CI

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Neill Whillans requested to merge neill/python_311 into master Jan 12, 2023
  • Overview 5
  • Commits 3
  • Pipelines 9
  • Changes 8

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

This request aims to add unit tests for Python 3.11 to the CI, and fix various linting issues.

Changes proposed in this merge request:

  • Add unit test stage for Python 3.11 to CI
  • Update tox interpreter list to include Python 3.10 and 3.11
  • Update exception handling to avoid use of 'raise Exception', by using more specific exceptions
  • Fixes to various linting issues - (use-dict-literal), (superfluous-parens)

Validation

n/a

Issues addressed

n/a

Edited Feb 09, 2023 by Neill Whillans
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: neill/python_311