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

AIP does not build locally #1277

Open
dpurp-db opened this issue Nov 29, 2023 · 1 comment
Open

AIP does not build locally #1277

dpurp-db opened this issue Nov 29, 2023 · 1 comment

Comments

@dpurp-db
Copy link

Hello,

I'm trying to build a local version of AIP, but it doesn't seem to build.

How to reproduce:

...
6.069   Installing build dependencies: started
9.339   Installing build dependencies: finished with status 'done'
9.340   Getting requirements to build wheel: started
9.481   Getting requirements to build wheel: finished with status 'error'
9.486   error: subprocess-exited-with-error
9.486
9.486   × Getting requirements to build wheel did not run successfully.
9.486   │ exit code: 1
9.486   ╰─> [48 lines of output]
9.486       running egg_info
9.486       writing lib3/PyYAML.egg-info/PKG-INFO
9.486       writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
9.486       writing top-level names to lib3/PyYAML.egg-info/top_level.txt
9.486       Traceback (most recent call last):
9.486         File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
9.486           main()
9.486         File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
9.486           json_out['return_val'] = hook(**hook_input['kwargs'])
9.486         File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
9.486           return hook(config_settings)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
9.486           return self._get_build_requires(config_settings, requirements=['wheel'])
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
9.486           self.run_setup()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 311, in run_setup
9.486           exec(code, locals())
9.486         File "<string>", line 271, in <module>
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
9.486           return distutils.core.setup(**attrs)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
9.486           return run_commands(dist)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
9.486           dist.run_commands()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
9.486           self.run_command(cmd)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
9.486           super().run_command(command)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
9.486           cmd_obj.run()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 321, in run
9.486           self.find_sources()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
9.486           mm.run()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 551, in run
9.486           self.add_defaults()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
9.486           sdist.add_defaults(self)
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/command/sdist.py", line 112, in add_defaults
9.486           super().add_defaults()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
9.486           self._add_defaults_ext()
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
9.486           self.filelist.extend(build_ext.get_source_files())
9.486         File "<string>", line 201, in get_source_files
9.486         File "/tmp/pip-build-env-b_d2cupu/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
9.486           raise AttributeError(attr)
9.486       AttributeError: cython_sources
9.486       [end of output]
9.486
9.486   note: This error originates from a subprocess, and is likely not a problem with pip.
9.487 error: subprocess-exited-with-error
@guilherme-ptml
Copy link

it works with requirements.txt: aip-site-generator==0.5.0. Broken from aip-site-generator==0.6.0

guilherme-ptml added a commit to guilherme-ptml/google.aip.dev that referenced this issue Apr 16, 2024
guilherme-ptml added a commit to guilherme-ptml/google.aip.dev that referenced this issue Apr 16, 2024
guilherme-ptml added a commit to guilherme-ptml/google.aip.dev that referenced this issue Apr 16, 2024
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

3 participants
@guilherme-ptml @dpurp-db and others