Hi everyone,
I’m working on deploying my first (!) project. Things were going really well until it came to push everything to GitHub. GitHub Actions failed because of something I’ve done with my dependancies. I need to include the JSON and Requests libraries in my project, but they’re causing troubles.
Appreciate any help,
S
Here is out my settings.ini looks:
requirements = fastcore pandas json>=2.0.0 requests>=2.1.0
Here is the Github output:
Run fastai/workflows/quarto-ghp@master
4
Run actions/checkout@v3
15
Syncing repository: simon-lawyer/call-canlii
16
Getting Git version info
20
Temporarily overriding HOME='/home/runner/work/_temp/edec4bd4-8a3c-4aa5-b5f9-b4be2c9ca05e' before making global git config changes
21
Adding repository directory to the temporary git global config as a safe directory
22
/usr/bin/git config --global --add safe.directory /home/runner/work/call-canlii/call-canlii
23
Deleting the contents of '/home/runner/work/call-canlii/call-canlii'
24
Initializing the repository
38
Disabling automatic garbage collection
40
Setting up auth
46
Fetching the repository
97
Determining the checkout info
98
Checking out the ref
102
/usr/bin/git log -1 --format='%H'
103
'7a617b2ddb088b466729928142de7f3929414752'
104
Run actions/setup-python@v3
108
Successfully setup CPython (3.10.7)
109
Run set -ux
129
+ python -m pip install --upgrade pip
130
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages (22.2.2)
131
+ '[' ']'
132
+ pip install -Uq nbdev
133
+ test -f setup.py
134
+ pip install -e '.[dev]'
135
Obtaining file:///home/runner/work/call-canlii/call-canlii
136
Preparing metadata (setup.py): started
137
Preparing metadata (setup.py): finished with status 'done'
138
Requirement already satisfied: fastcore in /opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages (from call-canlii==0.0.1) (1.5.27)
139
Collecting pandas
140
Downloading pandas-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)
141
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 114.0 MB/s eta 0:00:00
142
ERROR: Could not find a version that satisfies the requirement json>=2.0.0 (from call-canlii[dev]) (from versions: none)
143
ERROR: No matching distribution found for json>=2.0.0
144
Error: Process completed with exit code 1.