diff --git a/.gitignore b/.gitignore index d26e37a..6e52d84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /NiaPy-2.0.0rc10.tar.gz /NiaPy-2.0.0rc11.tar.gz +/NiaPy-2.0.0rc12.tar.gz diff --git a/python-niapy.spec b/python-niapy.spec index e36080a..17b30b9 100644 --- a/python-niapy.spec +++ b/python-niapy.spec @@ -2,7 +2,7 @@ %global pypi_name niapy %global pretty_name NiaPy -%global fullver 2.0.0rc11 +%global fullver 2.0.0rc12 %global _description %{expand: Nature-inspired algorithms are a very popular tool for solving optimization @@ -17,7 +17,7 @@ time for implementing algorithms from scratch.} Name: python-%{pypi_name} Version: 2.0.0 -Release: 0.2rc11%{?dist} +Release: 0.2rc12%{?dist} Summary: Micro framework for building nature-inspired algorithms License: MIT @@ -43,7 +43,7 @@ BuildRequires: %{py3_dist matplotlib} BuildRequires: %{py3_dist numpy} BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist scipy} -BuildRequires: %{py3_dist xlsxwriter} +BuildRequires: %{py3_dist openpyxl} BuildRequires: %{py3_dist pandas} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -64,7 +64,8 @@ rm -rf %{pretty_name}.egg-info sed -i 's/~/>/' setup.py # Remove unneeded dep sed -i '/enum34/ d' setup.py - +# Remove xlwt package +sed -i '/xlwt/ d' setup.py # Comment out to remove /usr/bin/env shebangs # Can use something similar to correct/remove /usr/bin/python shebangs also @@ -84,9 +85,8 @@ rm -rf %{buildroot}/%{python3_sitelib}/tests %check %if %{with tests} -# Two tests failing -PYTHONPATH=%{buildroot}/%{python3_sitelib} pytest -ra \ - -k 'not test_Custom_works_fine and not test_griewank_works_fine' \ +# Foour tests failing +PYTHONPATH=%{buildroot}/%{python3_sitelib} pytest -ra -k 'not test_Custom_works_fine and not test_griewank_works_fine and not test_FA_iters_fine and not test_FA_evals_fine' %endif %files -n python3-%{pypi_name} @@ -100,6 +100,11 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} pytest -ra \ %doc docs/build/html %changelog +* Fri Dec 4 2020 Iztok Fister Jr. - 2.0.0-0.1rc12 +- New release - 2.0.0rc12 +- Remove dependencies - xlwt, xlsxwriter +- New dependency - openpyxl + * Fri Nov 20 2020 Iztok Fister Jr. - 2.0.0-0.1rc11 - New release - 2.0.0rc11 diff --git a/sources b/sources index a9dcf62..6615aee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (NiaPy-2.0.0rc11.tar.gz) = 96e649ebd36e35ed464fb5e1d1b7c794da9f36346ec074b5171a581ae523f6688559917f9f20508764b7fdcbe6a1e20e10f5204e4688a0fea8fe8502ee104fb5 +SHA512 (NiaPy-2.0.0rc12.tar.gz) = 56d678c1a3111b400571fb2acc1313b9380f80810999388378c94b9517fecacb9d23802592dfdb440c37a119de3440b5638474dd3d188a8eeb1ab6f58e7667dc