Laurent Goderre
Laurent Goderre
That snippet actually ends up being reducible to the following ```python from datetime import datetime import time time.mktime(time.struct_time(sequence=(2000, 11, 30, 0, 0, 0, 3, 335, 1))) ```
~~This seems to be a bug with `astimezone` where it returns `1` for `tm_isdst` when it can only be `0` or `-1`~~ The docs says that value `1` for `tm_isdst`...
Hacky way would be to do: ```python nytime = datetime(2024, 6, 1).astimezone(tz).timetuple() fix = list(nytime) fix[-1] =- 1 nytimefixed = tuple(fix) print(f"time.mktime(nytimefixed) = {time.mktime(nytimefixed)}") ```
This is going to be fixed when buildpack-deps ios updated.
Do you have an example that we can take a look at?
It would be helpful to add env vars to your docker compose to get it running quicky ```yaml environment: - DEBUG_MODE=false - SQLALCHEMY_DATABASE_URI=postgres://root:root@postgres - SQLALCHEMY_DATABASE_DB=connector - POSTGRES_SERVER=postgres - POSTGRES_USER=root -...
Yeah I know, I was trying to get the app started to see if I can reproduce. It starts but I didn't configure it correctly so it just gives errors

I haven't tried yet but according to the docs, that isn't how you set those settings. https://cassandra.apache.org/doc/latest/cassandra/getting-started/configuring.html#environment-variables
This is the smallest I have managed to get it: ```yaml services: cassandra: image: 'cassandra:latest' environment: JVM_OPTS: -Xmn64m -Xms128m -Xmx500m ports: - '9042:9042' deploy: resources: limits: cpus: "0.5" memory: "500MB"...