Skip to content

Commit 8b8f506

Browse files
committed
fix ci issues after python 3.12 upgrade
1 parent 974a760 commit 8b8f506

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ docker-compose-clean:
101101

102102
.PHONY: export
103103
export:
104-
${CONTAINER_RUNTIME} run --arch amd64 --os linux \
104+
${CONTAINER_RUNTIME} run --os linux \
105105
--volume $(PWD):/var/www/wisdom:Z \
106106
--workdir /var/www/wisdom \
107107
registry.access.redhat.com/ubi9/ubi:latest \

ansible_ai_connect/ansible_lint/tests/test_lintpostprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
tasks:
3939
- name: Hello Message
4040
debug:
41-
msg: Hello World!
41+
msg: "Hello World!"
4242
"""
4343

4444

ansible_ai_connect/manage.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def main():
2424
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ansible_ai_connect.main.settings.development")
2525

2626
try:
27+
import django
28+
29+
django.setup()
2730
from django.core.management import execute_from_command_line
2831
except ImportError as exc:
2932
raise ImportError(

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ description = "Ansible Lightspeed with IBM watsonx Code Assistant."
88
version = "0.1.0"
99
dependencies = [
1010
'aiohttp~=3.12.14',
11-
'ansible-core~=2.16.5',
11+
'ansible-core~=2.16.14',
1212
'ansible-anonymizer~=1.5.0',
13-
'ansible-risk-insight==0.2.7',
14-
'ansible-lint~=25.5.0',
13+
'ansible-risk-insight~=0.2.7',
14+
'ansible-lint~=25.1.0',
1515
'boto3~=1.40',
1616
'cython',
1717
'daphne~=4.1.2',
@@ -34,7 +34,7 @@ dependencies = [
3434
'langchain-ollama~=0.3.5',
3535
'langchain-text-splitters~=0.3.11',
3636
'launchdarkly-server-sdk~=8.3.0',
37-
'llama-stack-client>=0.2.12',
37+
'llama-stack-client~=0.2.22',
3838
'protobuf~=5.29.5',
3939
'psycopg~=3.2.3',
4040
'PyDrive2~=1.20.0',
@@ -103,6 +103,7 @@ constraint-dependencies = [
103103
'sqlparse==0.5.2',
104104
]
105105

106+
106107
[tool.setuptools.packages.find]
107108
include = ["ansible_ai_connect*"]
108109

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ansible-core==2.16.14
1717
# ansible-ai-connect
1818
# ansible-compat
1919
# ansible-lint
20-
ansible-lint==25.5.0
20+
ansible-lint==25.1.3
2121
# via ansible-ai-connect
2222
ansible-risk-insight==0.2.7
2323
# via ansible-ai-connect
@@ -276,7 +276,7 @@ langsmith==0.4.56
276276
# langchain-core
277277
launchdarkly-server-sdk==8.3.0
278278
# via ansible-ai-connect
279-
llama-stack-client==0.3.4
279+
llama-stack-client==0.2.23
280280
# via ansible-ai-connect
281281
markdown-it-py==4.0.0
282282
# via rich

uv.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)