public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christian Dersch <lupinix@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-photutils] epel10: new version
Date: Fri, 26 Jun 2026 03:41:48 GMT	[thread overview]
Message-ID: <178244530874.1.272790616157603708.rpms-python-photutils-6f5412fc218d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-photutils
            Branch : epel10
            Commit : 6f5412fc218da532465fea1961443e5ee397e7b4
            Author : Christian Dersch <lupinix@fedoraproject.org>
            Date   : 2018-10-03T19:09:28+02:00
            Stats  : +15/-14 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-photutils/c/6f5412fc218da532465fea1961443e5ee397e7b4?branch=epel10

            Log:
            new version
drop old patches
re-enable tests

---
diff --git a/.gitignore b/.gitignore
index c05ce07..de32315 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /photutils-0.3.tar.gz
 /photutils-0.3.2.tar.gz
 /photutils-0.4.tar.gz
+/photutils-0.5.tar.gz

diff --git a/python-photutils.spec b/python-photutils.spec
index 333d56b..deb1403 100644
--- a/python-photutils.spec
+++ b/python-photutils.spec
@@ -1,8 +1,8 @@
 %global srcname photutils
 
 Name: python-%{srcname}
-Version: 0.4
-Release: 8%{?dist}
+Version: 0.5
+Release: 1%{?dist}
 Summary: Astropy affiliated package for image photometry tasks
 License: BSD
 
@@ -10,12 +10,6 @@ URL: http://photutils.readthedocs.org/en/latest/index.html
 # Use the un-Cythonized github tar, as we need the newer Fedora Cython to build with Python 3.7
 Source0: https://github.com/astropy/photutils/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
 
-# Use system copy of astropy-helpers
-Patch0:  python-photutils-Use-astropy_helpers-provided-by-the-system.patch
-
-# Fixes for numpy 1.14, rebased version of https://github.com/astropy/photutils/pull/639
-Patch1:  python-photutils-fixes-for-numpy-1.14.patch
-
 BuildRequires: gcc
 BuildRequires: python3-devel
 
@@ -42,6 +36,7 @@ BuildRequires: python3-scikit-image
 BuildRequires: python3-matplotlib
 # For tests
 BuildRequires: python3-pytest
+BuildRequires: python3-pytest-astropy
 
 %{?python_provide:%python_provide python3-%{srcname}}
 
@@ -78,11 +73,11 @@ export XDG_CONFIG_HOME=`pwd`
 # Avoid writing bad pyc files
 export PYTHONDONTWRITEBYTECODE=1
 
-# Disable tests and wait for new release fixing them
-# https://github.com/astropy/photutils/issues/677
-#pushd %%{buildroot}/%%{python3_sitearch}
-#py.test-%%{python3_version} %%{srcname}
-#popd
+pushd %{buildroot}/%{python3_sitearch}
+# Test test_outline_segments and TestDeblendSources fail as we don't have dask in Fedora
+py.test-%{python3_version} -k "not (test_outline_segments or TestDeblendSources)" %{srcname}
+rm -rf .pytest_cache
+popd
 
 
 %files -n python3-%{srcname}
@@ -92,6 +87,11 @@ export PYTHONDONTWRITEBYTECODE=1
 %{python3_sitearch}/%{srcname}
 
 %changelog
+* Wed Oct 03 2018 Christian Dersch <lupinix@fedoraproject.org> - 0.5-1
+- new version
+- drop old patches
+- re-enable tests
+
 * Mon Oct 01 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-8
 - Remove python2 subpackage (#1632572)
 

diff --git a/sources b/sources
index 5497ec1..a5ea80f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (photutils-0.4.tar.gz) = 90f6e0737f20e6a0221bd397f87684c72c42c8a8d37bd111153f39708f60f993b6640c57f986ddcb664032f0982b162ce29f4f15e691a2432c82c4a1d843d309
+SHA512 (photutils-0.5.tar.gz) = 2e9f233c623725abd7a8e3d991c2c065f7be09fda544c44c69149c6eb04df4ac1eef4cf0c837b1c159445f172da2fd29eafa127abe7bb229d6b0851a4dcf5b64

             reply	other threads:[~2026-06-26  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-26  3:41 Christian Dersch [this message]
2026-06-26  3:41 [rpms/python-photutils] epel10: new version Christian Dersch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178244530874.1.272790616157603708.rpms-python-photutils-6f5412fc218d@fedoraproject.org \
    --to=lupinix@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox