thoth-station / thamos

A CLI tool and library for communicating with Thoth
http://thoth-station.ninja
GNU General Public License v3.0
15 stars 17 forks source link

Advising usage of EOL'd Fedora Linux is dangerous #1204

Open TomasTomecek opened 1 year ago

TomasTomecek commented 1 year ago

Bug description

Thamos tells me to consider using a distribution that is no longer supported: Fedora 34 and 35

Boot pipeline unit SolvedSoftwareEnvironmentBoot failed: No observations found for 'fedora' in version '37' using Python '3.11'

Fedora 37 and Python 3.11 is my system.

Actual behavior

https://thoth-station.ninja/j/solved_sw_env │ Consider using 'fedora' in version '34' with Python 3.9 │ ❌ ERROR
https://thoth-station.ninja/j/solved_sw_env │ Consider using 'fedora' in version '35' with Python 3.10 │ ❌ ERROR

Expected behavior

thamos would not advise me to use a system that is no longer supported

Environment information

Additional context

https://fedorapeople.org/groups/schedule/f-35/f-35-all-tasks.html (last line of the table)

goern commented 1 year ago

Hey @TomasTomecek thanks for pointing that out!

@mayaCostantini is this something that we should have as a prescription in our knowledge based?

@harshad16 or shall we consider the EOL as an event to just remove the solver?

/triage accepted /priority critical-urgent /assign @mayaCostantini

mayaCostantini commented 1 year ago

Thanks for raising this issue @TomasTomecek

Prescriptions currently inform about the concerned package being present as an RPM on a Fedora version, but I don't think the information about the system being EOL belongs there. This would be something to warn about when Thoth discovers the user's environment and it might be a better idea to keep this warning outside of the dependency resolution. Solvers should be scheduled to provide packages solved for more recent versions of Fedora and older solver data scheduled for deletion via a purge job later.

codificat commented 1 year ago

/sig stack-guidance

codificat commented 1 year ago

Related: https://github.com/thoth-station/core/issues/466