Skip to content

Commit

Permalink
downgrade python to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Jun 9, 2024
1 parent c12d668 commit e83221d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
__pycache__/
faiss_index/
faiss_index/
.venv
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# The python:3.12-slim tag points to the latest release based on Debian 12 (bookworm)
FROM python:3.12-slim
# The python:3.11-slim tag points to the latest release based on Debian 12 (bookworm)
FROM python:3.11-slim

# Labels
LABEL org.opencontainers.image.title "OpenAI API for Google Cloud Vertex AI"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ bash deploy.sh

## Running Locally

The software was tested on GNU/Linux and macOS with Python 3.12.
The software was tested on GNU/Linux and macOS with Python 3.11 and 3.12.3 ([3.11.4](https://github.com/pydantic/pydantic/issues/9609) currently not working).
If you want to use the software under Windows, you must set the environment variables with `set` instead of `export`.

You should also create a [virtual environment](https://docs.python.org/3/library/venv.html) with the version of Python you want to use, and activate it before proceeding.
Expand Down

0 comments on commit e83221d

Please sign in to comment.