New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: 0.9.0 ModuleNotFoundError: No module named 'goblet.infrastructures'
#261
Comments
let me take a look into it. what were you trying to deploy? |
this looks like it could be a poetry caching issue, or a pythonpath issue potentially. I use conda and i was able to deploy a cloudfuntion, cloudrun, and cloudrun job ok. will continue to look into it |
Thanks for looking at this so quickly. I checked the caching in my Github Actions workflow, and it seemed to work as intended, i.e. that poetry did a fresh install (not from cache) of the updated dependencies, including goblet goblet-gcp==0.9.0 ; python_version >= "3.10" and python_version < "3.11" \
--hash=sha256:75b1a1e7cdc096cf4b9a76d14f957ac71b821b6b61532ab5c7920b8e39336583 \
--hash=sha256:7acbff7413805f046d23e140d4fe236aec3674cf6632f65abc0e48f6e65b1e08 in my from goblet import Goblet, goblet_entrypoint
import logging
app = Goblet(
function_name="bucket-to-bigquery",
backend="cloudrun",
)
goblet_entrypoint(app)
app.log.setLevel(logging.DEBUG)
@app.job("ingest-routes")
def ingest_routes(id):
app.log.info(f"executes {id}")
foo(bar)
return "200" But I will try to look more closely at my end of course. I might have been a bit fast to report this as a bug, but these things should, ideally, just work 😆 (Sorry for the close and reopen, I had my kids running on my keyboard.) |
thanks for the example. i will try with poetry locally as well and see if i can replicate. |
I fully uninstalled goblet and reinstalled, and I'm still having this issue when installing with poetry. |
yup! appreciate the help. will merge and create a new release. Sorry about the bug |
released |
This is fixed now with 0.9.1. Thanks! |
Hi. I just tried to update from version 0.8.4 to 0.9.0, and I get this error when I try to run
goblet deploy
:Anything I can do about this, or is this something that should be fixed on your end?
The text was updated successfully, but these errors were encountered: