Commit graph

98 commits

Author SHA1 Message Date
Paul Gauthier
dd2ba6e3fc pin tree-sitter==0.21.3 2024-05-17 14:49:39 -07:00
Paul Gauthier
e09d4d8e16 Upgraded deps to pickup grep-ast 0.3.0 2024-05-17 14:42:40 -07:00
Paul Gauthier
bec9d49d64 bumped deps 2024-05-08 07:07:55 -07:00
Paul Gauthier
4e1613036e pick up https://github.com/BerriAI/litellm/issues/3420 2024-05-04 08:05:46 -07:00
Paul Gauthier
bd2900495d bump deps to pick up latest litellm 2024-05-02 08:46:16 -07:00
Paul Gauthier
2f589ee379 upgraded dependencies 2024-05-01 10:46:20 -07:00
Paul Gauthier
4f996d43ae added streamlit dep 2024-04-28 14:17:55 -07:00
Paul Gauthier
80b4ebe6f7 include google-generativeai; bump all dep versions 2024-04-24 11:46:50 -07:00
Paul Gauthier
7b2dfaaa31 Upgraded dependencies 2024-04-22 09:13:12 -07:00
Paul Gauthier
7a047dc98e networkx 3.3 no longer works on python 3.9 2024-04-18 16:25:21 -07:00
Paul Gauthier
d750511c7c added litellm dep; upgraded all deps 2024-04-18 16:18:36 -07:00
Paul Gauthier
efff174f9a Use download_pandoc, which works everywhere including arm64 2024-02-08 15:56:00 -08:00
Paul Gauthier
50b6a00331 bs4 -> beautifulsoup4 2024-02-08 14:29:56 -08:00
Paul Gauthier
cc36329691 output with pandoc, cleanup with bs and re 2024-02-08 14:14:42 -08:00
Paul Gauthier
5b78d929a6 Roughly working scraper 2024-02-08 11:44:55 -08:00
Paul Gauthier
1758937042 wip 2024-02-08 07:18:39 -08:00
Paul Gauthier
99be34fb61 aider: Add chromedriver-autoinstaller to requirements.txt for automatic installation of ChromeDriver.
# Aider chat conversation:

USER: does the user need to install anything beyond the pip requirements to have selenium drive chrome?

ASSISTANT: To have Selenium drive Chrome, the user needs to have the Chrome browser installed on their system and also the ChromeDriver executable, which allows Selenium to interface with Chrome. The ChromeDriver version must be compatible with the version of Chrome installed on the system.

The `requirements.txt` file already includes `selenium`, but it does not include `chromedriver-autoinstaller`, which can automatically download and install the correct version of ChromeDriver for the user's version of Chrome. To facilitate this, we can add `chromedriver-autoinstaller` to the `requirements.txt` file.

Here is the diff to add `chromedriver-autoinstaller` to the `requirements.txt`:

```diff
--- requirements.txt
+++ requirements.txt
@@ ... @@
+selenium==4.17.2
+chromedriver-autoinstaller==0.3.1
    # via -r requirements.in
```

By adding `chromedriver-autoinstaller`, the user can ensure that the correct version of ChromeDriver is installed and updated as needed, without manual intervention.
2024-02-07 16:29:45 -08:00
Paul Gauthier
ffdd034b7b Add new dependencies and update existing ones. 2024-02-07 16:29:44 -08:00
Paul Gauthier
5c9bd4d405 Bump all dependencies, to pick up py-tree-sitter-languages 1.9.1 with py12 support 2024-01-04 07:48:00 -08:00
Joshua Vial
179b648864 merging from upstream main 2023-12-19 22:04:39 +13:00
Paul Gauthier
7113a30271 unified diffs 2023-12-17 12:54:34 -08:00
Joshua Vial
fe9423d7b8 merge in openai upgrade 2023-12-11 20:43:18 +13:00
Paul Gauthier
6ebc142377 roughed in openai 1.x 2023-12-05 07:37:05 -08:00
Joshua Vial
58ba202b51 compiling requirements.txt 2023-11-29 22:57:31 +13:00
Paul Gauthier
3bdae96396 Updated all dependencies via pip-compile #319 2023-11-03 06:41:50 -07:00
Paul Gauthier
05b0597f8b use grep-ast==0.2.4 to fully fix c-sharp bug 2023-10-31 16:48:44 -07:00
Paul Gauthier
23024488b5 use grep-ast==0.2.3 to fix c-sharp bug 2023-10-31 16:27:53 -07:00
Paul Gauthier
5280549c33 Upgrade to grep-ast 0.2.2 to streamline tree-sitter install 2023-10-31 11:28:34 -07:00
Paul Gauthier
b579c9e4d4 updated numpy & scipy versions #300 2023-10-30 19:01:02 -07:00
Paul Gauthier
a12fdbcba7 grep-ast==0.2.0 2023-10-23 15:52:48 -07:00
Paul Gauthier
998dedd2c6 Added grep-ast dependency 2023-10-19 10:30:18 -07:00
Paul Gauthier
5e50307748 Added pathspec to reqs 2023-10-18 11:39:01 -07:00
Paul Gauthier
8b0c5ff7f2 Updated sounddevice version to 0.4.6 and added soundfile version 0.12.1 to requirements. 2023-08-10 16:14:06 -03:00
Paul Gauthier
de995a5d62 aider: Add sounddevice and keyboard libraries to the list of requirements.
# Aider chat conversation:

USER: add the required modules

ASSISTANT: To add the required modules, we need to modify the `requirements.txt` file.

Here are the changes:

