Skip to content

[FEATURE] Update CLI to support more modern python versions #89

@JoelMiller74

Description

@JoelMiller74

Use Case / Problem

Problem:
I recently had a specific use for Fabric CLI. I keep it up to date and know that I recently updated it. However, I ran the update again and it said it was already up to date. I started working away but it became more and more apparent that none of the documentation matched what I was seeing. After wasting several hours, I finally determined that even though I was on the latest version available , I was only on version 0.1.10! I tried updating again, uninstalling, clearing the cache, reinstalling with --no-cache-dir. I ran pip index versions ms-fabric-cli and it also confirmed that the newest version available was 0.1.10. Finally, after running pip install git+https://github.com/microsoft/fabric-cli.git@v1.2.0 I received a worthy error: ERROR: Package 'ms-fabric-cli' requires a different Python: 3.13.9 not in '<3.13,>=3.10'.
I had Python 3.13.9 installed because I needed it for some work in VSCode that I was doing. Fabric CLI required 3.10 to 3.12. Although, if I had a newer version installed, it would gladly install Fabric CLI version 0.1.10.
To work around this issue, I installed Python 3.12, created and activated an environment, and installed Fabric CLI 1.2.0 without an issue.
The next day, I opened the Microsoft Fabric Subreddit and someone else described the exact same issue as me.
Microsoft Fabric Subreddit - ms-fabric-cli version

Proposed Solution

Options to resolve (short-term, medium-term, and long-term)

  1. Update the documentation to call this issue out better and how to handle it.
  2. Make a patch update that will identify the issue above and not just install a very old version of Fabric CLI without notification, but provide a fatal error that the required Python version is not installed. Please do not just add a comment and install the old version. This is a CLI and I expect to install, update, and use this CLI in a very automated manner. I am OK with the update failing because of a missing pre-requisite, but I am not OK with an install of the CLI succeeding with a very old version and not letting anyone know.
  3. Add support for 3.13 and 3.14.
  • 3.14 is current LTS and used often.
  • 3.12 is stable and mature, but is not in active support.

Alternatives Considered

No response

Impact Assessment

  • This would help me personally
  • This would help my team/organization
  • This would help the broader fabric-cli community
  • This aligns with Microsoft Fabric roadmap items

Implementation Attestation

  • I understand this feature should maintain backward compatibility with existing commands
  • I confirm this feature request does not introduce performance regressions for existing workflows
  • I acknowledge that new features must follow fabric-cli's established patterns and conventions

Implementation Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions