← 输入框|github.com|刷新
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: sqlobject/py-postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: python-postgres/fe
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
  • 7 files changed
  • 2 contributors

Commits on Mar 9, 2025

  1. Configuration menu
    Copy the full SHA
    6ce9885 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2025

  1. RTD moved to .readthedocs.yml

    jwp committed Mar 16, 2025
    Configuration menu
    Copy the full SHA
    f71e4b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2026

  1. Replace pkgutil.get_loader for 3.14.

    pkgutil.get_loader was deprecated in Python 3.12 and removed in 3.14,
    so importing postgresql.python.command (and with it pg_python) fails
    with ImportError on 3.14. Resolve the loader with
    importlib.util.find_spec instead, which is available on every
    supported version.
    pattems committed Oct 13, 2026
    Configuration menu
    Copy the full SHA
    cd6ff46 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. Always set __version__; fixes pg_dotconf import.

    project.py no longer defines author or date, so the combined import
    from .project raised ImportError after binding version and before
    __version__ was assigned. The error was swallowed, leaving the package
    without __version__ and breaking "from postgresql import *" (__all__
    lists __author__ and __date__) and postgresql.bin.pg_dotconf, which
    does "from .. import __version__".
    
    Import only version_info and version, assign __version__ outside the
    try, and drop __author__ and __date__ from __all__.
    pattems committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    4ae3746 View commit details
    Browse the repository at this point in the history
  2. Fix pg_dotconf -f/--file.

    The settings-file loop referenced the undefined names comment and
    unquote (NameError) instead of configfile.comment and
    configfile.unquote, and it tested the first character of the key
    rather than the text before it, so commented-out settings in the file
    would have been applied. Check line[:start], as alter_config() does.
    pattems committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    b8c39af View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2026

  1. Merge pull request python-postgres#130 from pattems/py313-replace-pkg…

    …util-get-loader-for-3-14
    
    - Correct bit rot from a code move in pg_dotconf. (-f settings copies were broken for some time)
    - Update module loader (-m) in pg_python for 3.14 and beyond. (Use importlib.util.find_spec)
    - Correct data imports from postgresql.project in postgresql.__init__. (versions)
    jwp authored Oct 31, 2026
    Configuration menu
    Copy the full SHA
    ee2e380 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2026

  1. Update patch level.

    jwp committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    341f7f8 View commit details
    Browse the repository at this point in the history
Loading