Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Support for python 3 google sdk #128

Open
harsh04 opened this issue Jul 25, 2022 · 4 comments
Open

Support for python 3 google sdk #128

harsh04 opened this issue Jul 25, 2022 · 4 comments

Comments

@harsh04
Copy link

harsh04 commented Jul 25, 2022

Failing to run py_appengine_binary due to assertion in google cloud SDK to validate if it is version 2 of python or not.
Please help on how to make it work for python 3? or is there any issue with the version I am using?
I am using the following version

git_repository(
    name = "io_bazel_rules_appengine",
    remote = "https://github.com/bazelbuild/rules_appengine.git",
    # Check https://github.com/bazelbuild/rules_appengine/releases for the latest version.
    tag = "0.0.9",
)

load(
    "@io_bazel_rules_appengine//appengine:sdk.bzl",
    "appengine_repositories",
)

appengine_repositories()

load(
    "@io_bazel_rules_appengine//appengine:py_appengine.bzl",
    "py_appengine_repositories",
)

py_appengine_repositories(
    version = '1.9.78',
)

INFO: Build completed successfully, 1 total action
Traceback (most recent call last):
  File "/private/var/tmp/_bazel_harsh/377f44f7fb0eb350b3e1b9a606fda7bf/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/projects/app-config/main.runfiles/com_google_appengine_py/dev_appserver.py", line 95, in <module>
    assert sys.version_info[0] == 2
AssertionError
@harsh04 harsh04 changed the title Support for python 3 environment Support for python 3 google sdk Jul 25, 2022
@pmbethe09
Copy link
Member

this library is not being actively maintained -- contributions to bring up to python3 speed welcome

@harsh04
Copy link
Author

harsh04 commented Jul 27, 2022

this library is not being actively maintained -- contributions to bring up to python3 speed welcome

I can look into this, but meanwhile, I want to automate deployment from bazel to app engine using python 3. And tips on that?

alexeagle added a commit to bazelbuild/examples that referenced this issue Oct 3, 2023
1. This contains an iOS app, but the main iOS tutorial linked from https://bazel.build/start/ios-app lives elsewhere
2. It shows rules_appengine, but that repo appears to have only minimal maintenance for broken flags. Latest comment from a maintainer is 'not being actively maintained' bazelbuild/rules_appengine#128 (comment)
3. bazelbuild/codelabs was archived, but there are active community forks at https://github.com/engflow/codelabs and https://github.com/aspect-build/codelabs which have fresher content than this tutorials folder.
4. No one has touched tutorial/android in four years.
alexeagle added a commit to bazelbuild/examples that referenced this issue Oct 3, 2023
1. This contains an iOS app, but the main iOS tutorial linked from https://bazel.build/start/ios-app lives elsewhere
2. It shows rules_appengine, but that repo appears to have only minimal maintenance for broken flags. Latest comment from a maintainer is 'not being actively maintained' bazelbuild/rules_appengine#128 (comment)
3. bazelbuild/codelabs was archived, but there are active community forks at https://github.com/engflow/codelabs and https://github.com/aspect-build/codelabs which have fresher content than this tutorials folder.
4. No one has touched tutorial/android in four years.
@alexeagle
Copy link
Contributor

Hey @pmbethe09 - your comment from last year is the most recent comment from a maintainer I think. Is this repo unmaintained now? If so, we should update the README and probably archive it to make this clear to users.

@pmbethe09
Copy link
Member

pmbethe09 commented Oct 3, 2023 via email

alexeagle added a commit to alexeagle/rules_appengine that referenced this issue Oct 9, 2023
It has been unmaintained for over a year. See https://oss-compass.org/analyze/s2cg17ca for data to support this.

The last maintainer says it is appropriate to archive: bazelbuild#128 (comment)
pmbethe09 pushed a commit that referenced this issue Oct 11, 2023
It has been unmaintained for over a year. See https://oss-compass.org/analyze/s2cg17ca for data to support this.

The last maintainer says it is appropriate to archive: #128 (comment)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants