sadpandajoe opened a new pull request, #34872:
URL: https://github.com/apache/superset/pull/34872

   <!---
   Please write the PR title following the conventions at 
https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   Updates the dependency specification for apache-superset-core from `>=0.0.1, 
<0.2` to `>=0.0.1rc1, <0.2` to fix pip installation failures. This change 
aligns the local development environment with the PyPI published version while 
maintaining forward compatibility.
   
   **Problem**
   The Superset build was failing with:
   
   >   ERROR: Could not find a version that satisfies the requirement
   >   apache-superset-core<0.2,>=0.0.1
   >   ERROR: No matching distribution found for
   >   apache-superset-core<0.2,>=0.0.1
   
   This prevented both local development (pip install -e .) and CI/CD pipelines 
from working.
   
   **Root Cause**
   PR #34867 changed the apache-superset-core version from 0.0.1 to 0.0.1rc1 
and published it to PyPI. However, the main project's dependency specification 
still required >=0.0.1, <0.2, and pip doesn't consider pre-release versions 
(rc1) when resolving >=0.0.1 requirements by default.
   
   **Solution**
   Update dependency specification (over reverting version)
   
   Why this approach:
   - ✅ Maintains PyPI consistency - Both packages are published to PyPI as 
0.0.1rc1
   - ✅ Respects release process - The team intentionally published rc1 for 
testing
   - ✅ Forward compatible - Works with both rc1 and future 0.0.1 stable
   - ✅ Minimal change - One line fix with no infrastructure impact
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   - ✅ Verified pip install -e . works successfully
   - ✅ Confirmed apache-superset-core-0.0.1rc1 installs correctly
   - ✅ Local path dependency resolution working properly
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to