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

Switch dynamic version handling from pkg_resources (in setuptools) to packaging #229

Merged

Commits on Jan 9, 2024

  1. Switch dynamic version handling from pkg_resources (in setuptools) to…

    … packaging
    
    This fixes following `ModuleNotFoundError` resulting from missing
    dependency on setuptools:
    
        % rye add pygrib --path /path/to/repo
        % rye sync
        % rye run python -c 'import pygrib'
        ModuleNotFoundError: No module named 'pkg_resources'
    
    In the executable code of pygrib, setuptools is only used for version
    comparison purposes, and since setuptools is larger than necessary, this
    commit replaces it with packaging, which is a more compact module
    containing reusable core utilities for Python packaging compliant with
    recent PEPs.
    noritada committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    d146001 View commit details
    Browse the repository at this point in the history