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

v3.2.3 commits and release notes #1638

Merged
merged 33 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e3032d4
check and control reduceMemory and reduceTime in stream mode (#1635)
kdt3rd Feb 11, 2024
91092ce
install.rst - update $ to % in the example shell prompts (#1570)
ianianda Sep 25, 2023
0b6459b
fix typo in README.md (#1575)
barnabyrobson Oct 10, 2023
8c22329
python-wheels.yml - bumps cibuildwheel version (#1576)
barnabyrobson Oct 13, 2023
66737ab
python-wheels.yml - add arm64 builds for macOS (#1579)
barnabyrobson Oct 14, 2023
7693660
adding better error reporting for bin tests (#1578)
cdleu430 Oct 14, 2023
8c76e19
Add tests for the Header class. (#1577)
MrGlobby Oct 16, 2023
2d5032b
Fix issue with decompressing fp32 dwa files (#1591)
antond-weta Nov 10, 2023
26ee46d
Remove some dead code when writing (#1592)
kingsawyer Dec 10, 2023
ae414d6
add deep id/manifest tools and doc (#1595)
peterhillman Dec 18, 2023
ed651de
#1545 Fix formatting of sample exr file in OpenEXRFileLayout.rst - 3r…
annguyen-ilm Dec 18, 2023
ba6eeb7
Converting code-blocks to literalincludes in ReadingAndWritingImageFi…
MeghaS94 Dec 19, 2023
5db1dd9
Account for duplicate emails with .mailmap (#1597)
cary-ilm Dec 20, 2023
2d39353
Release notes and news for v2.5.10 (#1600)
cary-ilm Dec 20, 2023
6c55122
Bump skylib in workspace approach (#1605)
Vertexwahn Dec 31, 2023
b25ba52
CI/CD - Added Snyk C/C++ Scanning Job (#1608)
dealako Jan 10, 2024
58bf08b
Fix spelling of GitHub (#1615)
Vertexwahn Jan 22, 2024
bdd1dc1
Fix bswap on NetBSD (#1612)
cary-ilm Jan 22, 2024
c8f3e3d
Update MacPorts install instructions (#1611)
cary-ilm Jan 22, 2024
f1416aa
Support cmake config for libdeflate (#1613)
brechtvl Jan 22, 2024
44d4107
Add explanation of distinction between OpenEXR/OpenEXRCore to API sec…
cary-ilm Feb 2, 2024
bdd5130
Add a reference to building tools from source to the tools webpage. (…
cary-ilm Feb 2, 2024
fc743a1
Make 'Hello, World' example reader/writer downloadable (#1620)
cary-ilm Feb 2, 2024
3ba4b0e
Bazel support: Bump Imath to 3.1.10 (#1626)
Vertexwahn Feb 7, 2024
3caed0f
Document security expectations (#1623)
cary-ilm Feb 8, 2024
8ab95fb
Add uninstall target (#1624)
cary-ilm Feb 9, 2024
ef2abac
Remove snyk-scan-pr.yml (#1631)
cary-ilm Feb 9, 2024
037977c
Fix install of symlink (#1633)
cary-ilm Feb 10, 2024
f3b7435
adds a shortcut to avoid reconstructing every call (#1634)
kdt3rd Feb 11, 2024
c744514
Bump version for v3.2.3
cary-ilm Feb 12, 2024
0609408
Release notes for v3.2.3
cary-ilm Feb 12, 2024
231ab0b
Do synk scans weekly on Sunday mornings (#1636)
jmertic Feb 12, 2024
7d5ca5f
Build python wheels via scikit-build-core (#1629)
cary-ilm Feb 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.2
7.0.2
51 changes: 36 additions & 15 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1

- name: Mount Bazel cache
uses: actions/cache@v3
uses: actions/cache@v4.0.0
with:
path: "/home/runner/.cache/bazel"
key: bazel-ubuntu-22
Expand All @@ -57,19 +57,19 @@ jobs:
run: |
bazelisk build //...
bazelisk test //...
# Test bzlmod
bazelisk build --enable_bzlmod -- //...
bazelisk test --enable_bzlmod -- //...
# Test without bzlmod
bazelisk build --noenable_bzlmod -- //...
bazelisk test --noenable_bzlmod -- //...

build_and_test_windows:
name: Windows Server 2022 build <Visual Studio 2022>
runs-on: windows-2022

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1

- name: Mount Bazel cache
uses: actions/cache@v3
uses: actions/cache@v4.0.0
with:
path: "/home/runner/.cache/bazel"
key: bazel-windows-2022
Expand All @@ -78,19 +78,19 @@ jobs:
run: |
bazelisk build //...
bazelisk test //...
# Test bzlmod
bazelisk build --enable_bzlmod -- //...
bazelisk test --enable_bzlmod -- //...
# Test without bzlmod
bazelisk build --noenable_bzlmod -- //...
bazelisk test --noenable_bzlmod -- //...

build_and_test_macos:
name: macOS 13 Bazel build <Apple Clang14>
runs-on: macos-13

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1

- name: Mount Bazel cache
uses: actions/cache@v3
uses: actions/cache@v4.0.0
with:
path: "/home/runner/.cache/bazel"
key: bazel-macos-13
Expand All @@ -99,6 +99,27 @@ jobs:
run: |
bazelisk build //...
bazelisk test //...
# Test bzlmod
bazelisk build --enable_bzlmod -- //...
bazelisk test --enable_bzlmod -- //...
# Test without bzlmod
bazelisk build --noenable_bzlmod -- //...
bazelisk test --noenable_bzlmod -- //...

build_and_test_macos_M1:
name: macOS 14 Bazel build <Apple Clang14>
runs-on: macos-14

steps:
- uses: actions/checkout@v4.1.1

- name: Mount Bazel cache
uses: actions/cache@v4.0.0
with:
path: "/home/runner/.cache/bazel"
key: bazel-macos-14

- name: Build
run: |
bazelisk build //...
bazelisk test //...
# Test without bzlmod
bazelisk build --noenable_bzlmod -- //...
bazelisk test --noenable_bzlmod -- //...
10 changes: 5 additions & 5 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
- 'website/src/**'
- '!bazel/**'
- '!src/wrappers/**'
- '!.github/workflows/python-**.yml'
pull_request:
branches-ignore:
- RB-2.*
Expand All @@ -38,6 +39,7 @@ on:
- 'website/src/**'
- '!bazel/**'
- '!src/wrappers/**'
- '!.github/workflows/python-**.yml'

permissions:
contents: read
Expand Down Expand Up @@ -238,8 +240,8 @@ jobs:
run: yum install -y help2man
- name: Configure
run: |
cmake .. \
-DCMAKE_INSTALL_PREFIX=../_install \
cmake -B _build -S . \
-DCMAKE_INSTALL_PREFIX=_install \
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
-DCMAKE_CXX_STANDARD=${{ matrix.cxx-standard }} \
-DCMAKE_CXX_FLAGS=${{ matrix.cxx-flags }} \
Expand All @@ -249,13 +251,11 @@ jobs:
-DOPENEXR_INSTALL_DOCS='ON' \
-DOPENEXR_RUN_FUZZ_TESTS='OFF' \
-DOPENEXR_ENABLE_THREADING=${{ matrix.threads-enabled }}
working-directory: _build
- name: Build
run: |
cmake --build . \
cmake --build _build \
--target install \
--config ${{ matrix.build-type }}
working-directory: _build
- name: Validate
run: |
share/ci/scripts/linux/validate_openexr_libs.sh _install
Expand Down
102 changes: 102 additions & 0 deletions .github/workflows/python-wheels-publish-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

name: Publish python distribution 📦 to TestPyPI

on:

# Publish python wheels to test.pypi when a release candidate is tagged,
# e.g. v3.4.5-rc, v3.4.5-rc6, etc.

push:
tags:
- v3.[0-9]+.[0-9]+-rc*
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Python Wheels - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

environment:
name: testpypi
url: https://test.pypi.org/p/openexr

permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Create sdist
# Only create it once.
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pipx run build --sdist . --outdir wheelhouse

- name: Build wheel
uses: pypa/cibuildwheel@v2.16
with:
output-dir: wheelhouse
env:
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
# Skip python 3.6 since scikit-build-core requires 3.7+
# Skip 32-bit wheels builds on Windows
# Also skip the PyPy builds, since they fail the unit tests
CIBW_SKIP: cp36-* *-win32 *_i686 pp*
CIBW_TEST_SKIP: "*-macosx_universal2:arm64"
CIBW_ENVIRONMENT: OPENEXR_RELEASE_CANDIDATE_TAG="${{ github.ref_name }}"

- name: Upload artifact
uses: actions/upload-artifact@v4.0.0
with:
name: wheels-${{ matrix.os }}
path: |
./wheelhouse/*.whl
./wheelhouse/*.tar.gz

publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/openexr

permissions:
id-token: write

steps:
- name: Download Linux artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-ubuntu-latest
path: dist
- name: Download macOS artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-macos-latest
path: dist
- name: Download Windows artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-windows-latest
path: dist
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
96 changes: 96 additions & 0 deletions .github/workflows/python-wheels-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

name: Publish python distribution 📦 to PyPI

on:
# Publish wheels to pypi on release
release:
types: [published]
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Python Wheels - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

environment:
name: pypi
url: https://pypi.org/p/openexr

permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Create sdist
# Only create it once.
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pipx run build --sdist . --outdir wheelhouse

- name: Build wheel
uses: pypa/cibuildwheel@v2.16
with:
output-dir: wheelhouse
env:
CIBW_BUILD: cp312-*
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
# Skip python 3.6 since scikit-build-core requires 3.7+
# Skip 32-bit wheels builds on Windows
# Also skip the PyPy builds, since they fail the unit tests
CIBW_SKIP: cp36-* *-win32 *_i686 pp*
CIBW_TEST_SKIP: "*arm64"

- name: Upload artifact
uses: actions/upload-artifact@v4.0.0
with:
name: wheels-${{ matrix.os }}
path: |
./wheelhouse/*.whl
./wheelhouse/*.tar.gz

publish-to-pypi:
name: Publish Python 🐍 distribution 📦 to PyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/openexr

permissions:
id-token: write

steps:
- name: Download Linux artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-ubuntu-latest
path: dist
- name: Download macOS artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-macos-latest
path: dist
- name: Download Windows artifacts
uses: actions/download-artifact@v4.0.0
with:
name: wheels-windows-latest
path: dist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading
Loading