srcnet
(srcnet)
October 9, 2024, 3:16pm
21
Ah, like production code everywhere.
3 Likes
CesarH
(cesar)
October 9, 2024, 3:18pm
22
My lr4 build is going to Be massive😅
1 Like
vicious1
(Ryan)
October 9, 2024, 3:54pm
23
Well smart people I am stuck. Nothing changed on my end about htis stuff last night. You all saw me making changes that last one before I left last night failed to build and now I can;t figure out why. Update build.yml by V1EngineeringInc · Pull Request #553 · V1EngineeringInc/V1EngineeringInc-Docs · GitHub
My google fu says the new ubuntu needs this stuff to be in a virtual environment, that all seems to work mkdocs seems to be there but the build part is not working. Maybe I need to point the last line to the right folder or something??
1 Like
I saw you make changes last night, but all of your pull requests are still open.
Did you intend to merge those in?
ah…nvmd, I see you got to those now
Seemed to work fine until you told it how to find your DeWalt tool mount…
I’ve had this error previously (can’t remember where…)
Run python -m pip install --upgrade pip
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
My solution at the time, was to follow this from this StackOverflow answer :
use pip
's argument --break-system-packages
otherwise, you need a virtual environment I believe
2 Likes
srcnet
(srcnet)
October 9, 2024, 4:11pm
27
Why are you trying to update the build.yml file?
Run py -m mkdocs build --clean --strict
py -m mkdocs build --clean --strict
shell: /usr/bin/bash -e {0}
/home/runner/work/_temp/68ee3716-221d-4012-91bd-191ecc8388b4.sh: line 1: py: command not found
Error: Process completed with exit code 127.
py: command not found
Should this be python
not py
?
1 Like
@vicious1
Looks like there was a backend patch applied, or some change.
Your last successful run was on
Current runner version: '2.320.0'
Operating System
Ubuntu
22.04.5
LTS
You first failure says
Current runner version: '2.320.0'
Operating System
Ubuntu
24.04.1
LTS
Likely you may have moved to anew Python version or something like that…I feel like this might be where I ran into it before, but I’m no Python/Linux expert…or maybe it was an OS patch…can’t remember
anyway, here’s the options…
1 Like
srcnet
(srcnet)
October 9, 2024, 4:21pm
30
Nice Mike, I was about to post something similar.
You can be explicit about the version of Python you use
Write your documentation in Markdown and create a professional static site in minutes – searchable, customizable, in 60+ languages, for all devices
with the action they have in the example for mkdocs.
actions/setup-python@v5
I’m not sure all the implications though, and what else this could break
Your other option might be to figure out how to specify this:
back to ubuntu 22.04.5
2 Likes
Anonouncement here:
opened 06:10PM - 17 Sep 24 UTC
OS: Ubuntu
Announcement
**Breaking changes**
Ubuntu 24.04 is ready to be the default version for the "u… buntu-latest" label in GitHub Actions and Azure DevOps.
**Target date**
This change will be rolled out over a period of several weeks beginning in September 25th, 2024. We plan to complete the migration by October 30th , 2024.
**The motivation for the changes**
GitHub Actions and Azure DevOps have supported Ubuntu 24.04 in preview mode since May 2024, and starting from July 2024 Ubuntu 24.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 24.04 image stability and now we are ready to set it as the latest.
**Platforms affected**
- [x] Azure DevOps
- [x] GitHub Actions
**Mitigation ways**
Steps or options for impact mitigation
If you see any issues with your workflows during transition period:
- Switch back to Ubuntu 22 by changing workflow YAML to use `runs-on: ubuntu-22.04` We support two latest LTS Ubuntu versions, so Ubuntu 22 will still be available in near future.
- File an issue in this repository
**Software Differences**
The Ubuntu 22.04 image has a different set of software than Ubuntu 24.04. The most significant changes are listed in the table below:
| Tool name | Ubuntu 22.04 | Ubuntu 24.04 | Notes |
|-----------|--------------|--------------|-------|
| Clang | <ul><li>13.* </li><li>14.* (default)</li><li>15.* </li></ul> | <ul><li>16.* </li><li>17.* </li><li>18.* (default)</li></ul> | The most recent versions are installed |
| GCC / GNU C++ / GNU Fortran | <ul><li>9.* </li><li>10.* </li><li>11.* </li><li>12.* </li><li>13.* </li></ul> | <ul><li>12.* </li><li>13.* </li><li>14.* </li></ul> | The most recent versions are installed |
| PHP | 8.1.* | 8.3.* | The most recent version are installed |
| Java | <ul><li>8.* </li><li>11.* (default)</li><li>17.* </li><li>21.* </li></ul> | <ul><li>8.* </li><li>11.* </li><li>17.* (default)</li><li>21.* </li></ul> | Default Java switched to 17.* for Ubuntu 24.04 image. |
| Python | <ul><li>3.7.* (cached)</li><li>3.8.* (cached)</li><li>3.9.* (cached)</li><li>3.10.* (default)</li><li>3.11.* (cached)</li><li>3.12.* (cached)</li></ul> | <ul><li>3.9.* (cached)</li><li>3.10.* (cached)</li><li>3.11.* (cached)</li><li>3.12.* (default)</li></ul> | Pre-cached versions currently unavailable. Default version switched to the latest one. On GitHub Actions, [actions/setup-python](https://github.com/actions/setup-python) can install any version on-flight so this change doesn't impact users |
| Go | <ul><li>1.20.* (cached)</li><li>1.21.* (default)</li><li>1.22.* (cached)</li></ul> | <ul><li>1.21.* (cached)</li><li>1.22.* (cached)</li><li>1.23.* (default)</li></ul> | If your use-case requires using any of these versions, consider using tasks to install Go on-flight: <ul><li>[actions/setup-go](https://github.com/actions/setup-go) (GitHub Actions) </li><li>[Go Tool Installer](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/go-tool?view=azure-devops) (Azure DevOps)</li></ul> |
| PyPy | <ul><li>3.7.* (cached)</li><li>3.8.* (cached)</li><li>3.9.* (cached)</li><li>3.10.* (cached)</li></ul> | <ul><li>3.9.* (cached)</li><li>3.10.* (cached)</li></ul> | Deprecated all the versions besides the most recent ones |
| Ruby | <ul><li>3.0.* (default)</li><li>3.1.* (cached)</li></ul> | <ul><li>3.2.* (default)</li></ul> | We need to update 3.3.5 |
| Node.js | <ul><li>16.* (cached)</li><li>18.* (default)</li><li>20.* (cached)</li></ul> | <ul><li>16.* (cached)</li><li>18.* (cached)</li><li>20.* (default)</li></ul> | If your use-case requires using any of these versions, consider using tasks to install Node.js on-flight: <ul><li>[actions/setup-node](https://github.com/actions/setup-node) (GitHub Actions) </li><li>[Node.js Tool Installer](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/node-js?view=azure-devops) (Azure DevOps)</li><li> Node 16 will be replaced with Node 22 </li></ul> |
| Heroku | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Leiningen | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Mono / MSBuild / NuGet | latest available | - | Software is not available for Ubuntu 24 at the moment. |
| Terraform | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| R | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| SVN | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Alibaba Cloud CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Google Cloud CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Netlify CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| OpenShift CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| ORAS CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Vercel CLI | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Bindgen / Cbindgen | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Cargo audit/clippy/outdated | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| .NET Core SDK | <ul><li>6.* </li><li>7.* </li><li>8.* </li></ul> | <ul><li>8.* </li></ul> | Please consider using tasks to install any version on-flight: <ul><li>[actions/setup-dotnet](https://github.com/actions/setup-dotnet) (GitHub Actions) </li><li>[Use .NET Core](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops) (Azure DevOps)</li></ul> |
| PostgreSQL | 14.* | 16.* | More recent version are installed |
| NVM | 0.40.1 | setup-node | NVM is replaced with setup-node to manage Node.js versions within CI environments
| MS SQL Server Client Tools | sqlcmd / SqlPackage | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| MarkdownPS Module | latest available | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
| Android Command Line Tools | 9.0 | 12.0 | The most recent version are installed |
| Android SDK Build-tools | <ul><li>34.0.0 </li><li>33.0.0 </li><li>33.0.1 </li><li>33.0.2 </li><li>33.0.3 </li><li>32.0.0 </li><li>31.0.0</li></ul> | <ul><li>34.0.0</li></ul> | The most recent version are installed |
| Android NDK | <ul><li>25.* (default)</li><li>26.* </li></ul> | <ul><li>27.* (default)</li><li>26.* </li></ul> | The most recent version are installed |
| Cached Docker images | <ul><li>alpine:3.16</li><li>alpine:3.17</li><li>alpine:3.18</li><li>debian:10</li><li>debian:11</li><li>moby/buildkit:latest</li><li>node:16</li><li>node:16-alpine</li><li>node:18</li><li>node:18-alpine</li><li>node:20</li><li>node:20-alpine</li><li>ubuntu:20.04</li><li>ubuntu:22.04</li></ul> | - | Removed from the Ubuntu 24.04 image due to maintenance reasons. |
"
Breaking changes
Ubuntu 24.04 is ready to be the default version for the “ubuntu-latest” label in GitHub Actions and Azure DevOps.
Target date
This change will be rolled out over a period of several weeks beginning in September 25th, 2024. We plan to complete the migration by October 30th , 2024.
The motivation for the changes
GitHub Actions and Azure DevOps have supported Ubuntu 24.04 in preview mode since May 2024, and starting from July 2024 Ubuntu 24.04 is generally available for all customers. We have monitored customer feedback to improve the Ubuntu 24.04 image stability and now we are ready to set it as the latest.
"
1 Like
@vicious1 Looks like the correct syntax is to change ubuntu-latest
to ubuntu-22.04
Source: runner-images/README.md at main · actions/runner-images · GitHub
4 Likes
vicious1
(Ryan)
October 9, 2024, 4:41pm
35
funny the dang thing rolls out right in teh middle of getting stuff done, all the actions expired for teh marlin builder last night as well. When it rains it pours.
3 Likes
vicious1
(Ryan)
October 9, 2024, 4:46pm
36
That worked thank you. Luckily it did I merged it instead for a pull request by accident!
2 Likes
azab2c
(Aza B2C)
October 9, 2024, 5:01pm
37
Hey @vicious1 , @jamiek , just noticed we could easily add a link to LR4 Calc that opens Jamie’s Strut generator with width (and other params) already populated, for example…
https://vector76.github.io/Web_OpenSCAD_Customizer/strut_plate.html?strut_length=828
6 Likes
azab2c
(Aza B2C)
October 9, 2024, 8:25pm
39
Hey @orob , Ryan merged pull request 550 . I can’t repro the issue above, is it fixed for you too?
There’s still other rounding/conversion issues, which someone/we’ll get to.
2 Likes
vicious1
(Ryan)
October 9, 2024, 11:21pm
40
Okay so it looks like metric an imperial work now, right?
I changed inches to round to the nearest 1/8" if you want more precision use metric? Or should I do 1/32nd?
2 Likes