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: netaddr/netaddr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.1
Choose a base ref
...
head repository: netaddr/netaddr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.3.0
Choose a head ref
  • 15 commits
  • 16 files changed
  • 4 contributors

Commits on Feb 18, 2024

  1. Update github actions (#373)

    ... to resolve the following warnings.
    
    Node.js 16 actions are deprecated. Please update the following actions
    to use Node.js 20: actions/checkout@v2, actions/setup-python@v4,
    codecov/codecov-action@v1. For more information see: ...
    
    The following actions uses node12 which is deprecated and will be
    forced to run on node16: actions/checkout@v2,
    codecov/codecov-action@v1. For more info: ...
    kajinamit authored Feb 18, 2024
    Configuration menu
    Copy the full SHA
    050c63e View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

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

Commits on May 20, 2024

  1. Drop Python 3.7 from CI (#385)

    It seems that there's no longer Python 3.7 available for the test runs
    in CI[1]:
    
        Run actions/setup-python@v5
        Installed versions
          Version 3.7 was not found in the local cache
          Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.4.1.
          The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
    
    This change is not dropping support for Python 3.7 yet, we just can't
    test with it anymore using GH Actions.
    
    [1] https://github.com/netaddr/netaddr/actions/runs/9165981748/job/25200497622
    jstasiak authored May 20, 2024
    Configuration menu
    Copy the full SHA
    bccfa10 View commit details
    Browse the repository at this point in the history
  2. Fix IPv6 parsing with ZEROFILL enabled (#384)

    It was a regression, affected IPAddress.
    
    Fixes: d39b7d1 ("Handle IP parsing errors more precisely")
    Resolves: #383
    jstasiak authored May 20, 2024
    Configuration menu
    Copy the full SHA
    75dfc48 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Fix running the test suite on musl systems (#387)

    musl's inet_ntop doesn't format IPv4-compatible IPv6 addresses in any
    special way and there's no dot notation in the output there.
    
    We need to account for that.
    
    In doctests this is achieved by changing the examples or, where not
    applicable, disabling them.
    
    In more standard test code we simply made a few tests conditional.
    
    Resolves: #381
    jstasiak authored May 26, 2024
    Configuration menu
    Copy the full SHA
    f630cff View commit details
    Browse the repository at this point in the history
  2. Fix some IPv4-compatible/IPv4-mapped documentation mistakes

    The names were swapped.
    jstasiak committed May 26, 2024
    Configuration menu
    Copy the full SHA
    7347c71 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. IPNetwork: Allow partial addresses (again) (#377)

    This introduces the new expand argument to IPNetwork class, so that
    users can retain the previous behavior of netaddr < 1.0.0 optionally.
    
    >>> import netaddr
    >>> netaddr.IPNetwork('10/8')
    Traceback (most recent call last):
      File "/home/tkajinam/git/python/netaddr/netaddr/strategy/ipv4.py", line 126, in str_to_int
        packed = _inet_pton(AF_INET, addr)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
    OSError: illegal IP address string passed to inet_pton
    
    ...
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/tkajinam/git/python/netaddr/netaddr/ip/__init__.py", line 1035, in __init__
        raise AddrFormatError('invalid IPNetwork %s' % (addr,))
    netaddr.core.AddrFormatError: invalid IPNetwork 10/8
    >>> netaddr.IPNetwork('10/8', partial=True)
    IPNetwork('10.0.0.0/8')
    kajinamit authored May 27, 2024
    Configuration menu
    Copy the full SHA
    d2f5d05 View commit details
    Browse the repository at this point in the history
  2. Bump idna from 3.6 to 3.7 in /docs (#379)

    Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
    - [Release notes](https://github.com/kjd/idna/releases)
    - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
    - [Commits](kjd/idna@v3.6...v3.7)
    
    ---
    updated-dependencies:
    - dependency-name: idna
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 27, 2024
    Configuration menu
    Copy the full SHA
    9561d22 View commit details
    Browse the repository at this point in the history
  3. Bump jinja2 from 3.1.3 to 3.1.4 in /docs (#382)

    Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
    - [Release notes](https://github.com/pallets/jinja/releases)
    - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
    - [Commits](pallets/jinja@3.1.3...3.1.4)
    
    ---
    updated-dependencies:
    - dependency-name: jinja2
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 27, 2024
    Configuration menu
    Copy the full SHA
    39d255a View commit details
    Browse the repository at this point in the history
  4. Bump requests from 2.31.0 to 2.32.2 in /docs (#388)

    Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
    - [Release notes](https://github.com/psf/requests/releases)
    - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
    - [Commits](psf/requests@v2.31.0...v2.32.2)
    
    ---
    updated-dependencies:
    - dependency-name: requests
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 27, 2024
    Configuration menu
    Copy the full SHA
    860bb0c View commit details
    Browse the repository at this point in the history
  5. Synchronize docs/requirements.txt with poetry.lock

    We have a slightly unusual setup in which we use Poetry to define/manage
    dependencies but still export to requirements.txt for ReadTheDocs
    installation.
    
    There have been a few dependency updates and this file should match
    them.
    jstasiak committed May 27, 2024
    Configuration menu
    Copy the full SHA
    c20b9c5 View commit details
    Browse the repository at this point in the history
  6. Tune the partial network expansion flag

    The flag has been introduced in [1].
    
    I think it improves things a little for the flag's name to be more
    verbose and to require passing it via keyword arguments (otherwise it's
    just True or False which is gonna be quite opaque to the reader).
    
    [1] d2f5d05 ("IPNetwork: Allow partial addresses (again) (#377)")
    jstasiak committed May 27, 2024
    Configuration menu
    Copy the full SHA
    88b9455 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    77c0075 View commit details
    Browse the repository at this point in the history
  2. Release version 1.3.0

    jstasiak committed May 28, 2024
    Configuration menu
    Copy the full SHA
    75360b1 View commit details
    Browse the repository at this point in the history
  3. Bump the package version in the documentation to 1.3.0

    I forgot to do that in [1].
    
    [1] 75360b1 ("Release version 1.3.0")
    jstasiak committed May 28, 2024
    Configuration menu
    Copy the full SHA
    85a7b25 View commit details
    Browse the repository at this point in the history
Loading