Skip to content

Update release configuration -use flit for pulishing#738

Merged
shemogumbe merged 15 commits intomainfrom
shem/update_release_configurations_use_flint
Jun 12, 2024
Merged

Update release configuration -use flit for pulishing#738
shemogumbe merged 15 commits intomainfrom
shem/update_release_configurations_use_flint

Conversation

@shemogumbe
Copy link
Contributor

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

-Update publishing tool from python build to flit.

@shemogumbe shemogumbe requested a review from a team as a code owner June 4, 2024 08:37
Copy link
Contributor

@andrueastman andrueastman left a comment

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
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
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
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

shemogumbe and others added 4 commits June 5, 2024 11:52
Co-authored-by: Andrew Omondi <andrueastman@users.noreply.github.com>
….com:microsoftgraph/msgraph-sdk-python into shem/update_release_configurations_use_flint
andrueastman
andrueastman previously approved these changes Jun 5, 2024
Copy link
Contributor

@samwelkanda samwelkanda left a comment

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
Contributor

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

@shemogumbe shemogumbe enabled auto-merge June 5, 2024 17:34
@baywet
Copy link
Member

baywet commented Jun 12, 2024

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

@shemogumbe shemogumbe requested a review from baywet June 12, 2024 11:48
@baywet
Copy link
Member

baywet commented Jun 12, 2024

again @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 shemogumbe merged commit f15da30 into main Jun 12, 2024
@shemogumbe 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