Skip to content

Comments

Add tests installing serverless from source#89

Merged
HuangJunye merged 6 commits intomainfrom
test-serverless-main
Feb 13, 2026
Merged

Add tests installing serverless from source#89
HuangJunye merged 6 commits intomainfrom
test-serverless-main

Conversation

@ElePT
Copy link
Collaborator

@ElePT ElePT commented Feb 11, 2026

Summary

This PR adds 2 new checks to our workflows that run installing qiskit-serverless from main in Python 3.10 (lowest supported version) and 3.13 (highest supported version). This allows to inspect whether upstream changes affect the library without having to wait for a serverless release or running the tests locally.

Details and comments

Given how minimal our current unit tests are, I anticipate that some degree of local testing will still be necessary, but we can use it to incrementally improve the testing suite.

@ElePT ElePT marked this pull request as ready for review February 11, 2026 13:53
@ElePT ElePT requested a review from a team as a code owner February 11, 2026 13:53
Copy link
Contributor

@HuangJunye HuangJunye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just a small comment for removing py39 in

envlist = py39, py310, py311, py312, py313, lint, coverage, docs

strategy:
max-parallel: 4
matrix:
python-version: ['3.10', '3.13']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I have a small question, the line 27 defines other python versions python-version: ['3.10', '3.11', '3.12', '3.13'], shouldn't it also be the case here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to add the load of 4 more tests to the CI workers, so I settled with 2 (oldest and newest python). Given how quick tests are we could do 4, if you think that's relevant.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ElePT Do you want to add tests for other versions of python or as is? I don't have strong feelings about it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer it as-is, for the mentioned reason, to keep things lightweight.

@ElePT ElePT requested a review from HuangJunye February 12, 2026 10:13
Copy link
Contributor

@HuangJunye HuangJunye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ElePT ElePT requested a review from marceloamaral February 12, 2026 10:56
@HuangJunye HuangJunye enabled auto-merge February 12, 2026 11:44
@ElePT ElePT dismissed marceloamaral’s stale review February 13, 2026 14:33

Didn't request changes.

@HuangJunye HuangJunye added this pull request to the merge queue Feb 13, 2026
Merged via the queue into main with commit e08e420 Feb 13, 2026
13 checks passed
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.

3 participants