Changed the name

This commit is contained in:
Shrek Requiem 2024-06-22 17:27:31 -04:00
parent 3b1ca97bb7
commit 6870b7f554
3 changed files with 65 additions and 1 deletions

46
log Normal file
View File

@ -0,0 +1,46 @@
Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
- Installing psycopg2 (2.9.9)
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
Error: pg_config executable not found.
pg_config is required to build psycopg2 from source. Please add the directory
containing pg_config to the $PATH or specify the full executable path with the
option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead.
For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).
at /nix/store/g9yj4dz4adzxg80r08rm04jn437cm50q-python3.11-poetry-1.8.2/lib/python3.11/site-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with psycopg2 (2.9.9) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "psycopg2 (==2.9.9)"'.

View File

@ -2,7 +2,7 @@
name = "vetting-bot"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
authors = ["AF2C af2c@protonmail.com"]
license = "AGPL-3.0-or-later"
readme = "README.md"
package-mode = false

18
shell.nix Normal file
View File

@ -0,0 +1,18 @@
# Template
with import <nixpkgs> { };
mkShell {
nativeBuildInputs = [
direnv
python312Packages.psycopg2
python312Packages.aiohttp
poetry
postgresql_16_jit
];
NIX_ENFORCE_PURITY = true;
shellHook = ''
'';
}