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

Add support for pytest ~=7.4.3 (incompatible with wheel) #17

Open
sarzamas opened this issue Dec 16, 2023 · 0 comments
Open

Add support for pytest ~=7.4.3 (incompatible with wheel) #17

sarzamas opened this issue Dec 16, 2023 · 0 comments

Comments

@sarzamas
Copy link
Contributor

sarzamas commented Dec 16, 2023

missing dependency with latest pytest

pytest ~=7.4.3 incompatible with pytest-emoji-output

requirements.txt

log

$ pip wheel -r requirements.txt
Collecting pytest~=7.4.3 (from -r requirements.txt (line 1))
  Using cached pytest-7.4.3-py3-none-any.whl.metadata (7.9 kB)
Collecting pytest-emoji-output (from -r requirements.txt (line 2))
  Using cached pytest_emoji_output-0.2.1-py3-none-any.whl (5.9 kB)
Collecting requests<=3.0.0 (from -r requirements.txt (line 3))
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting Faker~=20.1.0 (from -r requirements.txt (line 4))
  Downloading Faker-20.1.0-py3-none-any.whl.metadata (15 kB)
Collecting urllib3~=2.1.0 (from -r requirements.txt (line 5))
  Using cached urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting validators~=0.22.0 (from -r requirements.txt (line 6))
  Using cached validators-0.22.0-py3-none-any.whl.metadata (4.7 kB)
Collecting iniconfig (from pytest~=7.4.3->-r requirements.txt (line 1))
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest~=7.4.3->-r requirements.txt (line 1))
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=0.12 (from pytest~=7.4.3->-r requirements.txt (line 1))
  Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting attrs==19.3.0 (from pytest-emoji-output->-r requirements.txt (line 2))
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting click==8.0.4 (from pytest-emoji-output->-r requirements.txt (line 2))
  Using cached click-8.0.4-py3-none-any.whl (97 kB)
INFO: pip is looking at multiple versions of pytest-emoji-output to determine which version is compatible with other requirements. This could take a while.
Collecting pytest-emoji-output (from -r requirements.txt (line 2))
  Downloading pytest_emoji_output-0.2.0-py3-none-any.whl (5.9 kB)
  Downloading pytest_emoji_output-0.1.10-py3-none-any.whl (5.7 kB)
  Downloading pytest_emoji_output-0.1.9-py3-none-any.whl (5.6 kB)
  Downloading pytest_emoji_output-0.1.8-py3-none-any.whl (5.7 kB)
  Downloading pytest_emoji_output-0.1.7-py3-none-any.whl (5.5 kB)
Collecting cookiecutter==1.7.0 (from pytest-emoji-output->-r requirements.txt (line 2))
  Downloading cookiecutter-1.7.0-py2.py3-none-any.whl (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.5/40.5 kB 5.3 MB/s eta 0:00:00
Collecting pytest-emoji-output (from -r requirements.txt (line 2))
  Downloading pytest_emoji_output-0.1.5-py3-none-any.whl (5.1 kB)
  Downloading pytest_emoji_output-0.1.4-py3-none-any.whl (5.0 kB)
INFO: pip is still looking at multiple versions of pytest-emoji-output to determine which version is compatible with other requirements. This could take a while.
  Downloading pytest_emoji_output-0.1.3-py3-none-any.whl (4.9 kB)
  Downloading pytest_emoji_output-0.1.2-py3-none-any.whl (4.9 kB)
  Downloading pytest_emoji_output-0.1.1-py3-none-any.whl (4.9 kB)
  Downloading pytest-emoji-output-0.1.0.tar.gz (5.0 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/home/sarz/projects/pytest_rest_example_pets/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 347, in <module>
          main()
        File "/home/sarz/projects/pytest_rest_example_pets/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 329, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/sarz/projects/pytest_rest_example_pets/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-tuttkc4k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-tuttkc4k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-tuttkc4k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 480, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-tuttkc4k/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 48, in <module>
        File "<string>", line 23, in __requirements
      FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
[requirements.txt](https://github.com/utestpy/pytest-emoji-output/files/13694237/requirements.txt)


sarzamas added a commit to sarzamas/pytest-emoji-output that referenced this issue Dec 17, 2023
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