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

Run as 'Tool' rather than a Dependency #136

Open
KyleKing opened this issue Dec 13, 2024 · 0 comments
Open

Run as 'Tool' rather than a Dependency #136

KyleKing opened this issue Dec 13, 2024 · 0 comments
Assignees

Comments

@KyleKing
Copy link
Owner

Describe the solution you'd like

Instead of adding calcipy as a dependency, refactor to run calcipy as a tool with uvx, pipx, etc.

Is your feature request related to a problem? Please describe.

  1. There can be dependency conflicts that complicate or prevent install
  2. Taking the approach of running calcipy as a tool will lead to more generic tasks
  3. calcipy can drop support for older versions of Python at EOL (https://endoflife.date/python) because the Python tool is installed separately of the code
  4. Switching to a tool design approach might help with adoption because there is
  5. calcipy can already be run as a tool for some, but not all tasks. Switching to a tool completely would remove ambiguity
  6. Could remove the complexity of managing extras when there is one global tool install and install size doesn't need to be optimized for

Caveats

  1. Not all tasks can be run from a tool and must be installed in the same environment
    • If dependencies need to be installed in the target environment, the best option would likely be nox
  2. Switching to a tool could impact per-directory version management if people aren't using asdf, mise, or similar, but installing calcipy into the .venv shouldn't make a difference
@KyleKing KyleKing self-assigned this Dec 13, 2024
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

No branches or pull requests

1 participant