This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: discussions: Alice Engineering Comms: 2024-06-27T06:02:18+00:00
- Loading branch information
1 parent
6ac38a8
commit 09fda11
Showing
8 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 2024-06-23 Engineering Logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 2024-06-24 Engineering Logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 2024-06-25 Engineering Logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- git + SCITT policy engine as CI / local CI / federated local instance pre-check before federating aka running workflows | ||
|
||
```bash | ||
# Commit should check that you have a SCITT receipt for your CI run of the `r-c/` for this commit (release canidate of commit, CI / validation against this commit) | ||
# We should use DAG caching to determine commit ability, cannot commit unless CI has passed | ||
# This way we can only commit working code unless we use --expect-failures | ||
git commit --expect-failures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 2024-06-26 Engineering Logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## 2024-06-26 @pdxjohnny Engineering Logs | ||
|
||
- `enum.StrEnum` requires Python 3.12, the risk with using `enum.auto()` with poly-repo virtual branches that . | ||
- https://github.com/search?q=org%3Aintel+path%3Apyproject.toml&type=code | ||
- 72 results | ||
- TODO | ||
- [ ] Finish pindeps -> https://github.com/pdxjohnny/dffml/pull/27 | ||
- [ ] https://github.com/intel/dffml/issues/1614 | ||
- Use existing `github_api.py` to patch 2nd party plugins |
80 changes: 80 additions & 0 deletions
80
docs/discussions/alice_engineering_comms/0667/reply_0001.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
## LLM Based Debug of Creating Policy Engine Workflow for Repo CI Validation | ||
|
||
> What OS (/usr/lib/os-release or /etc/os-release) am I on, what's it's package manager, what does the LLM think will move us from ad-hoc CVE of install failure to VEX of not affected for this branch in train of thought | ||
```console | ||
$ pyenv install 3.12 | ||
Downloading Python-3.12.1.tar.xz... | ||
-> https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz | ||
Installing Python-3.12.1... | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/bz2.py", line 17, in <module> | ||
from _bz2 import BZ2Compressor, BZ2Decompressor | ||
ModuleNotFoundError: No module named '_bz2' | ||
WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/curses/__init__.py", line 13, in <module> | ||
from _curses import * | ||
ModuleNotFoundError: No module named '_curses' | ||
WARNING: The Python curses extension was not compiled. Missing the ncurses lib? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/ctypes/__init__.py", line 8, in <module> | ||
from _ctypes import Union, Structure, Array | ||
ModuleNotFoundError: No module named '_ctypes' | ||
WARNING: The Python ctypes extension was not compiled. Missing the libffi lib? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
ModuleNotFoundError: No module named 'readline' | ||
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/sqlite3/__init__.py", line 57, in <module> | ||
from sqlite3.dbapi2 import * | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/sqlite3/dbapi2.py", line 27, in <module> | ||
from _sqlite3 import * | ||
ModuleNotFoundError: No module named '_sqlite3' | ||
WARNING: The Python sqlite3 extension was not compiled. Missing the SQLite3 lib? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/tkinter/__init__.py", line 38, in <module> | ||
import _tkinter # If this fails your Python may not be configured for Tk | ||
^^^^^^^^^^^^^^^ | ||
ModuleNotFoundError: No module named '_tkinter' | ||
WARNING: The Python tkinter extension was not compiled and GUI subsystem has been detected. Missing the Tk toolkit? | ||
Traceback (most recent call last): | ||
File "<string>", line 1, in <module> | ||
File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/lzma.py", line 27, in <module> | ||
from _lzma import * | ||
ModuleNotFoundError: No module named '_lzma' | ||
WARNING: The Python lzma extension was not compiled. Missing the lzma lib? | ||
``` | ||
|
||
- user: What dnf install commands do I need to issue? | ||
|
||
The errors you are encountering are due to missing development libraries that are required to compile the Python extensions. Here are the necessary `dnf install` commands to install these libraries on a Fedora-based system: | ||
|
||
```bash | ||
sudo dnf install -y bzip2-devel ncurses-devel libffi-devel readline-devel sqlite-devel tk-devel xz-devel | ||
``` | ||
|
||
After installing these libraries, you should reconfigure and recompile Python. Here’s a complete set of steps you can follow: | ||
|
||
1. **Install the required libraries:** | ||
|
||
```bash | ||
sudo dnf install -y bzip2-devel ncurses-devel libffi-devel readline-devel sqlite-devel tk-devel xz-devel | ||
``` | ||
|
||
2. **Reconfigure and recompile Python:** | ||
|
||
```bash | ||
cd /path/to/Python-3.12.1 | ||
./configure | ||
make | ||
sudo make install | ||
``` | ||
|
||
By following these steps, you should be able to successfully compile and install Python 3.12.1 with all necessary extensions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 2024-06-27 Engineering Logs |