Skip to content

Add Version Constraint Resolution in fpm #1117

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

Open
hridyasadanand opened this issue Mar 30, 2025 · 0 comments
Open

Add Version Constraint Resolution in fpm #1117

hridyasadanand opened this issue Mar 30, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@hridyasadanand
Copy link

Description

Feature Request: Add Version Constraint Resolution in fpm

Description:

  • Problem: Currently, fpm does not allow users to specify version constraints for dependencies. This can cause compatibility issues when different versions of dependencies are required for various projects.
  • Proposed Solution: Introduce version constraints in the fpm.toml configuration file. This would allow users to specify which versions of dependencies they want to use (e.g., >=1.2.0, <=2.0.0, or =1.5.0).
  • Example Usage:
    [dependencies]
    dependency1 = ">=1.2.0"
    dependency2 = "=2.0.0"

Why this is important:

  • Ensures that fpm projects are compatible with the correct versions of their dependencies.
  • Helps developers avoid breaking changes caused by incompatible versions of dependencies.

Next Steps:

  • Community discussion to confirm the design and implementation steps.

Possible Solution

No response

Additional Information

No response

@hridyasadanand hridyasadanand added the enhancement New feature or request label Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant