Skip to content

Commit

Permalink
Mark Fedora 41 as default/latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Oct 27, 2024
1 parent 825033c commit 11257ad
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Distributions Supported versions
Alpine_ 3.17-3.20, edge
Arch_ rolling
Debian_ 13 (pre-release)
Fedora_ 37-40, 41 (pre-release), 42 (rawhide)
Fedora_ 37-41, 42 (rawhide)
Manjaro_ rolling
O̶p̶e̶n̶S̶U̶S̶E Redacted due to too many upstream issues
Ubuntu_ 23.04-24.10
Expand Down
12 changes: 6 additions & 6 deletions docs/source/example-library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,22 +324,22 @@ see :ref:`the package manager cheat sheet <package_manager_cheat_sheet>`).
...
[user@manjaro-2212 io]$ sudo yum whatprovides '*/Python.h'
...
python3-devel-3.11.2-1.fc39.x86_64 : Libraries and header files needed for
python3-devel-3.11.2-1.fc41.x86_64 : Libraries and header files needed for
: Python development
Repo : fedora
Matched from:
Filename : /usr/include/python3.11/Python.h
...
[user@manjaro-2212 io]$ sudo yum whatprovides '*/brotli/decode.h'
...
brotli-devel-1.0.9-11.fc39.x86_64 : Lossless compression algorithm
brotli-devel-1.0.9-11.fc41.x86_64 : Lossless compression algorithm
: (development files)
Repo : fedora
Matched from:
Filename : /usr/include/brotli/decode.h
[user@manjaro-2212 io]$ sudo yum whatprovides '*/libbrotlienc*'
...
libbrotli-1.0.9-11.fc39.x86_64 : Library for brotli lossless compression algorithm
libbrotli-1.0.9-11.fc41.x86_64 : Library for brotli lossless compression algorithm
Repo : fedora
Matched from:
Filename : /usr/lib64/libbrotlienc.so.1
Expand Down Expand Up @@ -369,9 +369,9 @@ These are ``gcc``, ``libbrotli``, ``brotli-devel`` and ``python3-devel``.
The next ``polycotylus fedora`` run takes us to the end. ::

Built 3 artifacts:
debuginfo: .polycotylus/fedora/x86_64/python3-ubrotli-debuginfo-0.1.0-1.fc39.x86_64.rpm
debugsource: .polycotylus/fedora/x86_64/python3-ubrotli-debugsource-0.1.0-1.fc39.x86_64.rpm
main: .polycotylus/fedora/x86_64/python3-ubrotli-0.1.0-1.fc39.x86_64.rpm
debuginfo: .polycotylus/fedora/x86_64/python3-ubrotli-debuginfo-0.1.0-1.fc41.x86_64.rpm
debugsource: .polycotylus/fedora/x86_64/python3-ubrotli-debugsource-0.1.0-1.fc41.x86_64.rpm
main: .polycotylus/fedora/x86_64/python3-ubrotli-0.1.0-1.fc41.x86_64.rpm

You'll notice that this time, there are three packages produced. The one
labelled ``main`` is the one you'd distribute. See :ref:`building for Fedora
Expand Down
4 changes: 2 additions & 2 deletions docs/source/fedora.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ or newer using the commands below respectively. ::
polycotylus fedora:37
polycotylus fedora:38
polycotylus fedora:39
polycotylus fedora:40 # default
polycotylus fedora:41 # pre-release
polycotylus fedora:40
polycotylus fedora:41 # default
polycotylus fedora:42 # raw hide

Installing a package built for a different release of Fedora will usually mean
Expand Down
8 changes: 4 additions & 4 deletions polycotylus/_fedora.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class Fedora(GPGBased, BaseDistribution):
name = "fedora"
version = "40"
version = "41"
python_extras = {
"tkinter": ["python3-tkinter"],
}
Expand Down Expand Up @@ -343,11 +343,11 @@ class Fedora39(Fedora):
version = "39"


Fedora40 = Fedora
class Fedora40(Fedora):
version = "40"


class Fedora41(Fedora):
version = "41"
Fedora41 = Fedora


class Fedora42(Fedora):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fedora.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ def test_kitchen_sink(monkeypatch):
},
{
"distribution": "fedora",
"tag": "40",
"tag": "41",
"architecture": "noarch",
"variant": "main",
"path": ".polycotylus/fedora/noarch/python3-99-s1lly-name-packag3-x-y-z-1.2.3-1.fc40.noarch.rpm",
"path": ".polycotylus/fedora/noarch/python3-99-s1lly-name-packag3-x-y-z-1.2.3-1.fc41.noarch.rpm",
"signature_path": null
}
]"""
Expand Down

0 comments on commit 11257ad

Please sign in to comment.