diff --git a/.github/workflows/pypi_on_release.yml b/.github/workflows/pypi_on_release.yml index 907eeb6517..ec31fab802 100644 --- a/.github/workflows/pypi_on_release.yml +++ b/.github/workflows/pypi_on_release.yml @@ -28,6 +28,9 @@ jobs: needs: [publish_pypi] runs-on: [self-hosted, new] steps: + - name: Sleep for 30 seconds waiting for pypi to update index + run: sleep 30s + shell: bash - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/lsp/Dockerfile b/lsp/Dockerfile index 33774bc0ed..6eb62bf6c2 100644 --- a/lsp/Dockerfile +++ b/lsp/Dockerfile @@ -1,12 +1,12 @@ -FROM nikolaik/python-nodejs +FROM nikolaik/python-nodejs:python3.11-nodejs19-slim RUN yarn global add diagnostic-languageserver RUN yarn global add pyright -RUN wget https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz +RUN wget https://golang.org/dl/go1.19.3.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz ENV PATH="${PATH}:/usr/local/go/bin:/root/go/bin" ENV GO_PATH=/usr/local/go/bin/go ENV GOROOT=/usr/local/go -RUN go install -v golang.org/x/tools/gopls@latest +RUN /usr/local/go/bin/go install -v golang.org/x/tools/gopls@latest RUN pip3 install black tornado python-lsp-jsonrpc COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno @@ -14,6 +14,8 @@ COPY Pipfile . RUN cat Pipfile +RUN pip install Cython + RUN pipenv install COPY pyls_launcher.py . diff --git a/lsp/Pipfile b/lsp/Pipfile index 33a4b71455..8c25f3d029 100644 --- a/lsp/Pipfile +++ b/lsp/Pipfile @@ -17,104 +17,26 @@ pyowm = "*" pyairtable = "*" matplotlib = "*" nltk = "*" - -boto3 = "*" -botocore = "*" +pandas = "*" +numpy = "*" +pyyaml = "*" +toml = "*" +psycopg2-binary = "*" +awscli = "*" +python-dateutil = "*" +pytz = "*" +pyjwt = "*" +sqlalchemy = "*" urllib3 = "*" requests = "*" -setuptools = "*" s3transfer = "*" -python-dateutil = "*" six = "*" certifi = "*" idna = "*" charset-normalizer = "*" typing-extensions = "*" -pyyaml = "*" google-api-core = "*" -numpy = "*" -awscli = "*" rsa = "*" cryptography = "*" -packaging = "*" -pyasn1 = "*" pyparsing = "*" -wheel = "*" -pip = "*" jmespath = "*" -pandas = "*" -pytz = "*" -colorama = "*" -importlib-metadata = "*" -pyjwt = "*" -zipp = "*" -oauthlib = "*" -protobuf = "*" -cffi = "*" -requests-oauthlib = "*" -click = "*" -attrs = "*" -google-auth = "*" -cachetools = "*" -jinja2 = "*" -pyasn1-modules = "*" -pycparser = "*" -markupsafe = "*" -googleapis-common-protos = "*" -docutils = "*" -pyarrow = "*" -wrapt = "*" -grpcio = "*" -psutil = "*" -google-cloud-bigquery = "*" -isodate = "*" -lxml = "*" -sqlalchemy = "*" -google-cloud-core = "*" -aiobotocore = "*" -azure-core = "*" -chardet = "*" -google-resumable-media = "*" -decorator = "*" -msrest = "*" -async-timeout = "*" -google-cloud-storage = "*" -tomli = "*" -werkzeug = "*" -aiohttp = "*" -jsonschema = "*" -beautifulsoup4 = "*" -multidict = "*" -s3fs = "*" -soupsieve = "*" -yarl = "*" -py = "*" -fsspec = "*" -mypy-extensions = "*" -pillow = "*" -greenlet = "*" -scipy = "*" -azure-storage-blob = "*" -pyopenssl = "*" -pluggy = "*" -tqdm = "*" -pytest = "*" -tabulate = "*" -google-auth-oauthlib = "*" -platformdirs = "*" -importlib-resources = "*" -proto-plus = "*" -asn1crypto = "*" -frozenlist = "*" -flask = "*" -aiosignal = "*" -filelock = "*" -websocket-client = "*" -pyrsistent = "*" -et-xmlfile = "*" -openpyxl = "*" -toml = "*" -itsdangerous = "*" -psycopg2-binary = "*" -azure-common = "*" -google-crc32c = "*"