Skip to content

Feat/dev 3737 matrix update - #300

Closed
Inarus899 wants to merge 49 commits into
developfrom
feat/DEV-3737_Matrix_update
Closed

Feat/dev 3737 matrix update#300
Inarus899 wants to merge 49 commits into
developfrom
feat/DEV-3737_Matrix_update

Conversation

@Inarus899

Copy link
Copy Markdown
Contributor

This branch continues on the python 3.10-3.14 update and updates the matrix build process for the new versions of python as well as moving things to uv in the process.

@Inarus899
Inarus899 changed the base branch from develop to feaet/DEV-3737_Update_python_and_standardize August 11, 2026 13:48
Comment thread .github/workflows/ci.yaml Outdated
Comment on lines +17 to +19
- macos-latest
- ubuntu-latest
- windows-latest

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Context: we want to be explicit about the versions we support versus those we don't. For instance, we build for python 3.10 as it is the oldest supported version of python. We want to get in any Ubuntu and Linux that is still under LTS (long term support)

Comment thread .github/workflows/ci.yaml Outdated
- ubuntu-20.04
- macos-15
- macos-26
- ubuntu-latest

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe remove single non-deterministic one?

Comment thread tests/conftest.py
@pytest.fixture(scope="class")
def setup_mock_server() -> None:
server = Process(target=run_mock_server)
# MacOS does things differently, so get everyone acting the same way

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Was this something that changed for mac since py38?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can find stuff online saying this change from fork to spawn for just MacOS happened for python 3.8. I don't know how this wasn't an issue for previous builds using python 3.8 on MacOS, but for the build matrix steps, this was causing issues for testing as part of the build process.

Comment thread tests/conftest.py
time.sleep(5) # starting with py38, takes longer for process to start on macOS

# Since py38, a sleep is needed for MacOS. 10 is no longer enough as of py310
# Instead of time.sleep(30), this loop could exit faster.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you seeing a significant reduction in the wait time for this? This increases complexity a bit and I might recommend just going with the 30 sec sleep if we're only saving a couple seconds.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can tell a difference on my machine when running sleep(30) instead of this loop, but how often does a person run the tests? Maybe taking longer and being less complex would be preferred

Comment thread .github/workflows/ci.yaml
- develop
- release/**
- hotfix/**
- feat/DEV-3737_Matrix_update

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We shouldn't check this in.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This line will be removed at the end, but great call out. I tried to make a comment that would block this merge until this line is deleted, but I couldn't find that option quickly enough so I just kept on moving.

Comment thread bin/package Outdated
python -m pip install --upgrade pip
python -m pip install --no-deps -r requirements.txt
python -m pip install --no-deps .
uv sync --locked --extra dev

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we need the dev extras? If so these aren't getting packaged are they?

Comment thread .github/workflows/ci.yaml Outdated
env:
NO_PROXY: "127.0.0.1,localhost"
no proxy: "127.0.0.1,localhost"
run: uv run --with tox-uv tox

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

b/c this isn't a uv project we can just use: uv run tox

Comment thread .github/workflows/ci.yaml Outdated
Comment on lines +44 to +47
- name: Install dependencies
run: uv sync
env:
UV_DEFAULT_INDEX: https://pypi.org/simple

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This step shouldn't be required.

@Inarus899
Inarus899 changed the base branch from feaet/DEV-3737_Update_python_and_standardize to develop August 12, 2026 13:48
@Inarus899

Copy link
Copy Markdown
Contributor Author

Due to Jira ticket hooks and slack, I created a new pull request (just tried to change the name really) and it can be found here:
#301

@Inarus899 Inarus899 closed this Aug 13, 2026
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.

4 participants