From 2f8e2c81d3826b16573bf641ae134e0fa7c9219b Mon Sep 17 00:00:00 2001 From: Ian Simon Date: Wed, 22 May 2024 09:02:14 -0700 Subject: [PATCH] run build action in python 3.11 PiperOrigin-RevId: 636185887 --- .github/workflows/build.yaml | 4 ++-- mt3/__init__.py | 2 +- mt3/datasets.py | 2 +- mt3/event_codec.py | 2 +- mt3/event_codec_test.py | 2 +- mt3/inference.py | 2 +- mt3/layers.py | 2 +- mt3/layers_test.py | 2 +- mt3/metrics.py | 2 +- mt3/metrics_utils.py | 2 +- mt3/metrics_utils_test.py | 2 +- mt3/mixing.py | 2 +- mt3/models.py | 2 +- mt3/network.py | 2 +- mt3/note_sequences.py | 2 +- mt3/note_sequences_test.py | 2 +- mt3/preprocessors.py | 2 +- mt3/run_length_encoding.py | 2 +- mt3/run_length_encoding_test.py | 2 +- mt3/scripts/dump_task.py | 2 +- mt3/scripts/extract_monophonic_examples.py | 2 +- mt3/spectral_ops.py | 2 +- mt3/spectrograms.py | 2 +- mt3/summaries.py | 2 +- mt3/tasks.py | 2 +- mt3/version.py | 2 +- mt3/vocabularies.py | 2 +- mt3/vocabularies_test.py | 2 +- setup.py | 2 +- 29 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ef1453b..79c72b4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.8.x' + python-version: '3.11.x' - name: Install dependencies run: | sudo apt-get -y install libsndfile1-dev diff --git a/mt3/__init__.py b/mt3/__init__.py index 7a165ef..c1433e1 100644 --- a/mt3/__init__.py +++ b/mt3/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/datasets.py b/mt3/datasets.py index 82c07c5..1634af5 100644 --- a/mt3/datasets.py +++ b/mt3/datasets.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/event_codec.py b/mt3/event_codec.py index 77bb1ff..95fef1c 100644 --- a/mt3/event_codec.py +++ b/mt3/event_codec.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/event_codec_test.py b/mt3/event_codec_test.py index 5cfe3ea..d76332f 100644 --- a/mt3/event_codec_test.py +++ b/mt3/event_codec_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/inference.py b/mt3/inference.py index 49f4b58..56a5d01 100644 --- a/mt3/inference.py +++ b/mt3/inference.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/layers.py b/mt3/layers.py index 602ef92..49002d9 100644 --- a/mt3/layers.py +++ b/mt3/layers.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/layers_test.py b/mt3/layers_test.py index e774785..4d9310f 100644 --- a/mt3/layers_test.py +++ b/mt3/layers_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/metrics.py b/mt3/metrics.py index 76e4116..a906f4a 100644 --- a/mt3/metrics.py +++ b/mt3/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/metrics_utils.py b/mt3/metrics_utils.py index aef8702..551f588 100644 --- a/mt3/metrics_utils.py +++ b/mt3/metrics_utils.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/metrics_utils_test.py b/mt3/metrics_utils_test.py index 7dd120a..8fc538b 100644 --- a/mt3/metrics_utils_test.py +++ b/mt3/metrics_utils_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/mixing.py b/mt3/mixing.py index 8d2e658..12debe8 100644 --- a/mt3/mixing.py +++ b/mt3/mixing.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/models.py b/mt3/models.py index a796b7e..be0ec46 100644 --- a/mt3/models.py +++ b/mt3/models.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/network.py b/mt3/network.py index a1979d5..6930bfc 100644 --- a/mt3/network.py +++ b/mt3/network.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/note_sequences.py b/mt3/note_sequences.py index fd3d14f..52bc1b3 100644 --- a/mt3/note_sequences.py +++ b/mt3/note_sequences.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/note_sequences_test.py b/mt3/note_sequences_test.py index 5751d1a..34329b8 100644 --- a/mt3/note_sequences_test.py +++ b/mt3/note_sequences_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/preprocessors.py b/mt3/preprocessors.py index e770fa9..6900e28 100644 --- a/mt3/preprocessors.py +++ b/mt3/preprocessors.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/run_length_encoding.py b/mt3/run_length_encoding.py index 1a860a7..41455f5 100644 --- a/mt3/run_length_encoding.py +++ b/mt3/run_length_encoding.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/run_length_encoding_test.py b/mt3/run_length_encoding_test.py index cfb31ea..8a6dd78 100644 --- a/mt3/run_length_encoding_test.py +++ b/mt3/run_length_encoding_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/scripts/dump_task.py b/mt3/scripts/dump_task.py index 58912a4..6d928c4 100644 --- a/mt3/scripts/dump_task.py +++ b/mt3/scripts/dump_task.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/scripts/extract_monophonic_examples.py b/mt3/scripts/extract_monophonic_examples.py index 0b1115a..fbe6c86 100644 --- a/mt3/scripts/extract_monophonic_examples.py +++ b/mt3/scripts/extract_monophonic_examples.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/spectral_ops.py b/mt3/spectral_ops.py index 7c9bac0..9ae3c4f 100644 --- a/mt3/spectral_ops.py +++ b/mt3/spectral_ops.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/spectrograms.py b/mt3/spectrograms.py index bc0e15f..f284c17 100644 --- a/mt3/spectrograms.py +++ b/mt3/spectrograms.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/summaries.py b/mt3/summaries.py index 5b57e7e..540b4d9 100644 --- a/mt3/summaries.py +++ b/mt3/summaries.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/tasks.py b/mt3/tasks.py index f1a1afa..1e84ceb 100644 --- a/mt3/tasks.py +++ b/mt3/tasks.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/version.py b/mt3/version.py index 1e88174..3753656 100644 --- a/mt3/version.py +++ b/mt3/version.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/vocabularies.py b/mt3/vocabularies.py index fdc4938..9c13ec9 100644 --- a/mt3/vocabularies.py +++ b/mt3/vocabularies.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/mt3/vocabularies_test.py b/mt3/vocabularies_test.py index e2081ee..be3ef5d 100644 --- a/mt3/vocabularies_test.py +++ b/mt3/vocabularies_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index 5530651..5110251 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2023 The MT3 Authors. +# Copyright 2024 The MT3 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.