Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cpu/python-efuns
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ldmud/python-efuns
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 5 files changed
  • 2 contributors

Commits on Feb 10, 2025

  1. startup: remove unused sys import

    cpu committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    0cbd875 View commit details
    Browse the repository at this point in the history
  2. lift out shared config helper

    Reduce a bit of duplication by lifting out a `get_config()`
    helper function to a new `internal` package.
    cpu committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    0b12222 View commit details
    Browse the repository at this point in the history
  3. lift out registration types helper

    Removes some duplication between `startup.py` and `reload.py` with
    respect to processing the config for `ep_types`.
    cpu committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    32eae23 View commit details
    Browse the repository at this point in the history
  4. lift out entrypoints helper, metadata import

    This centralizes the handling of importing the correct `importlib`
    metadata, and the logic for finding the entry points for a specific
    entrypoint group name.
    cpu committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    9f81b43 View commit details
    Browse the repository at this point in the history
  5. fix compatibility w/ python 3.12 & modern importlib

    Quoting the upstream docs:
    > Changed in version 3.12: The “selectable” entry points were introduced
    > in importlib_metadata 3.6 and Python 3.10. Prior to those changes,
    > entry_points accepted no parameters and always returned a dictionary of
    > entry points, keyed by group. With importlib_metadata 5.0 and Python
    > 3.12, entry_points always returns an EntryPoints object.
    
    Rather than try to gate the updated logic on both the `importlib`
    version and the Python version we instead update `get_entry_points()` to
    check whether it has a `dict` or not after calling `entry_points()` and
    act accordingly.
    cpu committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    f117bf9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ldmud#2 from cpu/cpu-importlib-3.12-fix

    importlib_metadata 3.6 and Python 3.12 compat fix
    amotzkau authored Feb 10, 2025
    Configuration menu
    Copy the full SHA
    4bb1f15 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    55fb7ea View commit details
    Browse the repository at this point in the history
Loading