```python
requirements.txt
<<<<<<< HEAD
openai==0.27.6
prompt-toolkit==3.0.38
Pygments==2.15.1
requests==2.30.0
rich==13.3.5
smmap==5.0.0
tqdm==4.65.0
urllib3==2.0.2
wcwidth==0.2.6
yarl==1.9.2
pytest==7.3.1
tiktoken==0.4.0
configargparse
PyYAML
backoff==2.2.1
networkx==3.1
diskcache==5.6.1
numpy==1.24.3
scipy==1.10.1
jsonschema==4.17.3
=======
openai==0.27.6
prompt-toolkit==3.0.38
Pygments==2.15.1
requests==2.30.0
rich==13.3.5
smmap==5.0.0
tqdm==4.65.0
urllib3==2.0.2
wcwidth==0.2.6
yarl==1.9.2
pytest==7.3.1
tiktoken==0.4.0
configargparse
PyYAML
backoff==2.2.1
networkx==3.1
diskcache==5.6.1
numpy==1.24.3
scipy==1.10.1
jsonschema==4.17.3
sounddevice
keyboard
>>>>>>> updated
```

These changes add the `sounddevice` and `keyboard` libraries to the list of requirements.
2023-08-10 15:48:30 -03:00
Paul Gauthier
ecb739ed07 validate all jsonschemas 2023-07-02 06:36:42 -07:00
Paul Gauthier
9f1cbcdd43 Restore aiohttp==3.8.4 2023-06-08 16:27:39 -07:00
Paul Gauthier
59e8f798d1 aider: Updated aiohttp version constraint in requirements.txt.
# Context:
USER: $ pip install -i https://test.pypi.org/simple/ aider-chat
Looking in indexes: https://test.pypi.org/simple/
Collecting aider-chat
  Downloading a61a5f1941/aider_chat-0.5.3-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.0/42.0 kB 614.5 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of aider-chat to determine which version is compatible with other requirements. This could take a while.
  Downloading e8a3663c60/aider_chat-0.5.2-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 kB 1.2 MB/s eta 0:00:00
  Downloading f69bb4653a/aider_chat-0.5.1-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 kB 1.3 MB/s eta 0:00:00
  Downloading 005ae4324a/aider_chat-0.5.0-py3-none-any.whl (38 kB)
ERROR: Cannot install aider-chat==0.5.0, aider-chat==0.5.1, aider-chat==0.5.2 and aider-chat==0.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    aider-chat 0.5.3 depends on aiohttp==3.8.4
    aider-chat 0.5.2 depends on aiohttp==3.8.4
    aider-chat 0.5.1 depends on aiohttp==3.8.4
    aider-chat 0.5.0 depends on aiohttp==3.8.4

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

ASSISTANT: It seems there is a dependency conflict when trying to install `aider-chat` from TestPyPI. The conflict is caused by the `aiohttp` package version. To resolve this issue, you can try the following steps:

1. Update the `requirements.txt` file to loosen the version constraint for `aiohttp`. For example, you can change it to `aiohttp>=3.8.4` to allow any version greater than or equal to 3.8.4.
2. Update the `setup.py` file to read the updated `requirements.txt` file.
3. Re-upload the package to TestPyPI with the updated dependencies.

Here's the change you need to make in the `requirements.txt` file:

```plaintext

^C KeyboardInterrupt
USER: why is it trying to install multiple versions of aider-chat?
ASSISTANT: The reason pip is looking at multiple versions of `aider-chat` is that it's trying to find a version that is compatible with the other packages and their dependencies in your environment. This process is part of pip's dependency resolution mechanism.

In this case, it seems that all the versions of `aider-chat` have a conflicting dependency on `aiohttp==3.8.4`. To resolve this issue, you can try loosening the version constraint for `aiohttp` in the `requirements.txt` file, as I mentioned in my previous response. This should help pip find a compatible version of `aider-chat` that works with the other packages in your environment.
USER: I added these *read-write* files: requirements.txt
ASSISTANT: Great! Now, let's update the `requirements.txt` file to loosen the version constraint for `aiohttp`. Change the line with `aiohttp==3.8.4` to `aiohttp>=3.8.4`. Here's the change you need to make:

```plaintext
requirements.txt
<<<<<<< ORIGINAL
aiohttp==3.8.4
=======
aiohttp>=3.8.4
>>>>>>> UPDATED
```

After making this change, you can re-upload the package to TestPyPI with the updated dependencies and try installing it again.
2023-06-07 17:15:13 -07:00
Paul Gauthier
ac2d75ed09 Added scipy==1.10.1 2023-06-05 09:05:08 -07:00
Paul Gauthier
b824cf4eb3 Added numpy==1.24.3 2023-06-05 09:03:59 -07:00
Paul Gauthier
c361366dd9 Added diskcache==5.6.1 2023-06-05 09:02:36 -07:00
Paul Gauthier
a3075d2da0 Added networkx==3.1 2023-06-05 08:27:39 -07:00
Paul Gauthier
8aba2376ce added backoff==2.2.1 2023-06-04 06:22:26 -07:00
Paul Gauthier
35621f3b11 updated python version list 2023-05-27 13:54:32 -07:00
Paul Gauthier
c87fc2e30f added pyyaml 2023-05-26 16:26:30 -07:00
Paul Gauthier
17184dd2df added configargparse 2023-05-26 13:04:48 -07:00
Paul Gauthier
7c1112ab20 choose whether/which token map to use based on tokenized size 2023-05-23 15:40:32 -07:00
Paul Gauthier
6dd586c753 init testing 2023-05-11 17:11:22 -07:00
Paul Gauthier
ff887b5c3e initial 2023-05-09 10:55:05 -07:00