Skip to content

Commit

Permalink
Merge pull request #209 from HexDecimal/release-0.11.0
Browse files Browse the repository at this point in the history
Release 0.11.0
  • Loading branch information
HexDecimal authored Mar 23, 2024
2 parents eed8f25 + 71ab9d0 commit 526cc49
Show file tree
Hide file tree
Showing 33 changed files with 36 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: fix-byte-order-marker
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.3.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ Andrew Murray
Tansy Arron <tansy.arron@gmail.com>
Cyrille Rossant
Philip Garnero <philip.garnero@gmail.com>
Grzegorz Bokota <bokota+github@gmail.com>
Jeremy Volkman <jeremy@jvolkman.com>
Matteo Cafasso <noxdafox@gmail.com>
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ rules on making a good Changelog.

## [Unreleased]

## [0.11.0] - 2024-03-22

### Added

- Use `--require-target-macos-version` or the `MACOSX_DEPLOYMENT_TARGET`
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014-2023, Matthew Brett and the Delocate contributors.
Copyright (c) 2014-2024, Matthew Brett and the Delocate contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
All functions in this module are private.
"""

from __future__ import annotations

import glob
Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_addplat.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
delocate-addplat -x 10_9 -x 10_10 *.whl
"""

# vim: ft=python
from __future__ import absolute_import, division, print_function

Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Overwrites the first wheel in-place by default.
"""

# vim: ft=python
from __future__ import absolute_import, division, print_function

Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_listdeps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
"""List library dependencies for libraries in path or wheel."""

# vim: ft=python
from __future__ import absolute_import, division, print_function

Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Overwrites the wheel in-place by default.
"""

# vim: ft=python
from __future__ import absolute_import, division, print_function

Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_path.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
"""Copy, relink library dependencies for libraries in path."""

# vim: ft=python
from __future__ import absolute_import, division, print_function

Expand Down
1 change: 1 addition & 0 deletions delocate/cmd/delocate_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Overwrites the wheel in-place by default.
"""

# vim: ft=python
from __future__ import annotations

Expand Down
1 change: 0 additions & 1 deletion delocate/fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
libraries.
"""


import os
import shutil
from os.path import abspath, exists, relpath, splitext
Expand Down
1 change: 1 addition & 0 deletions delocate/pkginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This is based on a copy of the old wheel.pkginfo module.
""" # noqa: E501

from email.generator import Generator
from email.message import Message
from email.parser import Parser
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Pytest configuration script."""

import os
from pathlib import Path
from typing import Iterator
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/env_tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Context managers for working with environment variables."""

import os
from contextlib import contextmanager
from typing import Iterator
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
the top-level folder ``scripts``. Otherwise try and get the scripts from the
path.
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/test_tmpdirs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test tmpdirs module."""

from __future__ import absolute_import, division, print_function

from os import getcwd
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/test_tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test tools module."""

from __future__ import division, print_function

import os
Expand Down
1 change: 1 addition & 0 deletions delocate/tests/test_wheelies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Direct tests of fixes to wheels."""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions delocate/tmpdirs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
"""Contexts for *with* statement providing temporary directories."""

from __future__ import absolute_import, division, print_function

import os
Expand Down
1 change: 1 addition & 0 deletions delocate/tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tools for getting and setting install names."""

from __future__ import annotations

import logging
Expand Down
6 changes: 2 additions & 4 deletions delocate/wheeltools.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ def add_platforms(
platforms: Iterable[str],
out_path: str,
clobber: bool = False,
) -> str:
...
) -> str: ...


@overload
Expand All @@ -185,8 +184,7 @@ def add_platforms(
platforms: Iterable[str],
out_path: None = None,
clobber: bool = False,
) -> None:
...
) -> None: ...


def add_platforms(
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
"""Setup script for delocate package."""

from os.path import join as pjoin

from setuptools import find_packages, setup
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg1/fakepkg1/tests/test_fakepkg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Local package tests."""

from delocate.tests.pytest_tools import assert_equal

from ..module1 import func1
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg1/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
fakepkg1 is a - fake package - that has extensions and links against an external
dynamic lib. We use it to build a wheel, then test we can delocate it.
"""

from os.path import abspath, dirname
from os.path import join as pjoin
from subprocess import check_call
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg2/fakepkg2/tests/test_fakepkg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Local package tests."""

from delocate.tests.pytest_tools import assert_equal

from ..module1 import func1
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
fakepkg2 is a - fake package - with Python only. We use it to build a wheel,
then test we can delocate it.
"""

from setuptools import setup

setup(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Local package tests."""

from namespace.subpkg.module2 import func2, func3 # type: ignore


Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg_namespace/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup a namespace package with an extension linked to an external library."""

import subprocess
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg_rpath/fakepkg/tests/test_fakepkg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Local package tests."""

from delocate.tests.pytest_tools import assert_equal

from ..module1 import func1
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg_rpath/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This fake package has an extension which links against a library using @rpath
in its install name. The library will also be signed with an ad-hoc signature.
"""

from os.path import abspath, dirname
from os.path import join as pjoin
from subprocess import check_call
Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg_toplevel/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup package with an extension linked to an external library."""

import subprocess
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions wheel_makers/fakepkg_toplevel/test_fakepkg_toplevel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test fake package."""

from module2 import func2, func3 # type: ignore


Expand Down

0 comments on commit 526cc49

Please sign in to comment.