Bug 2220463 - F39FailsToInstall: python3-pytest-virtualenv
Summary: F39FailsToInstall: python3-pytest-virtualenv
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-virtualenv
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12 F39FailsToInstall 2220168
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:19 UTC by Fedora Fails To Install
Modified: 2023-09-13 14:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-13 14:05:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github man-group pytest-plugins issues 220 0 None open pytest-virtualenv fails tests on Python 3.12 2023-07-10 19:29:44 UTC

Description Fedora Fails To Install 2023-07-05 19:19:37 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-pytest-virtualenv) Fails To Install in Fedora 39:

can't install python3-pytest-virtualenv:
  - nothing provides python3.11dist(pytest) needed by python3-pytest-virtualenv-1.7.0-16.fc38.noarch
  - nothing provides python3.11dist(virtualenv) needed by python3-pytest-virtualenv-1.7.0-16.fc38.noarch
  - nothing provides python3.11dist(pytest-fixture-config) needed by python3-pytest-virtualenv-1.7.0-16.fc38.noarch
  - nothing provides python3.11dist(pytest-shutil) needed by python3-pytest-virtualenv-1.7.0-16.fc38.noarch
  - nothing provides python(abi) = 3.11 needed by python3-pytest-virtualenv-1.7.0-16.fc38.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-pytest-virtualenv


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Ben Beasley 2023-07-10 19:28:32 UTC
$ fedpkg mockbuild --enablerepo=local

=================================== FAILURES ===================================
___________________________ test_installed_packages ____________________________

    def test_installed_packages():
        with venv.VirtualEnv() as v:
>           ips = v.installed_packages() 

tests/integration/test_tmpvirtualenv.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pytest_virtualenv.py:227: in installed_packages
    lines = self.run([self.python, "-c", code], capture=True).split('\n')
pytest_virtualenv.py:151: in run
    return super(VirtualEnv, self).run(args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pytest_virtualenv.VirtualEnv object at 0x7fd621b117f0>
cmd = ['/tmp/tmp3uc5qein/.env/bin/python', '-c', "from pkg_resources import working_set\nfor i in working_set: print(i.project_name + ' ' + i.version + ' ' + i.location)"]
capture = True, check_rc = True, cd = Path('/tmp/tmp3uc5qein'), shell = False
kwargs = {'env': {'CC': 'gcc', 'CFLAGS': '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -W...tion -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}}
p = <Popen: returncode: 1 args: ['/tmp/tmp3uc5qein/.env/bin/python', '-c', "from...>
out = 'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nModuleNotFoundError: No module named \'pkg_resources\'\n'
_ = None
err = CalledProcessError(1, ['/tmp/tmp3uc5qein/.env/bin/python', '-c', "from pkg_resources import working_set\nfor i in working_set: print(i.project_name + ' ' + i.version + ' ' + i.location)"])

>   ???
E   subprocess.CalledProcessError: Command '['/tmp/tmp3uc5qein/.env/bin/python', '-c', "from pkg_resources import working_set\nfor i in working_set: print(i.project_name + ' ' + i.version + ' ' + i.location)"]' returned non-zero exit status 1.

/builddir/build/BUILDROOT/python-pytest-shutil-1.7.0-21.fc39.noarch/usr/lib/python3.12/site-packages/pytest_shutil/workspace.py:132: CalledProcessError
----------------------------- Captured stdout call -----------------------------
created virtual environment CPython3.12.0.beta.3-64 in 187ms
  creator CPython3Posix(dest=/tmp/tmp3uc5qein/.env, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, via=copy, app_data_dir=/builddir/.local/share/virtualenv)
    added seed packages: pip==23.1.2
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
----------------------------- Captured stderr call -----------------------------
Stdout/stderr:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pkg_resources'

------------------------------ Captured log call -------------------------------
ERROR    pytest_shutil.workspace:workspace.py:130 Stdout/stderr:
ERROR    pytest_shutil.workspace:workspace.py:131 Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pkg_resources'

Looks like a missing setuptools dependency.

Comment 2 Fedora Fails To Install 2023-07-13 11:58:16 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 3 Kevin Fenzi 2023-07-27 21:40:13 UTC
So, the upstream bug is pretty untouched. 

I don't see anything that requires this still? Perhaps we should retire it?

Comment 4 Ben Beasley 2023-07-28 14:19:12 UTC
I agree that nothing depends on this in Rawhide anymore and that there doesn’t seem to be any reason to put effort into keeping it around.

Comment 5 Kevin Fenzi 2023-07-28 18:47:37 UTC
ok, orphaned it. If someone wants it they are welcome to it! :)

Comment 6 Fedora Admin user for bugzilla script actions 2023-07-29 00:48:52 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Fedora Fails To Install 2023-07-31 08:45:22 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/python-pytest-virtualenv by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 8 Fedora Release Engineering 2023-08-16 07:17:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 9 Fedora Fails To Install 2023-09-13 14:04:04 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 40.

Thanks for taking care of it!

Comment 10 Fedora Fails To Install 2023-09-13 14:05:33 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.