diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13a1492d00..1c2a118518 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,20 +45,20 @@ jobs: # https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429 os: ['macos-12', 'windows-2019', 'ubuntu-20.04'] py-version: ['3.9', '3.10', '3.11'] - tf-version: ['2.12.1', '2.13.0', '2.14.0rc1'] + tf-version: ['2.12.1', '2.13.0', '2.14.0'] cpu: ['x86'] include: - os: 'macos-12' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.9' - os: 'macos-12' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.10' - os: 'macos-12' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.11' fail-fast: false steps: @@ -69,7 +69,7 @@ jobs: script: | const commit_details = await github.git.getCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha}); return commit_details.data.author.date - - if: matrix.tf-version != '2.14.0rc1' + - if: matrix.tf-version != '2.14.0' shell: bash run: echo "SKIP_CUSTOM_OP_TESTS=--skip-custom-ops" >> $GITHUB_ENV - if: github.event_name == 'push' @@ -104,20 +104,20 @@ jobs: matrix: os: ['macOS', 'Windows', 'Linux'] py-version: ['3.9', '3.10', '3.11'] - tf-version: ['2.14.0rc1'] + tf-version: ['2.14.0'] cpu: ['x86'] include: - os: 'macOS' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.9' - os: 'macOS' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.10' - os: 'macOS' cpu: 'arm64' - tf-version: '2.14.0rc1' + tf-version: '2.14.0' py-version: '3.11' fail-fast: false if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release' diff --git a/WORKSPACE b/WORKSPACE index 0a77c05b8d..72b305e0b0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -14,6 +14,7 @@ http_archive( "https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.14.0.tar.gz", ], ) + # TODO: please double check what it is really required or not in this section # ############################################################### http_archive( @@ -31,8 +32,11 @@ http_archive( strip_prefix = "rules_python-0.26.0", url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz", ) + load("@rules_python//python:repositories.bzl", "py_repositories") + py_repositories() + load("@rules_python//python:repositories.bzl", "python_register_toolchains") load( "@org_tensorflow//tensorflow/tools/toolchains/python:python_repo.bzl", @@ -74,6 +78,7 @@ pip_parse( python_interpreter_target = interpreter, requirements = "//:requirements.txt", ) + load("@pypi//:requirements.bzl", "install_deps") install_deps()