Compare commits
No commits in common. "imports/c9-beta/python3.14-Cython-3.2.4-2.el9" and "c10s" have entirely different histories.
imports/c9
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Cython-3.2.4.tar.gz
|
/Cython-*.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
c7137e84421ae578f334f22ff945c703608cfcf3 SOURCES/Cython-3.2.4.tar.gz
|
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
5
plan.fmf
Normal file
5
plan.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
dist-git-source: true
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
@ -1,13 +1,3 @@
|
|||||||
## START: Set by rpmautospec
|
|
||||||
## (rpmautospec version 0.6.5)
|
|
||||||
## RPMAUTOSPEC: autorelease, autochangelog
|
|
||||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
||||||
release_number = 2;
|
|
||||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
||||||
print(release_number + base_release_number - 1);
|
|
||||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
||||||
## END: Set by rpmautospec
|
|
||||||
|
|
||||||
%global python3_pkgversion 3.14
|
%global python3_pkgversion 3.14
|
||||||
|
|
||||||
%bcond tests 0
|
%bcond tests 0
|
||||||
@ -144,31 +134,4 @@ export CFLAGS="${CFLAGS} -g1"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
## START: Generated by rpmautospec
|
%autochangelog
|
||||||
* Tue Jan 20 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.2.4-2
|
|
||||||
- CI: call pip3.14 instead of pip
|
|
||||||
|
|
||||||
* Tue Jan 20 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.2.4-1
|
|
||||||
- Update to 3.2.4
|
|
||||||
- Fixes: rhbz#2427014
|
|
||||||
|
|
||||||
* Tue Dec 16 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.2.1-1
|
|
||||||
- Update to 3.2.1
|
|
||||||
- Fixes: rhbz#2414622
|
|
||||||
|
|
||||||
* Tue Dec 16 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.1.6-1
|
|
||||||
- Update to 3.1.6
|
|
||||||
- Fixes: rhbz#2405056
|
|
||||||
|
|
||||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.4-1
|
|
||||||
- Update to 3.1.4 - taken from Fedora d26d9ef
|
|
||||||
|
|
||||||
* Fri Nov 28 2025 Lukáš Zachar <lzachar@redhat.com> - 3.1.3-3
|
|
||||||
- Add gating.yaml
|
|
||||||
|
|
||||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.3-2
|
|
||||||
- Convert from Fedora for the Python 3.14 stack in RHEL
|
|
||||||
|
|
||||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.3-1
|
|
||||||
- RHEL: Rename SPEC to python3.14-Cython.spec
|
|
||||||
## END: Generated by rpmautospec
|
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (Cython-3.2.4.tar.gz) = 5ab8e39739a79debbe89b2ff5b6d88e1b7aafd5ad34460f14f3fc2bd90c10bdc9d6aa5b5844a48e30402dde9790cb9abcba3dc2b4e8cde24c4eeee818a180099
|
||||||
1
tests/smoke/helloworld.pyx
Normal file
1
tests/smoke/helloworld.pyx
Normal file
@ -0,0 +1 @@
|
|||||||
|
print("Hello World")
|
||||||
9
tests/smoke/main.fmf
Normal file
9
tests/smoke/main.fmf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
summary: smoke test
|
||||||
|
test: ./runtest.sh
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
- gcc
|
||||||
|
- python3.14-devel
|
||||||
|
- python3.14-cython
|
||||||
|
- python3.14-setuptools
|
||||||
|
duration: 10m
|
||||||
41
tests/smoke/runtest.sh
Executable file
41
tests/smoke/runtest.sh
Executable file
@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /CoreOS/Cython/Sanity/smoke
|
||||||
|
# Description: smoke test
|
||||||
|
# Author: Jan Kepler <jkepler@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include Beaker environment
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
PYTHON="${PYTHON:-python3.14}"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun "$PYTHON setup.py build_ext --inplace" 0 "Building Cython file"
|
||||||
|
rlRun "$PYTHON -c 'import helloworld' | tee output.log" 0 "Running Cython file"
|
||||||
|
rlAssertGrep "Hello World" "output.log"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
6
tests/smoke/setup.py
Normal file
6
tests/smoke/setup.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from setuptools import setup
|
||||||
|
from Cython.Build import cythonize
|
||||||
|
|
||||||
|
setup(
|
||||||
|
ext_modules = cythonize("helloworld.pyx")
|
||||||
|
)
|
||||||
20
tests/testsuite/main.fmf
Normal file
20
tests/testsuite/main.fmf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
summary: upstream testsuite
|
||||||
|
require:
|
||||||
|
- gcc
|
||||||
|
- gcc-c++
|
||||||
|
- gdb
|
||||||
|
- python3.14-devel
|
||||||
|
- python3.14-test
|
||||||
|
- python3.14-cython
|
||||||
|
- python3.14-setuptools
|
||||||
|
- python3.14-pip
|
||||||
|
- python3.14-numpy
|
||||||
|
- python3.14-pytest
|
||||||
|
- blas-devel # for pythran
|
||||||
|
# ipython and pythran installed from PyPI, not available in RHEL
|
||||||
|
# Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075
|
||||||
|
test: |
|
||||||
|
pip3.14 install pythran==0.18.0 &&
|
||||||
|
cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) &&
|
||||||
|
python3.14 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*'
|
||||||
|
duration: 240m
|
||||||
Loading…
Reference in New Issue
Block a user