Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PACK] Rename cloud SDK package name when importing (#344) #71

Merged
merged 18 commits into from
Apr 20, 2023

Conversation

Mildophin
Copy link
Collaborator

Let me know if you have an idea about how to change the lib name on pypi !

@HGSilveri
Copy link
Contributor

Let me know if you have an idea about how to change the lib name on pypi !

Hey @Mildophin! You can't actually rename the PyPI registry, a new one under pasqal-cloud will inevitably be initiated.

Nonetheless, here are is a template with a few steps you can follow to mitigate the impact of this change: https://github.com/simonw/pypi-rename

README.md Outdated Show resolved Hide resolved
pasqal_cloud/_version.py Outdated Show resolved Hide resolved
pasqal_cloud/batch.py Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
@Mildophin Mildophin changed the title [PACK] - Rename cloud SDK package name when importing (#344) [PACK] Rename cloud SDK package name when importing (#344) Apr 12, 2023
cloud-sdk/README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@MatthieuMoreau0 MatthieuMoreau0 left a comment

Choose a reason for hiding this comment

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

LGTM for the most part. Two small things I'm wondering about:

  • Did we create a new pypi package yet ? Do we need to set new credentials for the github actions ?
  • We still need to rename the github repo, do you have a clear plan for that ?

CHANGELOG.md Show resolved Hide resolved
tests/test_cloud_sdk_import.py Show resolved Hide resolved
tests/test_cloud_sdk_import.py Outdated Show resolved Hide resolved
sdk/device/__init__.py Outdated Show resolved Hide resolved
@Mildophin Mildophin force-pushed the mv/rename-sdk-import branch 2 times, most recently from 6844e74 to 7b0ef16 Compare April 18, 2023 11:57
@Mildophin Mildophin force-pushed the mv/rename-sdk-import branch 2 times, most recently from 93447db to 9a6af0e Compare April 19, 2023 11:24
Copy link
Collaborator

@Augustinio Augustinio left a comment

Choose a reason for hiding this comment

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

Couple minor things to fix.
Also should we bump the minor on this? Or is it ok since we're backwards compatible?

CHANGELOG.md Outdated Show resolved Hide resolved
pasqal_cloud/device/__init__.py Outdated Show resolved Hide resolved
sdk/device/configuration/__init__.py Outdated Show resolved Hide resolved
@Mildophin
Copy link
Collaborator Author

As it is backward compatible if we follow the rules it seems fine to declare it as a patch and actually as your previous commit is a breaking change, the 0.2.1 makes sense for my MR

Copy link
Collaborator

@MatthieuMoreau0 MatthieuMoreau0 left a comment

Choose a reason for hiding this comment

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

LGTM, we'll rename the github repo right after this is merged

@Mildophin Mildophin merged commit b222720 into dev Apr 20, 2023
@Mildophin Mildophin deleted the mv/rename-sdk-import branch April 20, 2023 08:54
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.

5 participants