Compare commits

...
Sign in to create a new pull request.

163 commits

Author SHA1 Message Date
Benjamin A. Beasley
76223058e8 Update to 9.14.6 (close RHBZ#2428070) 2026-01-08 20:39:08 +00:00
Benjamin A. Beasley
3317693235 Update to 9.14.5 (close RHBZ#2422268) 2025-12-17 06:56:48 +00:00
Benjamin A. Beasley
dcb86aad44 Update to 9.14.4 (close RHBZ#2420467) 2025-12-09 10:50:33 +00:00
Benjamin A. Beasley
ff6c9d4c0f Update to 9.14.3 (close RHBZ#2420015) 2025-12-08 12:13:39 +00:00
Benjamin A. Beasley
10027bf8e1 Update to 9.14.2 (close RHBZ#2419388) 2025-12-07 08:11:38 +00:00
Benjamin A. Beasley
8af8519b46 Remove rpmlintrc filters for duplicate files
These are automatically hardlinked due to
https://fedoraproject.org/wiki/Changes/Hardlink_identical_files_in_packages_by_default,
so we don’t get these warnings anymore.

[skip changelog]
2025-12-07 08:11:38 +00:00
Benjamin A. Beasley
cc9bf40744 Update to 9.13.7 (close RHBZ#2413438) 2025-11-07 22:55:35 +00:00
Benjamin A. Beasley
d7bc3ba40d Update to 9.13.6 (close RHBZ#2413244) 2025-11-06 22:32:53 +00:00
Benjamin A. Beasley
26ec5d763c Update to 9.13.5 (close RHBZ#2412283) 2025-11-04 20:10:09 +00:00
Benjamin A. Beasley
a38036f178 Update to 9.13.4 (close RHBZ#2405879) 2025-10-22 23:24:30 +01:00
Benjamin A. Beasley
b46acc103d Update to 9.13.4 (close RHBZ#2405879) 2025-10-22 23:22:16 +01:00
Benjamin A. Beasley
9622b94e7c Update to 9.13.3 (close RHBZ#2404796) 2025-10-18 07:59:02 +01:00
Benjamin A. Beasley
b33ad800c4 Update to 9.13.2 (close RHBZ#2403372) 2025-10-12 21:31:03 +01:00
Benjamin A. Beasley
5cadab9482 Update to 9.13.1 (close RHBZ#2403281) 2025-10-11 22:44:55 +01:00
Benjamin A. Beasley
e1fc4d3135 Update to 9.13.0 (close RHBZ#2403096) 2025-10-11 09:08:46 +01:00
Benjamin A. Beasley
f1a429bd2b Update to 9.12.0 (close RHBZ#2401452) 2025-10-04 17:19:20 +01:00
Benjamin A. Beasley
d6336b2606 Update to 9.11.9 (close RHBZ#2401257) 2025-10-03 19:45:53 +01:00
Benjamin A. Beasley
9ca79712ed Update to 9.11.8 (close RHBZ#2401000) 2025-10-02 13:04:14 +01:00
Benjamin A. Beasley
a10f95af58 Add snakemake-logger-plugin-rich to bootstrapping docs
[skip changelog]
2025-10-02 06:59:04 +01:00
Benjamin A. Beasley
a29585e0cb Update bootstrapping documentation in the spec file
[skip changelog]
2025-10-02 06:48:15 +01:00
Benjamin A. Beasley
76f30d52d7 Update to 9.11.7 (close RHBZ#2400624) 2025-10-01 11:08:13 +01:00
Benjamin A. Beasley
49ba85d394 Update to 9.11.6 (close RHBZ#2398149) 2025-09-25 20:45:14 +01:00
Benjamin A. Beasley
22ee3e7ef6 Update to 9.11.5 (close RHBZ#2397632) 2025-09-24 14:17:51 +01:00
Benjamin A. Beasley
d982d3f492 Update to 9.11.4 (close RHBZ#2396635) 2025-09-20 07:33:41 +01:00
Python Maint
8b0c20d727 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:57:00 +02:00
Benjamin A. Beasley
bf49773d1e Update to 9.11.3 (close RHBZ#2396346) 2025-09-18 11:59:57 +01:00
Benjamin A. Beasley
1bdd3403b6 Allow PuLP 3.3 2025-09-18 10:55:42 +01:00
Benjamin A. Beasley
7d007c5ffc Update to 9.11.2 (close RHBZ#2393854) 2025-09-09 22:10:29 +01:00
Benjamin A. Beasley
5584489725 Update to 9.11.0 (close RHBZ#2393559) 2025-09-06 06:57:49 +01:00
Benjamin A. Beasley
2fbc8e9875 Update to 9.10.1 (close RHBZ#2392414) 2025-09-01 16:58:11 +01:00
Benjamin A. Beasley
85964dac50 Improve bootstrapping instructions in the spec file 2025-08-31 23:48:36 +01:00
Benjamin A. Beasley
c692946a13 Update to 9.10.0 (close RHBZ#2391749) 2025-08-30 01:45:02 +01:00
Python Maint
49c1d62610 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:18:19 +02:00
Benjamin A. Beasley
78a56d88dd Update to 9.9.0 (close RHBZ#2384291) 2025-07-29 14:57:22 -04:00
Benjamin A. Beasley
53acdf2f4e Update to 9.8.2 (close RHBZ#2383550) 2025-07-26 07:27:59 -04:00
Fedora Release Engineering
3049cd151a Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:28:08 +00:00
Benjamin A. Beasley
6763e6b95c Update to 9.8.1 (close RHBZ#2382290) 2025-07-21 06:54:52 -04:00
Benjamin A. Beasley
6632c47279 Update to 9.8.0 (close RHBZ#2379466) 2025-07-10 22:43:44 -04:00
Benjamin A. Beasley
11f507e8a6 Remove README.packit since we don’t use packit
[skip changelog]
2025-07-10 22:41:33 -04:00
Benjamin A. Beasley
e492debc47 Update to 9.7.1 (close RHBZ#2376436) 2025-07-04 14:38:27 -04:00
Benjamin A. Beasley
e542da4d9f Update to 9.6.2 (close RHBZ#2374535) 2025-06-24 07:40:54 -04:00
Benjamin A. Beasley
2995ff993e Update bootstrapping notes
There is now a test dependency on snakemake from
python-snakemake-interface-common, creating a new dependency cycle.

[skip changelog]
2025-06-23 14:06:41 -04:00
Benjamin A. Beasley
63d07bdff2 Update to 9.6.1
- Skip one flaky test
2025-06-23 12:19:50 -04:00
Benjamin A. Beasley
42c2682fdf Re-enable tests requiring google-cloud-storage 2025-06-18 08:55:22 -04:00
Benjamin A. Beasley
2d0bcdaa8b Update to a snapshot to address a Python 3.14 regression
- Do a non-bootstrap build
2025-06-12 13:10:07 -04:00
Benjamin A. Beasley
bd2da15e72 Move the description lower in the spec file
[skip changelog]
2025-06-12 11:30:27 -04:00
Benjamin A. Beasley
5a415c350b Bootstrap for Python 3.14 (close RHBZ#2372222) 2025-06-12 06:48:08 -04:00
Benjamin A. Beasley
0c50278045 Work around broken python-google-cloud-storage 2025-06-12 06:34:33 -04:00
Benjamin A. Beasley
1118337fcf Allow PuLP 3.2 2025-05-29 07:36:09 -04:00
Benjamin A. Beasley
b20ab7df8e Update to 9.5.1 (close RHBZ#2367769) 2025-05-24 20:02:01 -04:00
Benjamin A. Beasley
d4e4d6466a Update to 9.4.0 (close RHBZ#2366656) 2025-05-15 20:20:07 -04:00
Benjamin A. Beasley
191c1b2800 Update .rpmlintrc file for current rpmlint 2025-05-10 22:13:46 -04:00
Benjamin A. Beasley
d9aa4c518a Stop using Packit, since we must run a script to generate the asset-bundle source 2025-05-09 11:43:44 -04:00
Packit
ff97abfed0 Update to 9.3.4 upstream release
- Resolves: rhbz#2309617

Upstream tag: v9.3.4
Upstream commit: 67ad5eb3

Commit authored by Packit automation (https://packit.dev/)
2025-05-09 11:43:08 -04:00
Benjamin A. Beasley
7632af6245 Update to 9.3.3 (close RHBZ#2309617) 2025-05-08 21:45:06 -04:00
Benjamin A. Beasley
8d09f652b8 Update .rpmlintrc file for latest rpmlint and snakemake versions 2025-05-08 07:12:42 -04:00
Benjamin A. Beasley
af2d0a81b4 F41+: Use the provisional pyproject declarative buildsystem 2025-05-08 06:56:41 -04:00
Benjamin A. Beasley
fa2f73be88 Update to 8.30.0
- Add a weak dependency on R-core
- An asset bundle for offline HTML report generation is now included;
  this has required significant additional “machinery” to package
  properly, and adds many terms to the License field.
2025-03-21 07:42:49 -04:00
Fedora Release Engineering
f603c042a7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 11:04:54 +00:00
Benjamin A. Beasley
4ec1c48d90 Allow pulp 2.9 2024-10-13 16:25:27 -04:00
Benjamin A. Beasley
8e7fe404d8 Stop trying to generate BR’s from removed extras
[skip changelog
2024-09-20 08:25:23 -04:00
Benjamin A. Beasley
29add5f431 No longer conditionalize conda tests
We can now install conda in F41.
2024-08-22 23:29:02 -04:00
Packit
92fc68568d Update to 8.18.2 upstream release
- Resolves: rhbz#2307480

Upstream tag: v8.18.2
Upstream commit: 9a600464

Commit authored by Packit automation (https://packit.dev/)
2024-08-23 01:52:59 +00:00
Packit
6dad0db862 Update to 8.18.0 upstream release
- Resolves: rhbz#2305095

Upstream tag: v8.18.0
Upstream commit: 1b08a797

Commit authored by Packit automation (https://packit.dev/)
2024-08-15 10:21:14 +00:00
Packit
471052edf0 Update to 8.17.0 upstream release
- Resolves: rhbz#2304309

Upstream tag: v8.17.0
Upstream commit: 7e2d075f

Commit authored by Packit automation (https://packit.dev/)
2024-08-13 12:03:20 +00:00
Benjamin A. Beasley
2100ec62b6 Run tests the way upstream expects
- The result is that we run many more tests
2024-08-04 17:54:30 -04:00
Benjamin A. Beasley
c4f747fd42 Rely on python-unversioned-command
- This seems to be the best compromise around portable remote execution
2024-08-01 15:04:45 -04:00
Fedora Release Engineering
9eee5a00ac Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:56:20 +00:00
Packit
7c2af27c4e Update to 8.16.0 upstream release
- Resolves: rhbz#2297081

Upstream tag: v8.16.0
Upstream commit: 838b2fce

Commit authored by Packit automation (https://packit.dev/)
2024-07-11 12:33:11 -04:00
Packit
93f4a57911 Update to 8.15.2 upstream release
- Resolves: rhbz#2295978

Upstream tag: v8.15.2
Upstream commit: c707ea8d

Commit authored by Packit automation (https://packit.dev/)
2024-07-05 16:15:39 +00:00
Packit
037c3fd10d Update to 8.14.0 upstream release
- Resolves: rhbz#2292066

Upstream tag: v8.14.0
Upstream commit: f49d2993

Commit authored by Packit automation (https://packit.dev/)
2024-06-12 19:25:59 +00:00
Python Maint
b146c06795 Rebuilt for Python 3.13 2024-06-09 22:43:12 +02:00
Python Maint
8d2f3045b3 Bootstrap for Python 3.13 2024-06-09 17:13:15 +02:00
Packit
cd1330a4a1 Update to 8.13.0 upstream release
- Resolves: rhbz#2290700

Upstream tag: v8.13.0
Upstream commit: 6f3669d4

Commit authored by Packit automation (https://packit.dev/)
2024-06-06 10:39:52 +00:00
Packit
1812781047 Update to 8.12.0 upstream release
- Resolves: rhbz#2283549

Upstream tag: v8.12.0
Upstream commit: 0fe04591

Commit authored by Packit automation (https://packit.dev/)
2024-05-27 21:15:46 +00:00
Packit
602611c48e Update to 8.11.6 upstream release
- Resolves: rhbz#2280990

Upstream tag: v8.11.6
Upstream commit: 3eeecc67

Commit authored by Packit automation (https://packit.dev/)
2024-05-17 16:03:44 +00:00
Packit
6d711792e4 Update to 8.11.3 upstream release
- Resolves: rhbz#2278739

Upstream tag: v8.11.3
Upstream commit: 4a4eb408

Commit authored by Packit automation (https://packit.dev/)
2024-05-04 04:24:15 +00:00
Packit
d86078cae4 Update to 8.11.1 upstream release
- Resolves: rhbz#2278140

Upstream tag: v8.11.1
Upstream commit: fc70c901

Commit authored by Packit automation (https://packit.dev/)
2024-05-01 13:09:57 +00:00
Packit
eac859e659 Update to 8.11.0 upstream release
- Resolves: rhbz#2276195

Upstream tag: v8.11.0
Upstream commit: a988cef3

Commit authored by Packit automation (https://packit.dev/)
2024-04-25 11:03:24 +00:00
Packit
5e9b8d14d4 Update to 8.10.8 upstream release
- Resolves: rhbz#2276195

Upstream tag: v8.10.8
Upstream commit: 84658188

Commit authored by Packit automation (https://packit.dev/)
2024-04-20 12:02:30 +00:00
Packit
d2dca029b5 Update to 8.10.7 upstream release
- Resolves: rhbz#2274843

Upstream tag: v8.10.7
Upstream commit: 6abd8269

Commit authored by Packit automation (https://packit.dev/)
2024-04-13 06:31:01 +00:00
Benjamin A. Beasley
081b1da065 Add an rpmlintrc file
[skip changelog]
2024-04-04 22:58:31 -04:00
Packit
025292d9bc Update to 8.10.6 upstream release
- Resolves: rhbz#2273536

Upstream tag: v8.10.6
Upstream commit: b3c1dd4b

Commit authored by Packit automation (https://packit.dev/)
2024-04-04 21:58:13 +00:00
Packit
da51343d52 [packit] 8.10.4 upstream release
- Resolves: rhbz#2271076

Upstream tag: v8.10.4
Upstream commit: 41994827
2024-03-28 20:48:18 +00:00
Packit
d62d4b95be [packit] 8.9.0 upstream release
- Resolves rhbz#2270394

Upstream tag: v8.9.0
Upstream commit: 1a9515a1
2024-03-20 05:49:37 +00:00
Benjamin A. Beasley
0b1c405f43 Update to 8.8.0 2024-03-15 12:11:13 -04:00
Packit
55bab12191 [packit] 8.7.0 upstream release
- Resolves rhbz#2269498

Upstream tag: v8.7.0
Upstream commit: 05ee8126
2024-03-14 07:53:19 +00:00
Benjamin A. Beasley
e51f8eff33 Non-bootstrap build of snakemake 8.6.0 2024-03-12 09:21:02 -04:00
Packit
203f05dc9e [packit] 8.6.0 upstream release (bootstrap)
- Resolves rhbz#2269081

Upstream tag: v8.6.0
Upstream commit: 11e13944
2024-03-12 08:10:08 -04:00
Benjamin A. Beasley
fcd08278dd Patch to allow smart_open 7.x 2024-03-11 12:05:38 -04:00
Packit
24c4fd9cf9 [packit] 8.5.5 upstream release
- Resolves rhbz#2268576

Upstream tag: v8.5.5
Upstream commit: e0a6be4f
2024-03-08 11:48:45 +00:00
Packit
55702dd5c4 [packit] 8.5.4 upstream release
- Resolves rhbz#2268374

Upstream tag: v8.5.4
Upstream commit: dfd76c3a
2024-03-07 07:01:04 +00:00
Benjamin A. Beasley
cc4908806b Update to 8.5.3 2024-02-26 09:34:23 -05:00
Packit
a3fd96ca8c [packit] 8.5.2 upstream release
- Resolves rhbz#2265871

Upstream tag: v8.5.2
Upstream commit: 968a8721
2024-02-24 23:47:37 -05:00
Packit
78f2e112d1 [packit] 8.4.12 upstream release
- Resolves rhbz#2265048

Upstream tag: v8.4.12
Upstream commit: 0c9f681d
2024-02-21 14:09:28 -05:00
Packit
aa829c6cb5 [packit] 8.4.9 upstream release
- Resolves rhbz#2263559

Upstream tag: v8.4.9
Upstream commit: 8e10bfe5
2024-02-18 23:38:10 +00:00
Packit
802b30a009 [packit] 8.4.8 upstream release
- Resolves rhbz#2263559

Upstream tag: v8.4.8
Upstream commit: 74db8e59
2024-02-09 18:30:04 +00:00
Packit
6c8408437d [packit] 8.4.7 upstream release
- Resolves rhbz#2263390

Upstream tag: v8.4.7
Upstream commit: 42b50a60
2024-02-08 17:32:03 +00:00
Packit
5ec48c585d [packit] 8.4.6 upstream release
- Resolves rhbz#2263115

Upstream tag: v8.4.6
Upstream commit: 6f345d31
2024-02-07 03:33:29 +00:00
Packit
760510a64a [packit] 8.4.4 upstream release
- Resolves rhbz#2262847

Upstream tag: v8.4.4
Upstream commit: 805dd0c5
2024-02-05 14:38:15 -05:00
Packit
f7239d970e [packit] 8.4.3 upstream release
- Resolves rhbz#2259983

Upstream tag: v8.4.3
Upstream commit: 5a3ff9ef
2024-02-03 09:19:37 -05:00
Fedora Release Engineering
88fd6314ad Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 03:42:49 +00:00
Packit
7b83604f87 [packit] 8.2.3 upstream release
- Resolves rhbz#2259386

Upstream tag: v8.2.3
Upstream commit: 4195a322
2024-01-20 22:44:55 -05:00
Benjamin A. Beasley
da2ad60d4c Don’t build PDF documentation
- Drop and Obsolete the -doc subpackage

Building the documentation is becoming too tedious.
2024-01-20 22:44:55 -05:00
Benjamin A. Beasley
14fc53abc4 [packit] 8.2.1 upstream release
Upstream tag: v8.2.1
Upstream commit: c05cc9e8
2024-01-19 07:58:36 -05:00
Benjamin A. Beasley
d28443332e Non-bootstrap build 2024-01-18 23:44:30 -05:00
Packit
d9cab37bc6 [packit] 8.1.2 upstream release
- Resolves rhbz#2255578

Upstream tag: v8.1.2
Upstream commit: 41959557
2024-01-14 12:06:35 -05:00
Benjamin A. Beasley
fd294731b4 Assert that the .dist-info directory contains a license file 2024-01-05 08:08:22 -05:00
Benjamin A. Beasley
121a3eaf15 Fix mis-named “chanegelog” in repo
Merge it with the output of “rpmautospec generate-changelog”, using the
generated changelogs only after the “chanegelog” file ends.
2023-12-22 08:52:04 -05:00
Packit
10a9ff0590 [packit] 7.32.4 upstream release
Upstream tag: v7.32.4
Upstream commit: 0998cc57
2023-09-18 18:56:36 +00:00
Benjamin A. Beasley
0186d84e8b Update to 7.32.3 2023-08-10 09:22:04 -04:00
Packit
c76b093bc0 [packit] 7.32.2 upstream release
Upstream tag: v7.32.2
Upstream commit: 1c5d1547

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/snakemake.git refs/heads/*:refs/remotes/packit/*
git checkout packit/7.32.2-rawhide-update-pull_from_upstream
```
2023-08-10 08:56:19 +00:00
Ankur Sinha (Ankur Sinha Gmail)
1ad157c277
chore(packit): re-add upstream_tag_template
https://packit.dev/docs/configuration#upstream_tag_template
2023-08-10 08:56:28 +01:00
Ankur Sinha (Ankur Sinha Gmail)
4d59c89ecb
chore(packit): add koji job 2023-08-10 08:49:49 +01:00
Ankur Sinha (Ankur Sinha Gmail)
eb49a6b175
chore(packit): limit PRs to rawhide 2023-08-10 08:48:13 +01:00
Ankur Sinha (Ankur Sinha Gmail)
5eb1aca4d4
Revert "chore(packit): define upstream tag template"
This reverts commit 3f78d8a873.
2023-08-09 19:14:58 +01:00
Ankur Sinha (Ankur Sinha Gmail)
3f78d8a873
chore(packit): define upstream tag template 2023-08-09 19:03:51 +01:00
Benjamin A. Beasley
3067d27eff Don’t allow packit to report issues upstream 2023-08-05 15:00:28 -04:00
Ankur Sinha (Ankur Sinha Gmail)
137eb10a6e
chore: add packit conf 2023-08-04 15:26:20 +01:00
Benjamin A. Beasley
1555f342fd Update to 7.32.0 (close RHBZ#2229001) 2023-08-04 09:53:09 -04:00
Benjamin A. Beasley
8ca5a220c9 Update to 7.31.1 (close RHBZ#2224675) 2023-08-02 13:19:02 -04:00
Fedora Release Engineering
08dc6e4f72 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 02:00:45 +00:00
Benjamin A. Beasley
fce17580e5 Fix FTBFS due to SyntaxWarnings in Python 3.12 (fix RHBZ#2220595) 2023-07-17 12:13:17 -04:00
Python Maint
8a666775d0 Rebuilt for Python 3.12 2023-07-13 09:15:08 +02:00
Benjamin A. Beasley
afa5eb0976 Update to 7.30.1 (close RHBZ#2214110)
- Adds a metapackage for the new “azure” extra
2023-06-29 12:47:06 -04:00
Benjamin A. Beasley
7fa9c1e846 Use new (rpm 4.17.1+) bcond style 2023-06-29 12:26:12 -04:00
Benjamin A. Beasley
64ccff88d6 Install nano syntax highlighting support 2023-05-22 15:44:01 -04:00
Benjamin A. Beasley
6e316458bd Install vim syntax highlighting support 2023-05-22 15:39:45 -04:00
Benjamin A. Beasley
d34f51b642 Install bash completions 2023-05-22 15:29:56 -04:00
Benjamin A. Beasley
b4d22b4d05 Add a generated man page 2023-05-22 15:04:41 -04:00
Benjamin A. Beasley
0805312289 Update to 7.26.0 (close RHBZ#2203471) 2023-05-22 14:50:57 -04:00
Benjamin A. Beasley
315c115d3f Update to 7.25.3 (close RHBZ#2193279J) 2023-05-06 09:01:15 -04:00
Benjamin A. Beasley
4b40a4f39c Update to 7.25.2 (close RHBZ#2178275) 2023-04-29 10:17:54 -04:00
Benjamin A. Beasley
b69bfe1c82 Update to 7.24.1 (close RHBZ#2171148) 2023-03-11 14:26:14 -05:00
Benjamin A. Beasley
65b9782b3b Update to 7.22.0 (close RHBZ#2169240) 2023-02-13 11:13:06 -05:00
Benjamin A. Beasley
67fd42bdb7 Update to 7.21.0 (close RHBZ#2166983) 2023-02-08 16:18:27 -05:00
Benjamin A. Beasley
0616d19162 Update to 7.20.0 (close RHBZ#2162603) 2023-01-22 09:47:47 -05:00
Fedora Release Engineering
9c623ec1a5 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:34:51 +00:00
Benjamin A. Beasley
83bb37e01a Update to 7.19.1 (close RHBZ#2153168) 2023-01-04 10:53:26 -05:00
Benjamin A. Beasley
9c2e364332 Update to 7.8.12 (close RHBZ#2139921) 2022-12-09 12:52:11 -05:00
Benjamin A. Beasley
178270b972 Update to 7.18.1 2022-12-08 13:59:24 -05:00
Benjamin A. Beasley
4cd94acceb Update to 7.18.0 (close RHBZ#2138985) 2022-11-01 10:43:34 -04:00
Benjamin A. Beasley
224aaf9f3f Remove an obsolete spec file comment 2022-11-01 10:43:34 -04:00
Benjamin A. Beasley
5cef59dd2d Confirm the License is SPDX MIT 2022-11-01 10:40:36 -04:00
Benjamin A. Beasley
1a8225628b Simplify references to the -doc subpackage 2022-11-01 10:40:36 -04:00
Benjamin A. Beasley
165c934bcf Update to 7.17.2 (close RHBZ#2130414) 2022-10-29 22:31:36 -04:00
Benjamin A. Beasley
fe9c075c5a Update to 7.13.0 (close RHBZ#2121550) 2022-08-26 10:03:18 -04:00
Benjamin A. Beasley
f023ecbcb2 Use rsvg-convert instead of inkscape
The SVG→PDF conversion should be equivalent, but rsvg-convert will pull
in fewer recursive BR’s
2022-08-22 14:00:24 -04:00
Benjamin A. Beasley
cc27fd51c4 Update to 7.12.1 (close RHBZ#2117565) 2022-08-11 10:55:01 -04:00
Benjamin A. Beasley
f09f505d55 Update to 7.12.0 2022-07-31 09:52:18 -04:00
Benjamin A. Beasley
fb54dc4a7d Update to 7.11.0 2022-07-27 11:56:17 -04:00
Benjamin A. Beasley
55b8bf3211 Build documentation as PDF instead of HTML
See https://bugzilla.redhat.com/show_bug.cgi?id=2006555.
2022-07-24 10:47:22 -04:00
Benjamin A. Beasley
5a28cebfdb Update to 7.9.0 (close RHBZ#2039280, fix RHBZ#2099173)
- Add “extras” metapackages
- Generate BuildRequires for documentation
2022-07-24 10:47:22 -04:00
Fedora Release Engineering
fd64d8ee31 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:56:10 +00:00
Python Maint
8061879e7e Rebuilt for Python 3.11 2022-06-16 11:48:09 +02:00
Vanessa_kris
b1739be2f0 added autochanelog 2022-01-24 13:01:23 +01:00
Vanessa_kris
5f85a6b18d removed src.rpm and tar.gz 2022-01-24 11:58:12 +01:00
Vanessa_kris
ea45620ee6 update to latest release 2022-01-22 20:42:41 +01:00
Fedora Release Engineering
0c4dea306c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:12:54 +00:00
Aniket Pradhan
7776fb3162 Version update to 6.12.3 2021-12-18 16:07:57 +05:30
Aniket Pradhan
621ccfbaef Version update to v6.8.0 2021-09-09 20:48:11 +05:30
Aniket Pradhan
9837cbf7cb Version update to v6.7.0 2021-08-17 21:36:35 +05:30
Fedora Release Engineering
254fee1b25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:51:24 +00:00
7 changed files with 1033 additions and 105 deletions

138
.gitignore vendored
View file

@ -1,3 +1,141 @@
/snakemake-6.5.1.tar.gz
/snakemake-6.5.2.tar.gz
/snakemake-6.6.0.tar.gz
/snakemake-6.7.0.tar.gz
/snakemake-6.8.0.tar.gz
/snakemake-6.12.3.tar.gz
/snakemake-6.13.1.tar.gz
/snakemake-7.8.5.tar.gz
/snakemake-7.9.0.tar.gz
/snakemake-7.11.0.tar.gz
/snakemake-7.12.0.tar.gz
/snakemake-7.12.1.tar.gz
/snakemake-7.13.0.tar.gz
/snakemake-7.17.2.tar.gz
/snakemake-7.18.0.tar.gz
/snakemake-7.18.1.tar.gz
/snakemake-7.18.2.tar.gz
/snakemake-7.19.1.tar.gz
/snakemake-7.20.0.tar.gz
/snakemake-7.21.0.tar.gz
/snakemake-7.22.0.tar.gz
/snakemake-7.24.1.tar.gz
/snakemake-7.25.2.tar.gz
/snakemake-7.25.3.tar.gz
/snakemake-7.26.0.tar.gz
/snakemake-7.30.1.tar.gz
/snakemake-7.31.1.tar.gz
/snakemake-7.32.0.tar.gz
/snakemake-7.32.2.tar.gz
/snakemake-7.32.3.tar.gz
/snakemake-7.32.4.tar.gz
/snakemake-8.1.2.tar.gz
/snakemake-8.2.1.tar.gz
/snakemake-8.2.3.tar.gz
/snakemake-8.4.3.tar.gz
/snakemake-8.4.4.tar.gz
/snakemake-8.4.6.tar.gz
/snakemake-8.4.7.tar.gz
/snakemake-8.4.8.tar.gz
/snakemake-8.4.9.tar.gz
/snakemake-8.4.12.tar.gz
/snakemake-8.5.2.tar.gz
/snakemake-8.5.3.tar.gz
/snakemake-8.5.4.tar.gz
/snakemake-8.5.5.tar.gz
/snakemake-8.6.0.tar.gz
/snakemake-8.7.0.tar.gz
/snakemake-8.8.0.tar.gz
/snakemake-8.9.0.tar.gz
/snakemake-8.10.4.tar.gz
/snakemake-8.10.6.tar.gz
/snakemake-8.10.7.tar.gz
/snakemake-8.10.8.tar.gz
/snakemake-8.11.0.tar.gz
/snakemake-8.11.1.tar.gz
/snakemake-8.11.3.tar.gz
/snakemake-8.11.6.tar.gz
/snakemake-8.12.0.tar.gz
/snakemake-8.13.0.tar.gz
/snakemake-8.14.0.tar.gz
/snakemake-8.15.2.tar.gz
/snakemake-8.16.0.tar.gz
/snakemake-8.17.0.tar.gz
/snakemake-8.18.0.tar.gz
/snakemake-8.18.2.tar.gz
/snakemake-8.30.0.tar.gz
/snakemake-8.30.0-assets.tar.zst
/snakemake-9.3.3.tar.gz
/snakemake-9.3.3-assets.tar.zst
/snakemake-9.3.4.tar.gz
/snakemake-9.3.4-assets.tar.zst
/snakemake-9.4.0.tar.gz
/snakemake-9.4.0-assets.tar.zst
/snakemake-9.5.1.tar.gz
/snakemake-9.5.1-assets.tar.zst
/snakemake-6dee2b55fbfff3bdad33cecdbeb8bd55ff4586bc.tar.gz
/snakemake-6dee2b55fbfff3bdad33cecdbeb8bd55ff4586bc-assets.tar.zst
/snakemake-9.6.1.tar.gz
/snakemake-9.6.1-assets.tar.zst
/snakemake-9.6.2.tar.gz
/snakemake-9.6.2-assets.tar.zst
/snakemake-9.7.1.tar.gz
/snakemake-9.7.1-assets.tar.zst
/snakemake-9.8.0.tar.gz
/snakemake-9.8.0-assets.tar.zst
/snakemake-9.8.1.tar.gz
/snakemake-9.8.1-assets.tar.zst
/snakemake-9.8.2.tar.gz
/snakemake-9.8.2-assets.tar.zst
/snakemake-9.9.0.tar.gz
/snakemake-9.9.0-assets.tar.zst
/snakemake-9.10.0.tar.gz
/snakemake-9.10.0-assets.tar.zst
/snakemake-9.10.1.tar.gz
/snakemake-9.10.1-assets.tar.zst
/snakemake-9.11.0.tar.gz
/snakemake-9.11.0-assets.tar.zst
/snakemake-9.11.2.tar.gz
/snakemake-9.11.2-assets.tar.zst
/snakemake-9.11.3.tar.gz
/snakemake-9.11.3-assets.tar.zst
/snakemake-9.11.4.tar.gz
/snakemake-9.11.4-assets.tar.zst
/snakemake-9.11.5.tar.gz
/snakemake-9.11.5-assets.tar.zst
/snakemake-9.11.6.tar.gz
/snakemake-9.11.6-assets.tar.zst
/snakemake-9.11.7.tar.gz
/snakemake-9.11.7-assets.tar.zst
/snakemake-9.11.8.tar.gz
/snakemake-9.11.8-assets.tar.zst
/snakemake-9.11.9.tar.gz
/snakemake-9.11.9-assets.tar.zst
/snakemake-9.12.0.tar.gz
/snakemake-9.12.0-assets.tar.zst
/snakemake-9.13.0.tar.gz
/snakemake-9.13.0-assets.tar.zst
/snakemake-9.13.1.tar.gz
/snakemake-9.13.1-assets.tar.zst
/snakemake-9.13.2.tar.gz
/snakemake-9.13.2-assets.tar.zst
/snakemake-9.13.3.tar.gz
/snakemake-9.13.3-assets.tar.zst
/snakemake-9.13.4.tar.gz
/snakemake-9.13.4-assets.tar.zst
/snakemake-9.13.5.tar.gz
/snakemake-9.13.5-assets.tar.zst
/snakemake-9.13.6.tar.gz
/snakemake-9.13.6-assets.tar.zst
/snakemake-9.13.7.tar.gz
/snakemake-9.13.7-assets.tar.zst
/snakemake-9.14.2.tar.gz
/snakemake-9.14.2-assets.tar.zst
/snakemake-9.14.3.tar.gz
/snakemake-9.14.3-assets.tar.zst
/snakemake-9.14.4.tar.gz
/snakemake-9.14.4-assets.tar.zst
/snakemake-9.14.5.tar.gz
/snakemake-9.14.5-assets.tar.zst
/snakemake-9.14.6.tar.gz
/snakemake-9.14.6-assets.tar.zst

179
changelog Normal file
View file

@ -0,0 +1,179 @@
* Fri Dec 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.32.4-2
- Fix mis-named “chanegelog” in repo
* Mon Sep 18 2023 Packit <hello@packit.dev> - 7.32.4-1
- [packit] 7.32.4 upstream release
* Thu Aug 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.32.3-1
- Update to 7.32.3
* Thu Aug 10 2023 Packit <hello@packit.dev> - 7.32.2-1
- [packit] 7.32.2 upstream release
* Thu Aug 10 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-8
- chore(packit): re-add upstream_tag_template
* Thu Aug 10 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-7
- chore(packit): add koji job
* Thu Aug 10 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-6
- chore(packit): limit PRs to rawhide
* Wed Aug 09 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-5
- Revert "chore(packit): define upstream tag template"
* Wed Aug 09 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-4
- chore(packit): define upstream tag template
* Sat Aug 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.32.0-3
- Dont allow packit to report issues upstream
* Fri Aug 04 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 7.32.0-2
- chore: add packit conf
* Fri Aug 04 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.32.0-1
- Update to 7.32.0 (close RHBZ#2229001)
* Wed Aug 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.31.1-1
- Update to 7.31.1 (close RHBZ#2224675)
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.30.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 17 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.30.1-3
- Fix FTBFS due to SyntaxWarnings in Python 3.12 (fix RHBZ#2220595)
* Thu Jul 13 2023 Python Maint <python-maint@redhat.com> - 7.30.1-2
- Rebuilt for Python 3.12
* Thu Jun 29 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.30.1-1
- Update to 7.30.1 (close RHBZ#2214110)
- Adds a metapackage for the new “azure” extra
* Thu Jun 29 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-6
- Use new (rpm 4.17.1+) bcond style
* Mon May 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-5
- Install nano syntax highlighting support
* Mon May 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-4
- Install vim syntax highlighting support
* Mon May 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-3
- Install bash completions
* Mon May 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-2
- Add a generated man page
* Mon May 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.26.0-1
- Update to 7.26.0 (close RHBZ#2203471)
* Sat May 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.25.3-1
- Update to 7.25.3 (close RHBZ#2193279J)
* Sat Apr 29 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.25.2-1
- Update to 7.25.2 (close RHBZ#2178275)
* Sat Mar 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.24.1-1
- Update to 7.24.1 (close RHBZ#2171148)
* Mon Feb 13 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.22.0-1
- Update to 7.22.0 (close RHBZ#2169240)
* Wed Feb 08 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.21.0-1
- Update to 7.21.0 (close RHBZ#2166983)
* Sun Jan 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.20.0-1
- Update to 7.20.0 (close RHBZ#2162603)
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.19.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 04 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 7.19.1-1
- Update to 7.19.1 (close RHBZ#2153168)
* Fri Dec 09 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.18.2-1
- Update to 7.8.12 (close RHBZ#2139921)
* Thu Dec 08 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.18.1-1
- Update to 7.18.1
* Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.18.0-1
- Update to 7.18.0 (close RHBZ#2138985)
* Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.17.2-4
- Remove an obsolete spec file comment
* Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.17.2-3
- Confirm the License is SPDX MIT
* Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.17.2-2
- Simplify references to the -doc subpackage
* Sun Oct 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.17.2-1
- Update to 7.17.2 (close RHBZ#2130414)
* Fri Aug 26 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.13.0-1
- Update to 7.13.0 (close RHBZ#2121550)
* Mon Aug 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.12.1-2
- Use rsvg-convert instead of inkscape
* Thu Aug 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.12.1-1
- Update to 7.12.1 (close RHBZ#2117565)
* Sun Jul 31 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.12.0-1
- Update to 7.12.0
* Wed Jul 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.11.0-1
- Update to 7.11.0
* Sun Jul 24 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.9.0-2
- Build documentation as PDF instead of HTML
* Sun Jul 24 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 7.9.0-1
- Update to 7.9.0 (close RHBZ#2039280, fix RHBZ#2099173)
- Add “extras” metapackages
- Generate BuildRequires for documentation
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.13.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 6.13.1-4
- Rebuilt for Python 3.11
* Mon Jan 24 2022 Vanessa_kris <vanessaigwe1@gmail.com> - 6.13.1-3
- added autochanelog
* Mon Jan 24 2022 Vanessa Christopher <vanessaigwe1@gmail.com> - 6.13.1-2
- autorelease
* Sun Jan 23 2022 Vanessa Christopher <vanessaigwe1@gmail.com> - 6.13.1-1
- Version update to v6.13.1
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.12.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Dec 18 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.12.3-1
- Version update to v6.12.3
- Use pyproject macros
* Thu Sep 09 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.8.0-1
- Version update to v6.8.0
* Tue Aug 17 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.7.0-1
- Version update to v6.7.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 17 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.6.0-1
- Version update to v6.6.0
- Remove patches for documentation as they are no longer needed
* Mon Jul 05 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.5.2-2
- Correct the import path of napoleon extension
- Use pytest macro
* Sat Jul 03 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.5.2-1
- Initial build

88
get_assets Executable file
View file

@ -0,0 +1,88 @@
#!/bin/sh
set -o nounset
set -o errexit
DIST_GIT="$(cd "$(dirname "$0")"; pwd)"
SPEC="${DIST_GIT}/snakemake.spec"
WORKDIR="$(mktemp -d)"
trap "rm -rf '${WORKDIR}'" INT TERM EXIT
cd "${WORKDIR}"
# Make sure we have an absolute path to the working directory.
WORKDIR="${PWD}"
echo "==== Download source archive ====" 1>&2
SOURCE0="$(
spectool --list-files "${SPEC}" |
awk '$1 == "Source0:" { print $2 }'
)"
TARNAME="$(basename "${SOURCE0}")"
XDIR="$(basename "${TARNAME}" '.tar.gz')"
spectool --get-files "${SPEC}"
echo "==== Extract source archive ====" 1>&2
tar -xzf "${TARNAME}"
# Capture modification time from the original source archive, before we touch
# anything; everything in our asset archive will have this mtime for better
# reproducibility.
MTIME="$(stat --format='%Y' "${XDIR}/src/snakemake/assets/")"
echo "==== Apply patches ====" 1>&2
spectool --list-files "${SPEC}" |
awk '/^Patch/ && !/modified-assets/ { print $2 }' |
while read -r patchfile
do
set -o nounset
set -o errexit
echo "--> ${patchfile}" 1>&2
cd "${WORKDIR}/${XDIR}"
patch -p1 < "${DIST_GIT}/$(basename "${patchfile}")"
done
echo "==== Download assets ====" 1>&2
PYTHONPATH="${PWD}/${XDIR}/src/snakemake" python3 <<'EOF'
from assets import Assets
Assets.deploy()
EOF
echo "==== Modify assets ====" 1>&2
echo "--> Remove array-flat-polyfill (CC0-1.0 code, unused)" 1>&2
target='src/snakemake/assets/data/vega-lite/vega-lite.js'
echo "To be removed from ${target}:" 1>&2
grep -E '^[[:blank:]]*Array\.prototype\.flat[[:blank:]]*\|\|' \
"${XDIR}/${target}" 1>&2
sed -r -i '/^[[:blank:]]*Array\.prototype\.flat[[:blank:]]*\|\|/d' \
"${XDIR}/${target}"
echo '--> Search for vestiges of array-flat-polyfill' 1>&2
if grep -ErinI 'defineProperty\(Array\.prototype,[[:blank:]]*.flat' \
"${XDIR}/src/snakemake/assets"
then
echo 'MANUAL AUDIT REQUIRED' 1>&2
exit 1
fi
# Remove license file and the directory containing it
rm -rv "${XDIR}/src/snakemake/assets/data/array-flat-polyfill"
echo "--> Search for missed CC0-1.0 licenses" 1>&2
if grep -ErinI '\bCC0\b' "${XDIR}/src/snakemake/assets"
then
echo 'MANUAL AUDIT REQUIRED' 1>&2
exit 1
fi
echo "==== Archive assets ====" 1>&2
RESULT="${XDIR}-assets.tar.zst"
ls -ld "${XDIR}/src/snakemake/assets/"
# https://www.gnu.org/software/tar/manual/html_section/Reproducibility.html
TZ=UTC LC_ALL=C tar \
--create \
--sort=name \
--format=posix \
--numeric-owner --owner=0 --group=0 \
--mode=go+u,go-w \
--pax-option='delete=atime,delete=ctime' \
--clamp-mtime --mtime="@${MTIME}" \
--directory="${XDIR}" \
src/snakemake/assets/data |
zstdmt --ultra -22 > "${RESULT}"
mv -v "${RESULT}" "${DIST_GIT}"

View file

@ -0,0 +1,44 @@
diff -Naur snakemake-9.1.1-original/src/snakemake/assets/__init__.py snakemake-9.1.1/src/snakemake/assets/__init__.py
--- snakemake-9.1.1-original/src/snakemake/assets/__init__.py 2025-03-21 14:49:12.112309938 -0400
+++ snakemake-9.1.1/src/snakemake/assets/__init__.py 2025-03-21 14:49:56.495171724 -0400
@@ -379,9 +379,12 @@
version="0.6.2",
),
# End copied/derived/adapted code in vega, included in vega/vega.js
+ # Fedora patch: We have removed array-flat-polyfill from the bundle
+ # since its CC0-1.0 code is not-allowed for code; the checksum of the
+ # packaged bundle therefore differs from that of the published one.
"vega-lite/vega-lite.js": Asset(
url="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/{version}/vega-lite.js",
- sha256="6eb7f93121cd9f44cf8640244f87c5e143f87c7a0b6cd113da4a9e41e3adf0aa",
+ sha256="5b9880c2bf7c1daac912ca1e80b384daf2e7dedc3c6b62bc5159ed86d3c51c7b",
version="5.2.0",
),
"vega-lite/LICENSE": Asset(
@@ -428,13 +431,6 @@
sha256="c2cfccb812fe482101a8f04597dfc5a9991a6b2748266c47ac91b6a5aae15383",
version="2.1.1",
),
- "array-flat-polyfill/LICENSE": Asset(
- # Releases are not tagged in git; we use the commit hash
- # corresponding to the 1.0.1 release
- url="https://raw.githubusercontent.com/jonathantneal/array-flat-polyfill/362d855cb6ea2ef12f0676b116c5f9e4233b6f31/LICENSE.md",
- sha256="597756adcb51f243ef4fb386920377f61d012ace0904364e1a8ee9aaec6afc84",
- version="1.0.1",
- ),
"clone/LICENSE": Asset(
url="https://raw.githubusercontent.com/pvorb/clone/refs/tags/v{version}/LICENSE",
sha256="3fb0857ef0133928cf72c88dfc464e931486e88778961eedec25585e2321507f",
diff -Naur snakemake-9.1.1-original/src/snakemake/report/html_reporter/data/packages.py snakemake-9.1.1/src/snakemake/report/html_reporter/data/packages.py
--- snakemake-9.1.1-original/src/snakemake/report/html_reporter/data/packages.py 2025-03-21 14:49:08.721489278 -0400
+++ snakemake-9.1.1/src/snakemake/report/html_reporter/data/packages.py 2025-03-21 14:49:56.496478714 -0400
@@ -143,9 +143,6 @@
"@types-clone": Package(
license_path="@types-clone/LICENSE",
),
- "array-flat-polyfill": Package(
- license_path="array-flat-polyfill/LICENSE",
- ),
"clone": Package(
license_path="clone/LICENSE",
),

12
snakemake.rpmlintrc Normal file
View file

@ -0,0 +1,12 @@
# It is normal that extras metapackages should not have documentation, or any
# files at all.
addFilter(r"\+\w+.noarch: W: no-documentation")
# Removed in Snakemake 9.6 with no equivalent replacement.
addFilter(r" obsolete-not-provided snakemake\+(messaging)$")
# The -doc subpackage was removed and has no equivalent replacement.
addFilter(r" obsolete-not-provided snakemake-doc$")
# This is, unfortunately, intentional. See the comments in the spec file.
addFilter(r" python-leftover-require python-unversioned-command$")
# The assets bundle needs to be generated with a script, so it has no URL (and
# .tar.zst is perfectly legitimate).
addFilter(r" (invalid-url|inconsistent-file-extension).* snakemake-.*-assets\.tar\.zst")

View file

@ -1,7 +1,396 @@
%bcond_without tests
%global debug_package %{nil}
# Work around a series of circular test dependencies:
#
# ⬐─python-snakemake-logger-plugin-rich🠔────╮
# python-snakemake-interface-logger-plugins─╯
# │↑python-snakemake-interface-scheduler-plugins
# │││↑ python-snakemake-interface-report-plugins
# ↓│↓│ ↓↑ ⬐───╮
# snakemake → python-snakemake-interface-executor-plugins⬎
# ↑↑↑ │ ⬑────────────────────python-snakemake-executor-plugin-cluster-generic
# │││ ↳python-snakemake-interface-storage-plugins─────────────────╮
# │││ ↓────────────────╮│
# ││╰────────────────────────python-snakemake-storage-plugin-http││
# │╰─────────────────────────python-snakemake-storage-plugin-s3🠔─╯│
# ╰──────────────────────────python-snakemake-storage-plugin-fs🠔──╯
#
# A good build order is:
#
# 1. BOOTSTRAP:
# python-snakemake-interface-common
# 2. BOOTSTRAP:
# python-snakemake-interface-executor-plugins
# python-snakemake-interface-logger-plugins
# python-snakemake-interface-report-plugins
# python-snakemake-interface-scheduler-plugins
# python-snakemake-interface-storage-plugins
# 3. BOOTSTRAP: snakemake
# 4. python-snakemake-executor-plugin-cluster-generic
# python-snakemake-logger-plugin-rich
# python-snakemake-storage-plugin-fs
# python-snakemake-storage-plugin-http
# python-snakemake-storage-plugin-s3
# 5. snakemake
# python-snakemake-interface-executor-plugins
# python-snakemake-interface-logger-plugins
# python-snakemake-interface-report-plugins
# python-snakemake-interface-scheduler-plugins
# python-snakemake-interface-storage-plugins
%bcond bootstrap 0
%bcond tests %{without bootstrap}
# Run tests that require network access? This only makes sense for local mock
# builds in combination with --enable-network.
%bcond network_tests 0
# Almost all of the conda tests require network access, but there are also
# other failures that are not straightforward to understand.
%bcond conda_tests 0
%bcond gcs_tests 1
%global pypi_name snakemake
Name: snakemake
Version: 9.14.6
%global srcversion %(echo '%{version}' | cut -d '^' -f 1)
Release: %autorelease
Summary: Workflow management system to create reproducible and scalable data analyses
# The primary license for Snakemake is MIT; web assets contribute a variety of
# other licenses.
#
# Apache-2.0 AND BSD-2-Clause AND BSD-3-CLause AND ISC AND MIT AND MIT-0:
# - src/snakemake/assets/data/vega/vega.js
#
# BSD-3-Clause AND MIT:
# - src/snakemake/assets/data/vega-lite/vega-lite.js
#
# BSD-3-Clause AND ISC AND MIT:
# - src/snakemake/assets/data/vega-embed/vega-embed.js
#
# MIT:
# - All Snakemake code unless otherwise noted
# - heroicons: It is unclear if anything derived from heroicons is actually
# present in the package, but upstream carries a copy of its license file, so
# we mention the possibility.
# - src/snakemake/assets/data/prop-types/prop-types.min.js
# - src/snakemake/assets/data/tailwindcss/tailwind.css
#
# == License breakdown: src/snakemake/assets/data/vega/vega.js ==
#
# The primary license for npm(vega) is BSD-3-Clause. The bundle contains:
#
# Apache-2.0:
# - apache-commons-math, from which an implementation of erfinv is derived
# BSD-2-Clause:
# - npm(esprima), bundled as a copied, derived, or adapted snippet
# BSD-3-Clause:
# - npm(vega) and various npm(vega-*) libraries
# - npm(d3-contour), bundled as a copied, derived, or adapted snippet
# - npm(d3-regression), bundled as a copied, derived, or adapted snippet
# - npm(science), bundled as a copied, derived, or adapted snippet
# - npm(shapefile), bundled as a copied, derived, or adapted snippet
# ISC:
# - various npm(d3-*) libraries
# - npm(delaunator)
# - npm(quickselect)
# - npm(topojson-client)
# ISC AND MIT:
# - npm(d3-geo) (MIT is due to some code being derived from GeographicLib)
# - npm(d3-geo-projection) (MIT is due to some code being derived from
# https://github.com/scijs/integrate-adaptive-simpson)
# MIT:
# - npm(@types/estree)
# - npm(hashlru), bundled as a copied, derived, or adapted snippet
# - npm(regression), bundled as a copied, derived, or adapted snippet
# MIT-0:
# - npm(fabric), bundled as a copied, derived, or adapted snippet
#
# == License breakdown: src/snakemake/assets/data/vega-lite/vega-lite.js ==
#
# The primary license for npm(vega-lite) is BSD-3-Clause. The bundle contains:
#
# BSD-3-Clause:
# - npm(vega-lite) and various npm(vega-*) libraries
# MIT:
# - npm(@types/clone)
# - npm(@types/estree)
# - npm(clone)
# - npm(fast-deep-equal)
# - npm(fast-json-stable-stringify)
# - npm(hashlru), bundled as a copied, derived, or adapted snippet
# - npm(json-stringify-pretty-compact)
#
# == License breakdown: src/snakemake/assets/data/vega-embed/vega-embed.js ==
#
# The primary license for npm(vega-embed) is BSD-3-Clause. The bundle contains:
#
# BSD-3-Clause:
# - npm(vega-embed) and various npm(vega-*) libraries
# ISC:
# - npm(semver)
# MIT:
# - npm(fast-json-patch)
# - npm(json-stringify-pretty-compact)
License: %{shrink:
Apache-2.0 AND
BSD-2-Clause AND
BSD-3-Clause AND
ISC AND
MIT AND
MIT-0
}
URL: https://snakemake.readthedocs.io/en/stable/index.html
%global forgeurl https://github.com/snakemake/snakemake
# We could use the PyPI sdist, which already contains the HTML report assets,
# but we would lose at least the vim extensions and changelog, and we would
# have to nontrivially modify the sdist to remove a CC0-1.0-licensed polyfill
# before uploading it to the lookaside cache, so doing so would not be
# meaningfully easier than using the GitHub archive with an additional source
# for the assets.
Source0: %{forgeurl}/archive/v%{version}/snakemake-%{version}.tar.gz
# The assets for HTML reports are normally downloaded in setup.py when creating
# the sdist. We use a script, Source2, executed with no arguments (implicitly
# relying on the spec file in the same directory) to download the assets,
# modify them as necessary, and pack them into an additional source archive.
Source1: snakemake-%{version}-assets.tar.zst
Source2: get_assets
# Downstream-only: adjust the asset metadata in the sources, including
# checksums, for any adjustments that happened in the get_assets script.
#
# When the get_assets script unpacks and patches Source0 in order to use it to
# download assets, it skips this patch, because we need to first fetch the
# original assets in order to then modify them. The signal for this behavior is
# the substring "modified-assets" in the patch name.
Patch: snakemake-9.1.1-modified-assets.patch
BuildSystem: pyproject
# Generate BRs for all supported extras to ensure they do not FTI
BuildOption(generate_buildrequires): -x reports
BuildOption(install): -l snakemake
BuildOption(check): %{shrink:
-e '*.tests*'
%{?!with_gcs_tests:-e 'snakemake.executors.google_lifesciences_helper'}
}
BuildArch: noarch
BuildRequires: help2man
# Snakemake uses (unversioned) "python" as the default remote execution
# command. Because remote hosts could be Windows machines, and those are likely
# to lack "python3.exe" (see https://github.com/python/cpython/issues/99185),
# we didnt try to convince upstream to change this. Instead, we (reluctantly)
# just make sure that our own Snakemake installations are compatible by
# depending on python-unversioned-command.
BuildRequires: python-unversioned-command
Requires: python-unversioned-command
BuildRequires: vim-filesystem
Requires: vim-filesystem
# Required for snakemake.script.RScript, snakemake.notebook.RJupyterNotebook
# (Some of the tests in tests/tests_using_conda.py require this.)
BuildRequires: R-core
Recommends: R-core
Provides: vim-snakemake = %{version}-%{release}
# Regarding pre-compiled/pre-minified JavaScript, see:
# - https://pagure.io/fesco/issue/3177
# - https://pagure.io/packaging-committee/pull-request/1370
# Regarding CSS, see:
# - https://pagure.io/fesco/issue/3269
# - https://pagure.io/packaging-committee/pull-request/1402
# Styles from Pygments are bundled in generated HTML reports (thus the presence
# of a Pygments license file), but the styles come from the system
# python3-pygments package and are not actually bundled in this package.
# tailwind.css 3.4.16 is src/snakemake/assets/data/tailwindcss/tailwind.css,
# but we do not normally treat CSS frameworks as bundled dependencies, and it
# is not clear how we should name a virtusl Provides if we added one.
# src/snakemake/assets/data/react/react.production.min.js
Provides: bundled(npm(react)) = 18.2.0
# src/snakemake/assets/data/react/react-dom.production.min.js
Provides: bundled(npm(react-dom)) = 18.2.0
# src/snakemake/assets/data/vega/vega.js
Provides: bundled(npm(vega)) = 5.21.0
# Bundled in src/snakemake/assets/data/vega/vega.js as dependencies:
# For versions of vega-* packages, see:
# https://github.com/vega/vega/blob/v5.21.0/packages
Provides: bundled(npm(vega-crossfilter)) = 4.0.5
Provides: bundled(npm(vega-dataflow)) = 5.7.4
Provides: bundled(npm(vega-encode)) = 4.8.3
Provides: bundled(npm(vega-event-selector)) = 3.0.0
Provides: bundled(npm(vega-expression)) = 5.0.0
Provides: bundled(npm(vega-force)) = 4.0.7
Provides: bundled(npm(vega-format)) = 1.0.4
Provides: bundled(npm(vega-functions)) = 5.12.1
Provides: bundled(npm(vega-geo)) = 4.3.8
Provides: bundled(npm(vega-hierarchy)) = 4.0.9
Provides: bundled(npm(vega-label)) = 1.1.0
Provides: bundled(npm(vega-loader)) = 4.4.1
Provides: bundled(npm(vega-parser)) = 6.1.4
Provides: bundled(npm(vega-projection)) = 1.4.5
Provides: bundled(npm(vega-regression)) = 1.0.9
Provides: bundled(npm(vega-runtime)) = 6.1.3
Provides: bundled(npm(vega-scale)) = 7.1.1
Provides: bundled(npm(vega-scenegraph)) = 4.9.4
Provides: bundled(npm(vega-statistics)) = 5.3.1
Provides: bundled(npm(vega-time)) = 2.0.4
Provides: bundled(npm(vega-transforms)) = 4.9.5
Provides: bundled(npm(vega-typings)) = 0.22.0
Provides: bundled(npm(vega-util)) = 1.17.0
Provides: bundled(npm(vega-view)) = 5.10.1
Provides: bundled(npm(vega-view-transforms)) = 4.5.8
Provides: bundled(npm(vega-voronoi)) = 4.1.5
Provides: bundled(npm(vega-wordcloud)) = 4.1.3
# For these, see notes in src/snakemake/assets/__init__.py.
Provides: bundled(npm(@types/estree)) = 0.0.50
Provides: bundled(npm(d3-array)) = 2.12.1
Provides: bundled(npm(d3-color)) = 2.0.0
Provides: bundled(npm(d3-delaunay)) = 5.2.0
Provides: bundled(npm(d3-dispatch)) = 2.0.0
Provides: bundled(npm(d3-dsv)) = 2.0.0
Provides: bundled(npm(d3-force)) = 2.1.1
Provides: bundled(npm(d3-format)) = 2.0.0
Provides: bundled(npm(d3-geo)) = 2.0.2
Provides: bundled(npm(d3-geo-projection)) = 3.0.0
Provides: bundled(npm(d3-hierarchy)) = 2.0.0
Provides: bundled(npm(d3-interpolate)) = 2.0.1
Provides: bundled(npm(d3-path)) = 2.0.0
Provides: bundled(npm(d3-quadtree)) = 2.0.0
Provides: bundled(npm(d3-scale)) = 3.3.0
Provides: bundled(npm(d3-shape)) = 2.1.0
Provides: bundled(npm(d3-time)) = 2.1.1
Provides: bundled(npm(d3-time-format)) = 3.0.0
Provides: bundled(npm(d3-timer)) = 2.0.0
Provides: bundled(npm(delaunator)) = 4.0.1
Provides: bundled(npm(topojson-client)) = 3.1.0
# Present in src/snakemake/assets/data/vega/vega.js in the form of copied,
# derived, or adapted snippets. See notes in src/snakemake/assets/__init__.py.
# Implementation of erfinv is based on:
Provides: bundled(apache-commons-math) = 3.6.1
# Expression parser is based on:
Provides: bundled(esprima) = 2.2.0
Provides: bundled(fabric) = 2.4.5
Provides: bundled(npm(d3-contour)) = 1.3.2
Provides: bundled(npm(d3-regression)) = 1.2.1
Provides: bundled(npm(hashlru)) = 1.0.4
Provides: bundled(npm(quickselect)) = 2.0.0
Provides: bundled(npm(regression)) = 2.0.1
Provides: bundled(npm(science)) = 1.9.3
Provides: bundled(npm(shapefile)) = 0.6.2
# src/snakemake/assets/data/vega-lite/vega-lite.js
Provides: bundled(npm(vega-lite)) = 5.2.0
# NOTE: Some of the following virtual Provides are commented out. These are
# correct, and need to be considered when determining the license of
# vega-lite.js, but they do not need to be repeated in the spec file because
# they duplicate virtual Provides from vega.js.
#
# Bundled in src/snakemake/assets/data/vega-lite/vega-lite.js as dependencies:
# See notes in src/snakemake/assets/__init__.py.
Provides: bundled(npm(@types/clone)) = 2.1.1
Provides: bundled(npm(clone)) = 2.1.2
Provides: bundled(npm(fast-deep-equal)) = 3.1.3
Provides: bundled(npm(fast-json-stable-stringify)) = 2.1.0
Provides: bundled(npm(json-stringify-pretty-compact)) = 3.0.0
# See notes in src/snakemake/assets/__init__.py, as well as dependencies in
# https://github.com/vega/vega-lite/blob/v5.2.0/package.json, and for versions,
# see https://github.com/vega/vega-lite/blob/v5.2.0/yarn.lock; these correspond
# to those associated with vega 5.2.1.
#Provides: bundled(npm(@types/estree)) = 0.0.50
#Provides: bundled(npm(vega-event-selector)) = 3.0.0
#Provides: bundled(npm(vega-expression)) = 5.0.0
#Provides: bundled(npm(vega-util)) = 1.17.0
# Present in src/snakemake/assets/data/vega-lite/vega-lite.js in the form of
# copied, derived, or adapted snippets. See notes in
# src/snakemake/assets/__init__.py.
#Provides: bundled(npm(hashlru)) = 1.0.4
# src/snakemake/assets/data/vega-embed/vega-embed.js
Provides: bundled(npm(vega-embed)) = 6.20.8
# NOTE: Some of the following virtual Provides are commented out. These are
# correct, and need to be considered when determining the license of
# vega-embed.js, but they do not need to be repeated in the spec file because
# they duplicate virtual Provides from vega.js and/or vega-lite.js.
#
# Bundled in src/snakemake/assets/data/vega-embed/vega-embed.js as
# dependencies:
# See notes in src/snakemake/assets/__init__.py.
Provides: bundled(npm(fast-json-patch)) = 3.1.0
#Provides: bundled(npm(json-stringify-pretty-compact)) = 3.0.0
Provides: bundled(npm(semver)) = 7.3.5
# See notes in src/snakemake/assets/__init__.py, as well as dependencies in
# https://github.com/vega/vega-embed/blob/v6.20.8/package.json, and for
# versions, see https://github.com/vega/vega-embed/blob/v6.20.8/yarn.lock;
# these correspond to those associated with vega 5.2.1.
Provides: bundled(npm(vega-interpreter)) = 1.0.4
Provides: bundled(npm(vega-schema-url-parser)) = 2.2.0
Provides: bundled(npm(vega-themes)) = 2.10.0
Provides: bundled(npm(vega-tooltip)) = 0.28.0
#Provides: bundled(npm(vega-util)) = 1.17.0
# Present in src/snakemake/assets/data/vega-embed/vega-embed.js in the form of
# copied, derived, or adapted snippets. See notes in
# src/snakemake/assets/__init__.py.
#Provides: bundled(npm(hashlru)) = 1.0.4
# _areEquals() is based on:
#Provides: bundled(npm(fast-deep-equal)) = 3.1.3
# It is unclear if anything derived from heroicons is actually present in the
# package, but upstream carries a copy of its license file, so we dutifully add
# the virtual Provides, just in case we have missed something.
Provides: bundled(npm(heroicons)) = 1.0.3
# src/snakemake/assets/data/prop-types/prop-types.min.js
Provides: bundled(npm(prop-types)) = 15.7.2
# We no longer build Sphinx-generated PDF documentation. Beginning with 8.2.3,
# this would require patching out sphinxawesome-theme from docs/conf.py. Its
# possible but tedious.
Obsoletes: snakemake-doc < 8.2.1-2
# Removed in 9.6.0; keep the Obsoletes through Fedora 45.
Obsoletes: snakemake+messaging < 9.6.1-1
%if %{with tests}
# For several tests (either apptainer or singularity-ce should work):
BuildRequires: (apptainer or singularity-ce)
%if %{with conda_tests}
# We need this for test_jupyter_notebook*, even if we are not running tests
# that have conda in their names. When the conda_tests bcond is enabled, this
# is also needed for tests/tests_using_conda.py.
BuildRequires: conda
# For test_conda_pin_file, test_conda_named, test_conda_function
BuildRequires: ripgrep
# For test_script_xsh
BuildRequires: xonsh
%endif
# For test_env_modules:
BuildRequires: environment-modules
# For test_filegraph and test_env_modules, which use dot:
BuildRequires: graphviz
# For test_github_issue1158:
BuildRequires: strace
# For test_benchmark and test_benchmark_jsonl:
BuildRequires: stress-ng
# See test-environment.yml for a listing of test dependencies, along with a lot
# of other cruft.
BuildRequires: %{py3_dist boto3}
BuildRequires: %{py3_dist pandas}
BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist pytest-mock}
BuildRequires: %{py3_dist snakemake-executor-plugin-cluster-generic}
BuildRequires: %{py3_dist snakemake-storage-plugin-http}
BuildRequires: %{py3_dist snakemake-storage-plugin-fs}
BuildRequires: %{py3_dist snakemake-storage-plugin-s3}
%endif
# For import-testing snakemake.gui
BuildRequires: %{py3_dist flask}
%if %{with gcs_tests}
# For import-testing snakemake.executors.google_lifesciences_helper:
BuildRequires: %{py3_dist google-cloud-storage}
%endif
%global _description %{expand:
The Snakemake workflow management system is a tool to create reproducible and
@ -11,123 +400,200 @@ cloud environments, without the need to modify the workflow definition.
Finally, Snakemake workflows can entail a description of required software,
which will be automatically deployed to any execution environment.}
Name: %{pypi_name}
Version: 6.6.0
Release: 1%{?dist}
Summary: Workflow management system to create reproducible and scalable data analyses
License: MIT
URL: https://snakemake.readthedocs.io/en/stable/index.html
Source0: https://github.com/%{pypi_name}/%{pypi_name}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
BuildRequires: make
Requires: %{py3_dist smart_open}
%if %{with tests}
BuildRequires: %{py3_dist pytest}
BuildRequires: %{py3_dist pytest-cov}
BuildRequires: %{py3_dist requests-mock}
BuildRequires: %{py3_dist filelock}
BuildRequires: %{py3_dist datrie}
BuildRequires: %{py3_dist ratelimiter}
BuildRequires: %{py3_dist pyyaml}
BuildRequires: %{py3_dist numpy}
BuildRequires: %{py3_dist pandas}
BuildRequires: %{py3_dist jsonschema}
BuildRequires: %{py3_dist networkx}
BuildRequires: %{py3_dist graphviz}
BuildRequires: %{py3_dist GitPython}
BuildRequires: %{py3_dist configargparse}
BuildRequires: %{py3_dist appdirs}
BuildRequires: %{py3_dist docutils}
BuildRequires: %{py3_dist boto3}
BuildRequires: %{py3_dist smart_open}
BuildRequires: %{py3_dist tabulate}
%endif
%py_provides %{pypi_name}
%description %_description
%package -n snakemake-doc
Summary: %{summary}
# No metapackage for “pep” extra because the following are not packaged:
# - python3-eido
# - python3-peppy
# Therefore, also no metapakge for “all” extra
%pyproject_extras_subpkg -n snakemake reports
BuildArch: noarch
BuildRequires: %{py3_dist sphinx}
BuildRequires: %{py3_dist sphinx-argparse}
BuildRequires: %{py3_dist sphinx_rtd_theme}
BuildRequires: %{py3_dist recommonmark}
BuildRequires: %{py3_dist docutils}
BuildRequires: %{py3_dist configargparse}
BuildRequires: %{py3_dist appdirs}
%description -n snakemake-doc %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n snakemake-%{version} -p1
%setup -q -T -D -a 1 -c -n snakemake-%{version}
rm -rf %{pypi_name}.egg-info
find %{pypi_name}/ -name "*.cpp" -print -delete
find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';'
# Copy and rename nano and vim extensions readmes for use in the main
# documentation directory.
for editor in nano vim
do
cp -vp "misc/${editor}/README.md" "README-${editor}.md"
done
# Remove shebang from non-executable script
sed -i '1d' snakemake/executors/jobscript.sh
# The CDN URL for tailwind.css does not deliver a file with a stable checksum,
# so upstream has not recorded a checksum in src/snakemake/assets/__init__.py.
# A consequence of this is that setup.py will *always* re-download
# tailwind.css, even if it is already present, when building an sdist or
# bdist/wheel. Of course, this is not acceptable in an offline build, so we
# record the actual checksum of the tailwind.css file we are packaging.
cat >> src/snakemake/assets/__init__.py <<EOF
# Rename subprocess call 'python' to 'python3'
sed -i 's/python/python3/g' tests/test_linting.py
# Fedora patch: Upstream does not record a checksum for tailwind.css because
# they report that the CDN URL may serve trivially different copies. Since we
# package a copy of the file, we record the checksum of the actual packaged
# file.
Assets.spec["tailwindcss/tailwind.css"].sha256 = "$(
sha256sum -b src/snakemake/assets/data/tailwindcss/tailwind.css |
awk '{print $1}'
)"
EOF
%build
%py3_build
pushd docs/
mkdir -p _build/doctrees
mkdir -p _build/html
make %{?_smp_mflags} html
popd
%generate_buildrequires -p
export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
%install
%py3_install
%check
%build -p
export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
%install -a
# Fix shebangs (no /usr/env shebangs)
%py3_shebang_fix %{buildroot}%{python3_sitelib} %{buildroot}%{_bindir}
# Remove shebangs from non-executable scripts. The Python script is executable
# in the source tree but will be installed without executable permissions.
sed -r -i '1{/^#!/d}' \
%{buildroot}%{python3_sitelib}/snakemake/executors/jobscript.sh \
%{buildroot}%{python3_sitelib}/snakemake/executors/google_lifesciences_helper.py
# Mark license files in the asset bundle.
sed -r -i 's@^.*/(LICEN[CS]E|NOTICE)[^/]*$@%%license &@' %{pyproject_files}
# We wait until %%install to generate the man page so that we can use the
# proper script entry point. The generated man page is not perfect, but it is
# good enough to be useful.
install -d %{buildroot}%{_mandir}/man1
PATH="${PATH-}:%{buildroot}%{_bindir}" \
PYTHONPATH='%{buildroot}%{python3_sitelib}' \
help2man --no-info --name='%{summary}' snakemake \
> %{buildroot}%{_mandir}/man1/snakemake.1
# Install nano syntax highlighting
install -t '%{buildroot}%{_datadir}/nano' -D -m 0644 -p \
misc/nano/syntax/snakemake.nanorc
# Install vim syntax highlighting
install -d '%{buildroot}%{_datadir}/vim/vimfiles'
cp -vrp misc/vim/* '%{buildroot}%{_datadir}/vim/vimfiles'
find '%{buildroot}%{_datadir}/vim/vimfiles' \
-type f -name 'README.*' -print -delete
%check -a
%if %{with tests}
export PYTHONPATH=%{buildroot}%{python3_sitelib}
# tests/test_tibanna needs a network connection, therefore disabled.
# tests/test_google_lifesciences.py requires the Google Cloud library for python
# tests/test_tes.py requires py-tes. Currently not packaged for Fedora
%pytest\
--ignore tests/test_google_lifesciences.py\
--deselect tests/test_tibanna.py\
--deselect tests/test_tes.py
%if %{without network_tests}
# The following require network access (at least DNS) and pass if it is
# available.
k="${k-}${k+ and }not test_ancient"
k="${k-}${k+ and }not test_dynamic_container"
k="${k-}${k+ and }not test_github_issue78"
k="${k-}${k+ and }not test_issue1083"
k="${k-}${k+ and }not test_issue3361_pass"
k="${k-}${k+ and }not test_keep_local"
k="${k-}${k+ and }not test_modules_prefix"
k="${k-}${k+ and }not test_report_after_run"
k="${k-}${k+ and }not test_retrieve"
k="${k-}${k+ and }not test_shell_exec"
%endif
%files
%doc README.md
%license LICENSE.md
%{_bindir}/%{pypi_name}
%{_bindir}/%{pypi_name}-bash-completion
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
# These use the s3_storage test fixture, which sets up a server on the local
# loopback interface. For some reason, this does not seem to work in mock, with
# or without network access enabled. It is very likely that this is a quirk of
# the build environment rather than a real issue.
k="${k-}${k+ and }not test_default_storage"
k="${k-}${k+ and }not test_default_storage_local_job"
k="${k-}${k+ and }not test_output_file_cache_storage"
k="${k-}${k+ and }not test_storage"
# The following requires cwltool,
# https://github.com/common-workflow-language/cwltool, which is not packaged.
k="${k-}${k+ and }not test_cwl_singularity"
# The following requires polars, which is not packaged.
k="${k-}${k+ and }not test_params_pickling"
k="${k-}${k+ and }not test_validate"
# The following require the “pep” extra. They might also require network
# access.
k="${k-}${k+ and }not test_modules_peppy"
k="${k-}${k+ and }not test_pep_pathlib"
k="${k-}${k+ and }not test_peppy"
%if %{without conda_tests}
# All of these try to call conda info --json. We might experiment with making
# conda an unconditional BuildRequires, or with enabling the conda_tests bcond
# and filtering out the tests we cannot run, but we should wait for:
#
# F43FailsToInstall: python3-conda
# https://bugzilla.redhat.com/show_bug.cgi?id=2371696
k="${k-}${k+ and }not test_jupyter_notebook"
k="${k-}${k+ and }not test_jupyter_notebook_nbconvert"
k="${k-}${k+ and }not test_jupyter_notebook_draft"
%endif
# Flaky; so far, we have not attempted to understand or report these.
#
# FAILED ../tests/tests.py::test_update_flag - AssertionError: wrong result
# produced for file 'test.txt':
# ------found------
# foo
# -----expected-----
# foo
# bar
# -----------------
k="${k-}${k+ and }not test_update_flag"
# FAILED ../tests/tests.py::test_queue_input_dryrun -
# snakemake_interface_common.exceptions.WorkflowError: At least one job did not
# complete successfully.
# (produces no other useful output)
# Hangs on s390x; we have not attempted to understand or report this, although
# it would be nice to do so. For simplicity, we just skip it on all
# architectures.
k="${k-}${k+ and }not test_github_issue1158"
# Workaround for Python path issues
cd src/
# See discussion in https://github.com/snakemake/snakemake/issues/2961
# regarding running individual tests explicitly rather than letting pytest
# discover them freely, and see the “Running the full test suite” section in
# docs/project_info/contributing.rst for the list of tests that should be run.
# - tests/test_api.py requires network access and S3 credentials
%pytest -v -k "${k-}" ${ignore-} \
../tests/tests.py \
%if %{with conda_tests}
../tests/tests_using_conda.py \
%endif
../tests/test_expand.py \
../tests/test_io.py \
../tests/test_schema.py \
../tests/test_linting.py \
../tests/test_executor_test_suite.py \
../tests/test_internals.py
%endif
%files -f %{pyproject_files}
%doc CHANGELOG.md
%doc README.md
%doc README-nano.md
%doc README-vim.md
%{_bindir}/snakemake
%{_mandir}/man1/snakemake.1*
# This is not owned by the filesystem package, and there is no nano-filesystem
# subpackage, so we co-own the directory to avoid depending on nano.
%dir %{_datadir}/nano/
%{_datadir}/nano/snakemake.nanorc
%{_datadir}/vim/vimfiles/ftdetect/snakemake.vim
%{_datadir}/vim/vimfiles/ftplugin/snakemake/
%{_datadir}/vim/vimfiles/syntax/snakemake.vim
%files -n snakemake-doc
%license LICENSE.md
%doc docs/_build/html docs/_build/doctrees
%changelog
* Sat Jul 17 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.6.0-1
- Version update to v6.6.0
- Remove patches for documentation as they are no longer needed
* Mon Jul 05 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.5.2-2
- Correct the import path of napoleon extension
- Use pytest macro
* Sat Jul 03 2021 Aniket Pradhan <major AT fedoraproject DOT org> - 6.5.2-1
- Initial build
%autochangelog

View file

@ -1 +1,2 @@
SHA512 (snakemake-6.6.0.tar.gz) = cab247cc0ff6778b02b03524e9d6f83bed3f647ca2620e6c12ba6e9e3cae6230324e0e66d64dce607a2f98b05a18fe91ef1e308fdd5d1dc77c79acd0b3ee4fce
SHA512 (snakemake-9.14.6.tar.gz) = 3858d5610271fbf3617e3b88b10b55546ddb2eafffa929a882bf5584c91f85280fa7c5b25bae8951e4feb5aa9568ba51c0979c35b37472d03e1efc239392f1ae
SHA512 (snakemake-9.14.6-assets.tar.zst) = c58043d640c14cdb4057b515ee65d8c8eb76a4abf34d7ebae70cc929023df780ef234dd5a8fa9d76a96bb1aceda8dab1c8f5337d72ff6bb9ae7d6b82c10a16a7