Skip to content

Conversation

@SageCreations
Copy link
Member

fixed the imports not being relative. When I downloaded the new release to test, it threw module not found errors even though the files themselves were there. I've tested this build locally this time, through pip and it worked fine now.

@AlbertShown
Copy link
Member

AlbertShown commented Feb 12, 2025

Thank you for the fix.
To create a new PyPi version and test it:

  1. Goto https://github.com/webui-dev/python-webui/releases/new
  2. Create new tag 2.5.1
  3. Title Python WebUI v2.5.1
  4. Check Set as the latest release
  5. Click on Publish release

After a few minutes, the Workflow will automatically update the PyPi package.

@SageCreations SageCreations merged commit 7fdb4b0 into main Feb 12, 2025
@SageCreations
Copy link
Member Author

Its up now and works, just tested in a new project. Many thanks @AlbertShown !!

For future Reference though, the action will fail if the .toml file is not updated to reflect the new version. If it matches the previous version the upload will fail stating that it has already been uploaded, etc. Just found that out haha.

@AlbertShown
Copy link
Member

Oh! yeah! sorry, I forget to mention that we need to replace all 2.5.x text in the whole repo with new version 2.5.y before creating the new release.

@AlbertShown
Copy link
Member

I updated the texts.
14fa456

@SageCreations
Copy link
Member Author

Is there any way to remove a package release off of PyPi? The 2.5.0 release doesn't work when using pip to install it, wouldn't want someone to specifically install that version without knowing that.

@AlbertShown
Copy link
Member

Is there any way to remove a package release off of PyPi?

Done.

https://pypi.org/project/webui2/#history

@SageCreations SageCreations deleted the import_error branch February 18, 2025 23:11
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.

3 participants