diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index d0894052..e43a0dcf 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -123,7 +123,7 @@ jobs: build-test: name: "Build and unit testing" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 needs: [smoke-tests] strategy: @@ -254,7 +254,7 @@ jobs: doc-build: name: "Doc building" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [doc-style] outputs: ANSYSMATH_VERSION: ${{ steps.version.outputs.ANSYSMATH_VERSION }} @@ -262,6 +262,7 @@ jobs: PYMAPDL_PORT: 21000 # default won't work on GitHub runners PYMAPDL_DB_PORT: 21001 # default won't work on GitHub runners PYMAPDL_START_INSTANCE: FALSE + LIBGL_ALWAYS_SOFTWARE: 1 steps: - name: "Install Git and checkout project" uses: actions/checkout@v4 diff --git a/LICENSE b/LICENSE index 46903eb5..3c96ad89 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +Copyright (c) 2023 - 2025 ANSYS, Inc. and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/doc/changelog.d/466.fixed.md b/doc/changelog.d/466.fixed.md new file mode 100644 index 00000000..a8481f95 --- /dev/null +++ b/doc/changelog.d/466.fixed.md @@ -0,0 +1 @@ +fix: avoid the usage of attrs 24.3.0 (temporary) \ No newline at end of file diff --git a/examples/ansys-math_vs_scipy.py b/examples/ansys-math_vs_scipy.py index bf5142b5..4bce6110 100644 --- a/examples/ansys-math_vs_scipy.py +++ b/examples/ansys-math_vs_scipy.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/basic_operations.py b/examples/basic_operations.py index ffb4d923..5005d498 100644 --- a/examples/basic_operations.py +++ b/examples/basic_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/eigen_solve.py b/examples/eigen_solve.py index ee73f99c..bbe212e4 100644 --- a/examples/eigen_solve.py +++ b/examples/eigen_solve.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/scipy_sparse_matrix.py b/examples/scipy_sparse_matrix.py index e481271f..69ab34a8 100644 --- a/examples/scipy_sparse_matrix.py +++ b/examples/scipy_sparse_matrix.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/solve_dense_matrix.py b/examples/solve_dense_matrix.py index e3bb4d0b..d7d6caa6 100644 --- a/examples/solve_dense_matrix.py +++ b/examples/solve_dense_matrix.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/solve_sparse_matrix.py b/examples/solve_sparse_matrix.py index c9887a35..8500e1c6 100644 --- a/examples/solve_sparse_matrix.py +++ b/examples/solve_sparse_matrix.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/use_numpy_arrays.py b/examples/use_numpy_arrays.py index 7fc924bf..63d1686c 100644 --- a/examples/use_numpy_arrays.py +++ b/examples/use_numpy_arrays.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/pyproject.toml b/pyproject.toml index f1835cef..f94bb874 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ dependencies = [ "pyansys-tools-versioning>=0.3.3", "numpy>=1.14.0", "scipy>=1.3.0", # for sparse (consider optional?) + "attrs<24.3.0", ] [project.optional-dependencies] diff --git a/src/ansys/math/core/__init__.py b/src/ansys/math/core/__init__.py index f1ed8562..5723c294 100644 --- a/src/ansys/math/core/__init__.py +++ b/src/ansys/math/core/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/math/core/math.py b/src/ansys/math/core/math.py index 59deada4..719c7f66 100644 --- a/src/ansys/math/core/math.py +++ b/src/ansys/math/core/math.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/conftest.py b/tests/conftest.py index ac113597..21f83a6b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_math.py b/tests/test_math.py index b1c17744..a8711ebe 100644 --- a/tests/test_math.py +++ b/tests/test_math.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # #