Skip to content

Test minimal versions in CI #16

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

Merged
merged 1 commit into from
May 21, 2024
Merged

Test minimal versions in CI #16

merged 1 commit into from
May 21, 2024

Conversation

konstin
Copy link
Member

@konstin konstin commented May 21, 2024

Add testing for -Z minimal-versions in CI in preparation for #14.

This does not add -Zdirect-minimal-versions since it fails to resolve:

error: failed to select a version for `flate2`.
    ... required by package `zip v1.1.0`
    ... which satisfies dependency `zip = "^1.0.0"` of package `python-pkginfo v0.6.1 (/home/konsti/projects/python-pkginfo-rs)`
versions that meet the requirements `^1.0.28` are: 1.0.30, 1.0.29, 1.0.28

all possible versions conflict with previously selected packages.

  previously selected package `flate2 v1.0.20`
    ... which satisfies dependency `flate2 = "^1.0.20"` of package `python-pkginfo v0.6.1 (/home/konsti/projects/python-pkginfo-rs)`

failed to select a version for `flate2` which could resolve this conflict

It also does not test with all features, since pulling in the deprecated formats pulls in filetime 0.1.0 which fails to compile.

Add testing for `-Z minimal-versions` in CI.

This does not add `-Zdirect-minimal-versions` since it fails to resolve:

```
error: failed to select a version for `flate2`.
    ... required by package `zip v1.1.0`
    ... which satisfies dependency `zip = "^1.0.0"` of package `python-pkginfo v0.6.1 (/home/konsti/projects/python-pkginfo-rs)`
versions that meet the requirements `^1.0.28` are: 1.0.30, 1.0.29, 1.0.28

all possible versions conflict with previously selected packages.

  previously selected package `flate2 v1.0.20`
    ... which satisfies dependency `flate2 = "^1.0.20"` of package `python-pkginfo v0.6.1 (/home/konsti/projects/python-pkginfo-rs)`

failed to select a version for `flate2` which could resolve this conflict
```

It also does not test with all features, since pulling in the deprecated formats pulls in filetime 0.1.0 which fails to compile.
@konstin konstin merged commit eca3cb9 into main May 21, 2024
6 checks passed
@konstin konstin deleted the konsti/test-minimal-versions branch May 21, 2024 08:32
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

Successfully merging this pull request may close these issues.

1 participant