Skip to content

Commit

Permalink
Changes to support Ubuntu 24.04
Browse files Browse the repository at this point in the history
Remove python3-binutils and replace with python3-setuptools. Update the
localcoords setup script for the change. Also update the CI configs to
use Ubuntu 24.04/pythony 3.12

Note: the localcoords script is trying to do a systemwide install of a
C++ module for use in python. This is probably not what's best for
OpenUxAS users.
  • Loading branch information
manthonyaiello committed May 30, 2024
1 parent 30e0933 commit a02784b
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/amase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
component: [amase]
qualifier: [scenario=release]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/infrastructure-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
runs-on: ${{ matrix.env.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
runs-on: ${{ matrix.env.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-lmcpgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
runs-on: ${{ matrix.env.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/uxas-ada.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
component: [uxas-ada]
qualifier: [scenario=release]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/uxas-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
component: [uxas]
qualifier: [scenario=release, scenario=gcov]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/uxas-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
{os: ubuntu-22.04, python: '3.10'},
{os: ubuntu-24.04, python: '3.12'}
]
runs-on: ${{ matrix.env.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/install-libexec/install-anod-venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"uuid-dev",
"libyaml-dev",
"python3-dev",
"python3-distutils",
"python3-setuptools",
"python3-venv",
"python3-pip",
# For a system-wide boost, we need these packages. Commented out until
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/Utilities/localcoords/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from distutils.core import setup, Extension
from setuptools import setup, Extension

module1 = Extension('LocalCoords',sources=['LocalCoordsModule.cpp',
'../UnitConversions.cpp'],
Expand Down

0 comments on commit a02784b

Please sign in to comment.