From 09fda11d633efc9b66145e35996c1c92c556f8b7 Mon Sep 17 00:00:00 2001 From: Alice OA Date: Thu, 27 Jun 2024 06:02:21 +0000 Subject: [PATCH] docs: discussions: Alice Engineering Comms: 2024-06-27T06:02:18+00:00 --- .../alice_engineering_comms/0664/index.md | 1 + .../alice_engineering_comms/0665/index.md | 1 + .../alice_engineering_comms/0666/index.md | 1 + .../0666/reply_0000.md | 7 ++ .../alice_engineering_comms/0667/index.md | 1 + .../0667/reply_0000.md | 9 +++ .../0667/reply_0001.md | 80 +++++++++++++++++++ .../alice_engineering_comms/0668/index.md | 1 + 8 files changed, 101 insertions(+) create mode 100644 docs/discussions/alice_engineering_comms/0664/index.md create mode 100644 docs/discussions/alice_engineering_comms/0665/index.md create mode 100644 docs/discussions/alice_engineering_comms/0666/index.md create mode 100644 docs/discussions/alice_engineering_comms/0666/reply_0000.md create mode 100644 docs/discussions/alice_engineering_comms/0667/index.md create mode 100644 docs/discussions/alice_engineering_comms/0667/reply_0000.md create mode 100644 docs/discussions/alice_engineering_comms/0667/reply_0001.md create mode 100644 docs/discussions/alice_engineering_comms/0668/index.md diff --git a/docs/discussions/alice_engineering_comms/0664/index.md b/docs/discussions/alice_engineering_comms/0664/index.md new file mode 100644 index 0000000000..99f23fc9fa --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0664/index.md @@ -0,0 +1 @@ +# 2024-06-23 Engineering Logs \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0665/index.md b/docs/discussions/alice_engineering_comms/0665/index.md new file mode 100644 index 0000000000..ab4116c8f1 --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0665/index.md @@ -0,0 +1 @@ +# 2024-06-24 Engineering Logs \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0666/index.md b/docs/discussions/alice_engineering_comms/0666/index.md new file mode 100644 index 0000000000..97ac3a8bfb --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0666/index.md @@ -0,0 +1 @@ +# 2024-06-25 Engineering Logs \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0666/reply_0000.md b/docs/discussions/alice_engineering_comms/0666/reply_0000.md new file mode 100644 index 0000000000..b32bf30b98 --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0666/reply_0000.md @@ -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 \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0667/index.md b/docs/discussions/alice_engineering_comms/0667/index.md new file mode 100644 index 0000000000..8bfaa53864 --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0667/index.md @@ -0,0 +1 @@ +# 2024-06-26 Engineering Logs \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0667/reply_0000.md b/docs/discussions/alice_engineering_comms/0667/reply_0000.md new file mode 100644 index 0000000000..6eeba85bb9 --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0667/reply_0000.md @@ -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 \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0667/reply_0001.md b/docs/discussions/alice_engineering_comms/0667/reply_0001.md new file mode 100644 index 0000000000..09708c4e31 --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0667/reply_0001.md @@ -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 "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/bz2.py", line 17, in + 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 "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/curses/__init__.py", line 13, in + 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 "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/ctypes/__init__.py", line 8, in + 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 "", line 1, in +ModuleNotFoundError: No module named 'readline' +WARNING: The Python readline extension was not compiled. Missing the GNU readline lib? +Traceback (most recent call last): + File "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/sqlite3/__init__.py", line 57, in + from sqlite3.dbapi2 import * + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/sqlite3/dbapi2.py", line 27, in + 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 "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/tkinter/__init__.py", line 38, in + 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 "", line 1, in + File "/home/pdxjohnny/.pyenv/versions/3.12.1/lib/python3.12/lzma.py", line 27, in + 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. \ No newline at end of file diff --git a/docs/discussions/alice_engineering_comms/0668/index.md b/docs/discussions/alice_engineering_comms/0668/index.md new file mode 100644 index 0000000000..7919c6b4cc --- /dev/null +++ b/docs/discussions/alice_engineering_comms/0668/index.md @@ -0,0 +1 @@ +# 2024-06-27 Engineering Logs \ No newline at end of file