Update project name to shifter-toolkit for PyPI compatibility #2

Merged
zZedix merged 1 commit from pypi into main 2025-10-12 10:14:58 -04:00
zZedix commented 2025-10-12 10:12:14 -04:00 (Migrated from github.com)
  • Change package name from 'shifter' to 'shifter-toolkit' to avoid naming conflict
  • Update entry point from 'shifter' to 'shifter-toolkit'
  • Remove invalid classifier 'Framework :: AIOHTTP'
  • Successfully uploaded to PyPI as shifter-toolkit v0.1.0
- Change package name from 'shifter' to 'shifter-toolkit' to avoid naming conflict - Update entry point from 'shifter' to 'shifter-toolkit' - Remove invalid classifier 'Framework :: AIOHTTP' - Successfully uploaded to PyPI as shifter-toolkit v0.1.0
cursor[bot] (Migrated from github.com) reviewed 2025-10-12 10:13:55 -04:00
cursor[bot] (Migrated from github.com) left a comment

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

### This PR is being reviewed by Cursor Bugbot <details> <summary>Details</summary> You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle. To receive Bugbot reviews on all of your PRs, visit the [Cursor dashboard](https://www.cursor.com/dashboard?tab=bugbot) to activate Pro and start your 14-day free trial. </details>
@ -0,0 +7,4 @@
__all__ = ["__version__"]
try:
__version__ = metadata.version("shifter")
cursor[bot] (Migrated from github.com) commented 2025-10-12 10:13:55 -04:00

Bug: Version Lookup Fails Due to Naming Mismatch

The __version__ lookup uses metadata.version("shifter"), but the package name was updated to "shifter-toolkit" in pyproject.toml. This mismatch causes a PackageNotFoundError, leading the version to incorrectly default to "0.0.0" instead of the actual installed version.

Fix in Cursor Fix in Web

### Bug: Version Lookup Fails Due to Naming Mismatch <!-- **Medium Severity** --> <!-- DESCRIPTION START --> The `__version__` lookup uses `metadata.version("shifter")`, but the package name was updated to "shifter-toolkit" in `pyproject.toml`. This mismatch causes a `PackageNotFoundError`, leading the version to incorrectly default to "0.0.0" instead of the actual installed version. <!-- DESCRIPTION END --> <!-- LOCATIONS START src/shifter/__init__.py#L9-L10 LOCATIONS END --> <a href="https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MSJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmUzMjNmNDllLThmNmMtNDJlYS1hMjI5LWMzNDA1N2VmOTRmMCIsImVuY3J5cHRpb25LZXkiOiI3TkhXN1dlYkdVYUF2eFVENGZJaEJPSWNFQ0syT19OODdvRXJtNnRDdldjIiwiYnJhbmNoIjoicHlwaSJ9LCJpYXQiOjE3NjAyNzg0MzQsImV4cCI6MTc2MDg4MzIzNH0.VQb1XIaGCcB5VGmXsj6uvcVn7N2oWgS7xY4NzjNApb1Ulze5n7hM2Cb1Xuip_YyhKj4E7SLwdDVpGg1MY-90-2PJcL5KbOcLoaKIF_sIwXKOiY18nXsAXUT3_DnNvy89AucoLszeVmhd4135-NKaC8ls108_zZLsBgVnHKMHYn4iUaLYb9z31c9IXRLAeD3UXmWS06nouE_ir03xAMi4pFRtWKixRqEGtCj5ykRJLHG6CubvkY5u_eFnoeKTlsyQIKQNZNAD67IAVRlvxk3l-Yqm_lS2gjXl9W_lSsUc_T5FcOAFpl2QdaW8Uh27q8RwAODrxVLbdM6kGAF30kKiyg"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/fix-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/fix-in-cursor-light.svg"><img alt="Fix in Cursor" src="https://cursor.com/fix-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MSJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmUzMjNmNDllLThmNmMtNDJlYS1hMjI5LWMzNDA1N2VmOTRmMCIsImVuY3J5cHRpb25LZXkiOiI3TkhXN1dlYkdVYUF2eFVENGZJaEJPSWNFQ0syT19OODdvRXJtNnRDdldjIiwiYnJhbmNoIjoicHlwaSIsInJlcG9Pd25lciI6InpaZWRpeCIsInJlcG9OYW1lIjoiU2hpZnRlciIsInByTnVtYmVyIjoyLCJjb21taXRTaGEiOiJlY2IzNGE0ZWEwODg3Yzg0OGExMmNlZDU4OGNhODcwZTAzMmY2OTk3In0sImlhdCI6MTc2MDI3ODQzNCwiZXhwIjoxNzYwODgzMjM0fQ.kcEesDtjVJSS1vEOtPPoiXaEwYxU_cMDrfwjHKk2KYywgUMy61WG2m3e5dranBNwmyF3BJshVzN09MUYTw9HpprXSvFMRmBMyCdApm_-rDeW9RTaGTXyi_nsVd50ZxZfiy4nacdvT3q5UKqZYjLGf3UDiW8qCXeYEMIrBewfmb1czlmKbL-3No_P33KDwY1YJ3SlyKmMZToAu8Boz2DbdxxnFSzZx8jh54EcOzPOCByQvjivpfi3X60x-G0OWEuyuEKp_SuNbgALyrB9mnJ-p_sm7zfJuDIHObsWPhB3l8XV9n7Jr09eCMhifIh7l-04NSKQJUCwZA51cHyaT-baTg"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/fix-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/fix-in-web-light.svg"><img alt="Fix in Web" src="https://cursor.com/fix-in-web.svg"></picture></a>
Sign in to join this conversation.
No description provided.