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

Dont rely on the existence of "select" on entry points #1000

Merged
merged 2 commits into from
Jul 18, 2021
Merged

Commits on Jul 18, 2021

  1. FIX : Dont rely on the existence of select on entry points

    This commit adds a compatibility layer to the entry point code to handle
    the absence of the select method on entry points. Additionally, we now
    rely on the external importlib_metadata first and only if that is absent
    do we rely on importlib.metadata from the standard library
    
    	modified:   pyface/base_toolkit.py
    	modified:   pyface/tests/test_toolkit.py
    Poruri Sai Rahul committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    17245e5 View commit details
    Browse the repository at this point in the history
  2. REV : Revert switch to importlib_metadata and importlib.metadata imports

    and limit the dependency on external importlib_metadata to python < 3.8
    
    	modified:   pyface/__init__.py
    	modified:   pyface/base_toolkit.py
    	modified:   pyface/tests/test_toolkit.py
    Poruri Sai Rahul committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    839a2ea View commit details
    Browse the repository at this point in the history