Skip to content
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

Allow chunking map call to take in sublists of length 10 and support lists as inputs #939

Closed
wants to merge 26 commits into from

Conversation

sweep-nightly[bot]
Copy link
Contributor

@sweep-nightly sweep-nightly bot commented Aug 3, 2023

Description

This PR modifies the map function in the chunker to support sublists of length 10 and lists as inputs. The current implementation of the map function in utils/utils.py does not handle these types of inputs. This PR adds the necessary checks and logic to process each item in the list or sublist accordingly.

Summary of Changes

  • Updated the map function in the chunker to handle sublists of length 10 and lists as inputs.
  • Added a check for the type of the input and processed each item in the list or sublist accordingly.
  • Ensured that the function can process both individual items and lists of items.

Please review and merge this PR. Thank you!

Fixes #936.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/feature/chunking-map-support

To make tweaks to this pull request, leave a comment below or in the code.

@vercel
Copy link

vercel bot commented Aug 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sweep-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2023 1:03am

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing fastjsonschema (2.18.0)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing pycparser (2.21)
• Installing pyzmq (25.1.0)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing fqdn (1.5.1)
• Installing idna (3.4)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing executing (1.2.0)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing backcall (0.2.0)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing debugpy (1.6.8)
• Installing frozenlist (1.4.0)
• Installing h11 (0.14.0)
• Installing ipython (8.14.0)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing contourpy (1.1.0)
• Installing cryptography (41.0.3)
• Installing cycler (0.11.0)
• Installing dataclasses-json (0.5.9)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing fastjsonschema (2.18.0)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing pycparser (2.21)
• Installing pyzmq (25.1.0)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing fqdn (1.5.1)
• Installing idna (3.4)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing executing (1.2.0)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing backcall (0.2.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing frozenlist (1.4.0)
• Installing debugpy (1.6.8)
• Installing h11 (0.14.0)
• Installing ipython (8.14.0)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing contourpy (1.1.0)
• Installing cryptography (41.0.3)
• Installing cycler (0.11.0)
• Installing dataclasses-json (0.5.9)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing fastjsonschema (2.18.0)
• Installing pycparser (2.21)
• Installing pyzmq (25.1.0)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing idna (3.4)
• Installing fqdn (1.5.1)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing executing (1.2.0)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing backcall (0.2.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing frozenlist (1.4.0)
• Installing ipython (8.14.0)
• Installing h11 (0.14.0)
• Installing debugpy (1.6.8)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing contourpy (1.1.0)
• Installing cycler (0.11.0)
• Installing dataclasses-json (0.5.9)
• Installing cryptography (41.0.3)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing fastjsonschema (2.18.0)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing pycparser (2.21)
• Installing pyzmq (25.1.0)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing fqdn (1.5.1)
• Installing idna (3.4)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing executing (1.2.0)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing backcall (0.2.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing frozenlist (1.4.0)
• Installing debugpy (1.6.8)
• Installing h11 (0.14.0)
• Installing ipython (8.14.0)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing contourpy (1.1.0)
• Installing dataclasses-json (0.5.9)
• Installing cryptography (41.0.3)
• Installing cycler (0.11.0)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The command that failed is actions/setup-python@v2 with the error message "Version 3.1 with arch x64 not found". Here are the relevant lines from the logs:

##[group]Run actions/setup-python@v2
with:
python-version: 3.1
token: ***
##[endgroup]
Version 3.1 was not found in the local cache
##[error]Version 3.1 with arch x64 not found
list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The command that failed is actions/setup-python@v2 with the error message "Version 3.1 with arch x64 not found". Here are the relevant lines from the logs:

##[group]Run actions/setup-python@v2
with:
python-version: 3.1
token: ***
##[endgroup]
Version 3.1 was not found in the local cache
##[error]Version 3.1 with arch x64 not found
list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The command that failed is actions/setup-python@v2 with the error message "Version 3.1 with arch x64 not found". Here are the relevant lines from the logs:

##[group]Run actions/setup-python@v2
with:
python-version: 3.1
token: ***
##[endgroup]
Version 3.1 was not found in the local cache
##[error]Version 3.1 with arch x64 not found
list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.

1 similar comment
@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The command that failed is actions/setup-python@v2 with the error message "Version 3.1 with arch x64 not found". Here are the relevant lines from the logs:

##[group]Run actions/setup-python@v2
with:
python-version: 3.1
token: ***
##[endgroup]
Version 3.1 was not found in the local cache
##[error]Version 3.1 with arch x64 not found
list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.

pyproject.toml Outdated Show resolved Hide resolved
@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing fastjsonschema (2.18.0)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing pycparser (2.21)
• Installing pyzmq (25.1.0)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing fqdn (1.5.1)
• Installing idna (3.4)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing executing (1.2.0)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing backcall (0.2.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing debugpy (1.6.7)
• Installing frozenlist (1.4.0)
• Installing h11 (0.14.0)
• Installing ipython (8.14.0)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing cryptography (41.0.3)
• Installing contourpy (1.1.0)
• Installing dataclasses-json (0.5.9)
• Installing cycler (0.11.0)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@kevinlu1248
Copy link
Member

Run poetry run pylint sweepai --errors-only
************* Module sweepai.utils.utils
sweepai/utils/utils.py:219:26: E0602: Undefined variable 'Union' (undefined-variable)
sweepai/utils/utils.py:219:3[7](https://github.com/sweepai/sweep/actions/runs/5756596174/job/15606256046?pr=939#step:5:8): E0602: Undefined variable 'List' (undefined-variable)
Error: Process completed with exit code 2.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Because sweepai depends on loguru (^0.6.1) which doesn't match any versions, version solving failed.
##[error]Process completed with exit code 1.

The command that failed is poetry install.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Because sweepai depends on loguru (^0.6.1) which doesn't match any versions, version solving failed.
##[error]Process completed with exit code 1.

The command that failed is poetry install.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

pyproject.toml Outdated Show resolved Hide resolved
@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs corresponding to the error are:

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Because sweepai depends on loguru (^0.6.1) which doesn't match any versions, version solving failed.
##[error]Process completed with exit code 1.

The command that failed is poetry install.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.

pyproject.toml Outdated
PyGithub = "1.58.2"
loguru = "^0.6.0"
python = "^3.10" # or another compatible version
PyGithub = "1.58.3" # or another compatible version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

@kevinlu1248
Copy link
Member

Run poetry run pylint sweepai --errors-only
************* Module sweepai.utils.utils
sweepai/utils/utils.py:219:26: E0602: Undefined variable 'Union' (undefined-variable)
sweepai/utils/utils.py:219:3[7](https://github.com/sweepai/sweep/actions/runs/5756739500/job/15606656854?pr=939#step:5:8): E0602: Undefined variable 'List' (undefined-variable)
Error: Process completed with exit code 2.

@sweep-nightly
Copy link
Contributor Author

sweep-nightly bot commented Aug 3, 2023

GitHub actions yielded the following error.

The relevant lines from the logs are:

##[group]Run curl -sSL https://install.python-poetry.org | python3 -
�[36;1mcurl -sSL https://install.python-poetry.org | python3 -�[0m
�[36;1mpoetry install�[0m
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.4/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.4/x64/lib
##[endgroup]
Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/home/runner/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.


Poetry (1.5.1) is installed now. Great!

You can test that everything is set up by executing:

`poetry --version`

Creating virtualenv sweepai-sfAZP8M_-py3.11 in /home/runner/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...

Package operations: 226 installs, 0 updates, 0 removals

• Installing attrs (23.1.0)
• Installing rpds-py (0.9.2)
• Installing referencing (0.30.0)
• Installing six (1.16.0)
• Installing jsonschema-specifications (2023.7.1)
• Installing platformdirs (3.10.0)
• Installing python-dateutil (2.8.2)
• Installing traitlets (5.9.0)
• Installing arrow (1.2.3)
• Installing fastjsonschema (2.18.0)
• Installing jsonschema (4.18.6)
• Installing jupyter-core (5.3.1)
• Installing pyzmq (25.1.0)
• Installing pycparser (2.21)
• Installing tornado (6.3.2)
• Installing cffi (1.15.1)
• Installing fqdn (1.5.1)
• Installing idna (3.4)
• Installing isoduration (20.11.0)
• Installing jsonpointer (2.4)
• Installing jupyter-client (8.3.0)
• Installing markupsafe (2.1.3)
• Installing nbformat (5.9.2)
• Installing ptyprocess (0.7.0)
• Installing rfc3339-validator (0.1.4)
• Installing rfc3986-validator (0.1.1)
• Installing soupsieve (2.4.1)
• Installing uri-template (1.3.0)
• Installing webcolors (1.13)
• Installing webencodings (0.5.1)
• Installing argon2-cffi-bindings (21.2.0)
• Installing asttokens (2.2.1)
• Installing beautifulsoup4 (4.12.2)
• Installing bleach (6.0.0)
• Installing defusedxml (0.7.1)
• Installing executing (1.2.0)
• Installing jinja2 (3.1.2)
• Installing jupyterlab-pygments (0.2.2)
• Installing mistune (3.0.1)
• Installing nbclient (0.8.0)
• Installing packaging (23.1)
• Installing pandocfilters (1.5.0)
• Installing parso (0.8.3)
• Installing pure-eval (0.2.2)
• Installing pygments (2.15.1)
• Installing python-json-logger (2.0.7)
• Installing pyyaml (6.0.1)
• Installing sniffio (1.3.0)
• Installing terminado (0.17.1)
• Installing tinycss2 (1.2.1)
• Installing wcwidth (0.2.6)
• Installing anyio (3.7.1)
• Installing argon2-cffi (21.3.0)
• Installing backcall (0.2.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.2.0)
• Installing decorator (5.1.1)
• Installing jedi (0.19.0)
• Installing jupyter-events (0.7.0)
• Installing jupyter-server-terminals (0.4.4)
• Installing matplotlib-inline (0.1.6)
• Installing nbconvert (7.7.3)
• Installing overrides (7.3.1)
• Installing pexpect (4.8.0)
• Installing pickleshare (0.7.5)
• Installing prometheus-client (0.17.1)
• Installing prompt-toolkit (3.0.39)
• Installing send2trash (1.8.2)
• Installing stack-data (0.6.2)
• Installing urllib3 (1.26.16)
• Installing websocket-client (1.6.1)
• Installing babel (2.12.1)
• Installing comm (0.1.4)
• Installing debugpy (1.6.7)
• Installing frozenlist (1.4.0)
• Installing h11 (0.14.0)
• Installing ipython (8.14.0)
• Installing json5 (0.9.14)
• Installing jupyter-server (2.7.0)
• Installing lazy-object-proxy (1.9.0)
• Installing marshmallow (3.20.1)
• Installing multidict (6.0.4)
• Installing mypy-extensions (1.0.0)
• Installing nest-asyncio (1.5.7)
• Installing psutil (5.9.5)
• Installing requests (2.31.0)
• Installing typing-extensions (4.6.3)
• Installing wrapt (1.15.0)
• Installing aiosignal (1.3.1)
• Installing astroid (2.15.6)
• Installing async-lru (2.0.4)
• Installing async-timeout (4.0.2)
• Installing dill (0.3.7)
• Installing filelock (3.12.2)
• Installing fsspec (2023.6.0)
• Installing greenlet (2.0.1)
• Installing hpack (4.0.0)
• Installing httpcore (0.17.3)
• Installing hyperframe (6.0.1)
• Installing ipykernel (6.25.0)
• Installing isort (5.12.0)
• Installing jupyter-lsp (2.2.0)
• Installing jupyterlab-server (2.24.0)
• Installing marshmallow-enum (1.5.1)
• Installing mccabe (0.7.0)
• Installing mdurl (0.1.2)
• Installing notebook-shim (0.2.3)
• Installing numpy (1.25.2)
• Installing pydantic (1.10.12)
• Installing pytz (2023.3)
• Installing tomlkit (0.12.1)
• Installing tqdm (4.65.0)
• Installing typing-inspect (0.9.0)
• Installing tzdata (2023.3)
• Installing uc-micro-py (1.0.2)
• Installing yarl (1.9.2)
• Installing aiohttp (3.8.5)
• Installing click (8.1.6)
• Installing contourpy (1.1.0)
• Installing cryptography (41.0.3)
• Installing cycler (0.11.0)
• Installing dataclasses-json (0.5.9)
• Installing distlib (0.3.7)
• Installing fonttools (4.42.0)
• Installing h2 (4.1.0)
• Installing httpx (0.24.1)
• Installing huggingface-hub (0.16.4)
• Installing ipython-genutils (0.2.0)
• Installing jupyterlab (4.0.4)
• Installing jupyterlab-widgets (3.0.8)
• Installing kiwisolver (1.4.4)
• Installing langsmith (0.0.18)
• Installing linkify-it-py (2.0.2)
• Installing markdown-it-py (2.2.0)
• Installing numexpr (2.8.4)
• Installing openapi-schema-pydantic (1.2.4)
• Installing pandas (2.0.3)
• Installing pillow (10.0.0)
• Installing pylint (2.17.5)
• Installing pyparsing (3.0.9)
• Installing qtpy (2.3.1)
• Installing regex (2023.6.3)
• Installing sigtools (4.0.1)
• Installing smmap (5.0.0)
• Installing sqlalchemy (2.0.19)
• Installing starlette (0.26.1)
• Installing tenacity (8.2.2)
• Installing toolz (0.12.0)
• Installing websockets (11.0.3)
• Installing widgetsnbextension (4.0.8)
• Installing zipp (3.16.2)
• Installing aiofiles (23.1.0)
• Installing aiostream (0.4.5)
• Installing altair (5.0.1)
• Installing asgiref (3.7.2)
• Installing backoff (2.2.1)

The command that failed is poetry install.

There are a lot of errors. This is likely a larger issue with the PR and not a small linting/type-checking issue.

This is likely a linting or type-checking issue with the source code but if you are updating the GitHub Actions or versioning, this could be an issue with the GitHub Action yaml files.

@@ -215,6 +215,24 @@ def __enter__(self):

@method()
def chunk(
self,
file_content: Union[str, List[str]],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use | instead of Union and list instead of List

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
1 participant