diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-09-18 07:37:47 +0200 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-09-18 07:37:47 +0200 |
| commit | 1fb6fa22ed0114c0619583cc46bd1477aa7b3d87 (patch) | |
| tree | fdf1c23905f44aed831903a20d187a44bfbdf2a9 | |
| parent | b770912b5e296a2b79166063094ebbb43fb36c4c (diff) | |
| download | mitjafelicijan.com-1fb6fa22ed0114c0619583cc46bd1477aa7b3d87.tar.gz | |
Note: EB hotfix
| -rw-r--r-- | content/notes/2023-09-18-aws-eb-pyyaml-fix.md | 35 | ||||
| -rw-r--r-- | templates/index.html | 6 |
2 files changed, 35 insertions, 6 deletions
diff --git a/content/notes/2023-09-18-aws-eb-pyyaml-fix.md b/content/notes/2023-09-18-aws-eb-pyyaml-fix.md new file mode 100644 index 0000000..77ae27d --- /dev/null +++ b/content/notes/2023-09-18-aws-eb-pyyaml-fix.md | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | --- | ||
| 2 | title: "AWS EB PyYAML fix" | ||
| 3 | url: aws-eb-pyyaml-fix.html | ||
| 4 | date: 2023-09-18T07:27:29+02:00 | ||
| 5 | type: note | ||
| 6 | draft: false | ||
| 7 | --- | ||
| 8 | |||
| 9 | Recent update of my system completely borked [EB CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install-advanced.html) | ||
| 10 | on my machine. | ||
| 11 | |||
| 12 | I tried installing it with `pip install awsebcli --upgrade --user` and it failed. | ||
| 13 | |||
| 14 | The error was the following. | ||
| 15 | |||
| 16 | ```text | ||
| 17 | Collecting PyYAML<6.1,>=5.3.1 (from awsebcli) | ||
| 18 | Using cached PyYAML-5.4.1.tar.gz (175 kB) | ||
| 19 | Installing build dependencies ... done | ||
| 20 | Getting requirements to build wheel ... error | ||
| 21 | error: subprocess-exited-with-error | ||
| 22 | |||
| 23 | × Getting requirements to build wheel did not run successfully. | ||
| 24 | │ exit code: 1 | ||
| 25 | ╰─> [68 lines of output] | ||
| 26 | ``` | ||
| 27 | |||
| 28 | To fix this issue with PyYAML you must install PyYAML separately. | ||
| 29 | |||
| 30 | Do the following and try installing `eb` again after. | ||
| 31 | |||
| 32 | ```sh | ||
| 33 | echo 'Cython < 3.0' > /tmp/constraint.txt | ||
| 34 | PIP_CONSTRAINT=/tmp/constraint.txt pip install 'PyYAML==5.4.1' | ||
| 35 | ``` | ||
diff --git a/templates/index.html b/templates/index.html index a46712b..6a9efd0 100644 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -26,12 +26,6 @@ | |||
| 26 | </thead> | 26 | </thead> |
| 27 | <tbody> | 27 | <tbody> |
| 28 | <tr> | 28 | <tr> |
| 29 | <td class="pstatus-red" title="Still in initial stage"></td> | ||
| 30 | <td><a href="https://github.com/mitjafelicijan/moonshine" target="_blank">Moonshine</a></td> | ||
| 31 | <td>Testing Alpine container, implementing first two rocks.</td> | ||
| 32 | <td>17th of July, 2023</td> | ||
| 33 | </tr> | ||
| 34 | <tr> | ||
| 35 | <td class="pstatus-green" title="Kinda works"></td> | 29 | <td class="pstatus-green" title="Kinda works"></td> |
| 36 | <td><a href="https://github.com/mitjafelicijan/i3blocks" target="_blank">i3blocks</a></td> | 30 | <td><a href="https://github.com/mitjafelicijan/i3blocks" target="_blank">i3blocks</a></td> |
| 37 | <td>Testing blocks: cpu, ram, disk and nvidia gpu.</td> | 31 | <td>Testing blocks: cpu, ram, disk and nvidia gpu.</td> |
