Skip to content

Relax pyproject.toml requirements? #268

Description

@oneorseveralcats

Would it be possible to switch the == to >= in pyproject.toml?

I'm considering packaging python-libzim for nixpkgs, because pyglossary depends on it for zim input. The only thing is the dependencies in pyproject.toml necessitating an exact version (==) has made trying to package it not really work. I have issues with trying to do the current version because it requires package versions that are newer than in nixpkgs.

I switched to trying to package a previous point release version (3.11.0), so that I can test the package I'm writing for build errors but I get version errors:

 > ERROR Unmet dependencies (checked against /nix/store/d64q19q1xjdwfhqx6czvrjgrhq0n3lcc-python3-3.14.7/bin/python3.14):
>        cython==3.2.4
>           wanted: ==3.2.4
>                 found: 3.2.5
>    setuptools==82.0.1
>              wanted: ==82.0.1
>                found: 83.0.0

I knew that python-libzim was probably packaged in either arch or the aur and looked at the package build and the packager there just uses sed to replace == with >= in their PKGBUILD. (here)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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