Skip to content

Conversation

@svij-sc
Copy link
Collaborator

@svij-sc svij-sc commented Dec 13, 2025

Following, #414

Release process needs to be fixed.
The process is now fixed (see test plan below), and documentation has also been updated.
We should do an official release of 0.1.0, after all changes are merged in.

Testing Plan:

@svij-sc svij-sc changed the title fix release [Update Deps] Fix Release Dec 13, 2025
1. Freeze (set explicit versions e.g. `my-lib==1.2.3`) versions of doc deps as version updates changes how the doc pages
are rendered, files are formatted, etc.
2. Freeze versions for deps that don't do a great job of maintaining in their wheels what libs / libraries they are
compatible with - this is a problem with packages like tensorflow.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

formatting - realize I forgot to do this in prior PR and merge to main will fail otherwise.

ref: ${{ needs.bump_version.outputs.release_branch_name }}

- name: Setup Machine for release
uses: snapchat/gigl/.github/actions/setup-python-tools@main
Copy link
Collaborator

Choose a reason for hiding this comment

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

are we planning on reverting these before submitting?

Copy link
Collaborator Author

@svij-sc svij-sc Dec 15, 2025

Choose a reason for hiding this comment

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

No,

#414 (comment)

Post Merge:
Things that will need to be done after PR is merged in

  • Github action workflows comment - Cannot test till merged.
  • Post PR merge we will need to update back ./.github/actions/setup-python-tools --> snapchat/gigl/.github/actions/setup-python-tools@main
  • Formal release of gigl v0.1.0

Copy link
Collaborator

Choose a reason for hiding this comment

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

Once the PR is merged in these changes aren't needed anymore right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

correct, plan is to follow up reverting:

Post PR merge we will need to update back ./.github/actions/setup-python-tools --> snapchat/gigl/.github/actions/setup-python-tools@main

make push_dev_workbench_docker_image
service_account: ${{ secrets.gcp_service_account_email }}
project: ${{ vars.GCP_PROJECT_ID }}
# TODO: (svij) Let's deprecate this as no one uses it beyond it being used for the TUT.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not just delete?

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 can, if folks are okay with it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

yeah let's remove

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

actually let me do it as a follow up as to completely deprecate this is a wider change.
Commenting here prevents failures but removing all references is a 5+ file change reserved for a seperate PR.

conda create -y --override-channels --channel conda-forge --name gigl python=3.9
conda activate gigl
```
1. Create a python virtual environment w/ `python==3.11.*`
Copy link
Collaborator

Choose a reason for hiding this comment

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

This doesn't really explain much, if we want people to use UV, should we just say what UV command to run?

Aren't "virtual envs" abstracted away from users now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is public documentation. We are not constrained to people using conda anymore.
They should be able to use whatever they want to generate their python virtual env i.e. virtualenv, conda, uv, etc.

For dev purposes we can maintain seperate documentation.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd say it's best to provide some recommendation that works for us, e.x. uv it'll make getting started easier

Copy link
Collaborator Author

@svij-sc svij-sc Dec 15, 2025

Choose a reason for hiding this comment

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

Sure, I can do this as a follow up as the best way is a little more involved.
Specifically, I think providing a template pyproject.toml for uv will be more helpful.

#422

pip install "gigl[torch25-cuda-121,transform]==0.0.9" \
--index-url=https://us-central1-python.pkg.dev/external-snap-ci-github-gigl/gigl/simple/ \
--extra-index-url=https://pypi.org/simple
pip install "gigl[pyg27-torch28-cu128, transform]==0.1.0" \
Copy link
Collaborator

Choose a reason for hiding this comment

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

pip uv now right? ditto later

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason there aren't new releases in this PR as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will be done after so we have a clean release of what is in main.
#414 (comment)

Post Merge:
Things that will need to be done after PR is merged in

  • Github action workflows comment - Cannot test till merged.
  • Post PR merge we will need to update back ./.github/actions/setup-python-tools --> snapchat/gigl/.github/actions/setup-python-tools@main
  • Formal release of gigl v0.1.0

Test releases were done here:
#418 (comment)

Testing Plan:

Ran nightly release + api test here: https://github.com/Snapchat/GiGL/actions/runs/20198180696/job/57985597587
Released an actual wheel and subsequently installed it locally to validate it works here: https://github.com/Snapchat/GiGL/actions/runs/20198990587/job/57987110578

make push_dev_workbench_docker_image
service_account: ${{ secrets.gcp_service_account_email }}
project: ${{ vars.GCP_PROJECT_ID }}
# TODO: (svij) Let's deprecate this as no one uses it beyond it being used for the TUT.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If we choose not to deprecate this - it will induce extra work in fixing this - which I am unsure if valuable.

- bump_version
- release_gigl_kfp_pipeline
- release_dev_workbench_image
# - release_dev_workbench_image
Copy link
Collaborator

@yliu2-sc yliu2-sc Dec 15, 2025

Choose a reason for hiding this comment

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

We can delete here too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

actually did it as a separate change since its a bit big to delete everything.

@svij-sc svij-sc marked this pull request as ready for review December 16, 2025 23:00
@svij-sc svij-sc merged commit 16ccf94 into svij/feature-uv-update-deps Dec 16, 2025
6 checks passed
@svij-sc svij-sc deleted the svij/release-fix branch December 16, 2025 23:00
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