Skip to content

Commit

Permalink
Pin oscrypto to specific hash to fix compatiblity issue with OpenSSL (#…
Browse files Browse the repository at this point in the history
…625)

* Pin oscrypto to specific hash to fix compatiblity issue with OpenSSL

* Install git before running pip install
  • Loading branch information
mars-lan authored Oct 11, 2023
1 parent bd2adc4 commit f806879
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

FROM python:3.8-slim

RUN apt-get clean
RUN apt-get update
RUN apt-get install -y git

COPY . /src

RUN pip install '/src[all]'

RUN rm -rf /src

RUN apt-get clean
RUN apt-get update
RUN apt-get install -y git

CMD ["sh", "-c", "metaphor ${CONNECTOR} ${CONFIG_FILE}"]
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.13.2"
version = "0.13.3"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down Expand Up @@ -31,6 +31,7 @@ lkml = { version = "^1.3.1", optional = true }
looker-sdk = { version = "^23.6.0", optional = true }
metaphor-models = "0.27.0"
msal = { version = "^1.20.0", optional = true }
oscrypto = { git = "https://github.com/wbond/oscrypto.git", rev = "1547f53" } # Until oscrypto 1.3.1 is release: https://github.com/wbond/oscrypto/issues/78
pycarlo = { version = "^0.8.1", optional = true }
pydantic = "^1.10.0"
pymssql = { version = "2.2.7", optional = true } # pymssql 2.2.8 is currently broken
Expand Down

0 comments on commit f806879

Please sign in to comment.