Status Update
Comments
co...@google.com <co...@google.com>
co...@google.com <co...@google.com> #2
Waiting for Kotlin update in androidx:
[Deleted User] <[Deleted User]> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Update RoomGradlePlugin KSP configuration to support KSP2
Expand for full commit details
Update RoomGradlePlugin KSP configuration to support KSP2
The plugin does per-variant / per-platform configuration by adding a CommandLineArgumentProvider to the KSP task, with KSP2 the task class is different and does not implement the KSP1 base class. This CL updates the plugin integration to find and also configure the KSP2 task.
KSP2 is also more strict with regards to AP options and disallows whitespaces in the key-value pairs. However it might be that a schema path might contain spaces, so the plugin and processor will now encode / decode spaces as URLs would to satisfy the format requirements.
Bug: 379159770
Test: Manually in sample project with KSP2 and Room
Change-Id: Iec3c435cbdfb994034500668f1ec602d5ebde3ce
Files:
- M
room/room-compiler/src/main/kotlin/androidx/room/processor/Context.kt
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/RoomArgumentProvider.kt
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/AndroidPluginIntegration.kt
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/KotlinMultiplatformPluginIntegration.kt
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/util/Utils.kt
Hash: baeb0389517c66be31be785be64157a2b32c1f15
Date: Wed Dec 04 21:31:47 2024
co...@google.com <co...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.room:room-compiler:2.7.0-alpha13
androidx.room:room-gradle-plugin:2.7.0-alpha13
co...@google.com <co...@google.com> #5
Hi,
I will be closing this case due to inactivity.
Please feel free to open another issue if needed.
Thanks!
ca...@mercadolibre.com <ca...@mercadolibre.com> #6
Hello!!
I'm having this issue as well. I'm using Python "3.7.9" and poetry "1.1.13". I have tried installing the following packages:
google-cloud = "^0.34.0"
google-cloud-vision = "^2.7.2"
google = "^3.0.0"
google-api-core = "^2.8.0"
I keep getting the error ModuleNotFoundError: No module named 'google'
when I try to import the package in a python3 terminal.
Any advice will be greatly appreciated, thanks in advance!!
an...@thestable.com <an...@thestable.com> #7
kh...@gmail.com <kh...@gmail.com> #8
[Deleted User] <[Deleted User]> #9
sa...@savannahinformatics.com <sa...@savannahinformatics.com> #10
je...@gmail.com <je...@gmail.com> #11
st...@thinkrenewable.com.au <st...@thinkrenewable.com.au> #12
I had the same issue.
Turns out theres a dependancy on other google api packages.
I ran the following code to see my installed google packages:
import pkg_resources
installed_packages = pkg_resources.working_set
installed_packages_list = sorted(["%s==%s" % (i.key, i.version) for i in installed_packages])
for i in installed_packages:
if 'google' in i.key:
print(f'Name: {i.key} Version: {i.version}')
Once you have a list, make sure the following are installed (this is the output for me once I resolved the ModuleImportError):
Name: googleapis-common-protos Version: 1.55.0
Name: google-auth Version: 2.6.0
Name: google-auth-oauthlib Version: 0.5.2
Name: google-auth-httplib2 Version: 0.1.0
Name: google-api-python-client Version: 2.57.0
Name: google-api-core Version: 2.7.1
fa...@pucp.edu.pe <fa...@pucp.edu.pe> #13
[Deleted User] <[Deleted User]> #14
ol...@gmail.com <ol...@gmail.com> #16
ma...@gmail.com <ma...@gmail.com> #17
I have this error as well. I am using Poetry and I am working in PyCharm and Ubuntu 22.04.
I see that thinkenewable (#12), above) has posted a solution, but none of the posters since then even mention if they tried it or not.
I also see that this issue has been labelled as "infeasible" and therefore won't be fixed, but there are no notes from the Google Developers explaining why or offering a workaround.
Does that mean we're screwed?
***UPDATE***
Found here: site-packages/google_api_python_client-2.70.0.dist-info/METADATA
This library is officially supported by Google. However, the maintainers of
this repository recommend using [Cloud Client Libraries for Python](
where possible, for new code development. For more information, please visit
[Client Libraries Explained](
I hope this saves someone at least half an hour. I can't get mine back.
ig...@gmail.com <ig...@gmail.com> #18
ko...@etf.unsa.ba <ko...@etf.unsa.ba> #19
be...@gmail.com <be...@gmail.com> #20
$ /usr/local/bin/python3 Quick_Sim.py
Traceback (most recent call last):
File "/home/david/busy-beaver/Code/Quick_Sim.py", line 11, in <module>
from Macro import Turing_Machine, Simulator, Block_Finder
File "/home/david/busy-beaver/Code/Macro/Simulator.py", line 16, in <module>
from Exp_Int import ExpInt
File "/home/david/busy-beaver/Code/Exp_Int.py", line 9, in <module>
import io_pb2
File "/home/david/busy-beaver/Code/io_pb2.py", line 5, in <module>
from google.protobuf import descriptor as _descriptor
ModuleNotFoundError: No module named 'google'
ch...@gmail.com <ch...@gmail.com> #21
ar...@gmail.com <ar...@gmail.com> #22
[Deleted User] <[Deleted User]> #23
do...@gmail.com <do...@gmail.com> #24
This is the ourcome of the snippet earlier. I see all modules installed
Name: google-api-core Version: 2.20.0
Name: google-api-python-client Version: 2.147.0
Name: google-auth Version: 2.35.0
Name: google-auth-httplib2 Version: 0.2.0
Name: google-auth-oauthlib Version: 1.2.1
Name: googleapis-common-protos Version: 1.65.0
jo...@teamstatus.io <jo...@teamstatus.io> #25
da...@gmail.com <da...@gmail.com> #26
google-cloud: 0.34.0
google-cloud-vision: 3.9.0
google: 3.0.0
google-api-core: 2.24.0
google-api-python-client: 2.155.0
My program was running normally without errors previously.
Description
Description has been deleted.