Skip to content

Commit 56d88b7

Browse files
authored
Remove unused code from v3 main branch (#1369)
* remove slash commands & context commands * remove dask & faiss-cpu as dependencies are now unused * remove now-unused help message template * remove unused directory test * remove unused constants.py * remove unused CSS * pre-commit
1 parent e4ccf2f commit 56d88b7

File tree

40 files changed

+1
-3056
lines changed

40 files changed

+1
-3056
lines changed

packages/jupyter-ai-magics/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dependencies = [
2828
# pydantic <2.10.0 raises a "protected namespaces" error in JAI
2929
# - See: https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.protected_namespaces
3030
"pydantic>=2.10.0,<3",
31-
# click>=8.1 is required by dask>=2023.11.0
3231
"click>=8.1.0,<9",
3332
"jsonpath-ng>=1.5.3,<2",
3433
]

packages/jupyter-ai-module-cookiecutter/{{cookiecutter.root_dir_name}}/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ test = ["coverage", "pytest", "pytest-asyncio", "pytest-cov"]
3232
[project.entry-points."jupyter_ai.model_providers"]
3333
test-provider = "{{ cookiecutter.python_name }}.provider:TestProvider"
3434

35-
[project.entry-points."jupyter_ai.chat_handlers"]
36-
test-slash-command = "{{ cookiecutter.python_name }}.slash_command:TestSlashCommand"
37-
3835
[tool.hatch.build.hooks.version]
3936
path = "{{ cookiecutter.python_name }}/_version.py"
4037

packages/jupyter-ai-module-cookiecutter/{{cookiecutter.root_dir_name}}/{{cookiecutter.python_name}}/slash_command.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/jupyter-ai-test/jupyter_ai_test/test_slash_commands.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/jupyter-ai-test/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ test-provider = "jupyter_ai_test.test_providers:TestProvider"
3232
test-provider-with-streaming = "jupyter_ai_test.test_providers:TestProviderWithStreaming"
3333
test-provider-ask-learn-unsupported = "jupyter_ai_test.test_providers:TestProviderAskLearnUnsupported"
3434

35-
[project.entry-points."jupyter_ai.chat_handlers"]
36-
test-slash-command = "jupyter_ai_test.test_slash_commands:TestSlashCommand"
37-
3835
[project.entry-points."jupyter_ai.personas"]
3936
debug-persona = "jupyter_ai_test.debug_persona:DebugPersona"
4037

packages/jupyter-ai/jupyter_ai/callback_handlers/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/jupyter-ai/jupyter_ai/callback_handlers/metadata.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

packages/jupyter-ai/jupyter_ai/chat_handlers/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/jupyter-ai/jupyter_ai/chat_handlers/ask.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)