Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The deployment on posix is failing in the postprovision phase #19

Open
DavideDelVecchio opened this issue Dec 17, 2024 · 0 comments
Open

Comments

@DavideDelVecchio
Copy link

The deployment on posix is failing in the postprovision phase. Steps to reproduction :

  1. follow the intructions on the README.md and launch provisioning
  2. On a linux machine the execution of postprovision stage launches a sh and runs in squence ./scripts/setup_postgres_database.sh;./scripts/setup_postgres_azurerole.sh;./scripts/setup_postgres_seeddata.sh

./scripts/setup_postgres_database.sh fails with error

/pip/_internal/operations/install/wheel.py", line 621, in _install_wheel
assert os.path.exists(pyc_path)
^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

This happens when installing psycopg2 according to the requirements
full stack trace
AssertionError
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/errors.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/init.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-cpython-312/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-cpython-312/psycopg2
running build_ext
building 'psycopg2._psycopg' extension

Expected result is provisioning and postprovisionin completes successfully
Please note the postprovision fails on windows as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant