Skip to content

Update release configuration -use flit for pulishing - #738

Merged
Shem Ogumbe (shemogumbe) merged 15 commits into
mainfrom
shem/update_release_configurations_use_flint
Jun 12, 2024
Merged

Shem Ogumbe (shemogumbe) merged 15 commits into
mainfrom
shem/update_release_configurations_use_flint

Conversation

@shemogumbe

Copy link
Copy Markdown
Contributor

Closes microsoftgraph/msgraph-beta-sdk-python#412

-Update publishing tool from python build to flit.

@shemogumbe
Shem Ogumbe (shemogumbe) requested a review from a team as a code owner June 4, 2024 08:37

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this mean we can drop the version entry in the toml file as well?

@shemogumbe

Copy link
Copy Markdown
Contributor Author

Does this mean we can drop the version entry in the toml file as well?

In my view, Nope - the workflow is triggered when there is a new change, with a tag starting with v, we still need to ensure the toml entry for version matches the pushed tag

@andrueastman

Copy link
Copy Markdown
Contributor

I ask because the issue was created because the abstraction library does not have a version in the toml file.

https://github.com/microsoft/kiota-abstractions-python/blob/main/pyproject.toml

So, the change was to make it easier by only having to update the version in one place(which is at https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/msgraph/_version.py )

@shemogumbe

Copy link
Copy Markdown
Contributor Author

I ask because the issue was created because the abstraction library does not have a version in the toml file.

https://github.com/microsoft/kiota-abstractions-python/blob/main/pyproject.toml

So, the change was to make it easier by only having to update the version in one place(which is at https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/msgraph/_version.py )

Made changes to update version in toml based on the tag

@samwelkanda Samwel K. (samwelkanda) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since this issue was created with the goal of standardization, do we also plan to update the core libraries to use this format as well?

@andrueastman

Copy link
Copy Markdown
Contributor

I believe so, separate issue for core lib exists at microsoftgraph/msgraph-sdk-python-core#573 and is already assigned to Shem Ogumbe (@shemogumbe)

Comment thread .github/workflows/publish.yml Resolved
Comment thread .github/workflows/publish.yml Resolved
Comment thread .github/workflows/publish.yml Resolved
@baywet

Copy link
Copy Markdown
Member

getting there, I made my comments on the beta PR for some reason this time around...

@baywet

Copy link
Copy Markdown
Member

again Shem Ogumbe (@shemogumbe) please see the latest recommended changes there microsoftgraph/msgraph-beta-sdk-python#424, and once the updates are done in beta, replicate here.

….com:microsoftgraph/msgraph-sdk-python into shem/update_release_configurations_use_flint
@shemogumbe
Shem Ogumbe (shemogumbe) deleted the shem/update_release_configurations_use_flint branch June 12, 2024 13:56
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.

update repository configuration so version update is not required in toml

4 participants