commit python-vega_datasets for openSUSE:Factory
Hello community, here is the log from the commit of package python-vega_datasets for openSUSE:Factory checked in at 2020-01-31 23:57:04 Comparing /work/SRC/openSUSE:Factory/python-vega_datasets (Old) and /work/SRC/openSUSE:Factory/.python-vega_datasets.new.26092 (New) Package is "python-vega_datasets" Fri Jan 31 23:57:04 2020 rev:4 rq:768859 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-vega_datasets/python-vega_datasets.changes 2019-08-05 10:36:20.095334863 +0200 +++ /work/SRC/openSUSE:Factory/.python-vega_datasets.new.26092/python-vega_datasets.changes 2020-01-31 23:58:19.731683870 +0100 @@ -1,0 +2,8 @@ +Tue Jan 28 20:17:49 UTC 2020 - Todd R + +- Update to 0.8.0 + * Include all data from vega-datasets v1.29.0 + * Add ohlc to local datasets +- Drop upstream-included fix_pandas_0_25.patch + +--- Old: fix_pandas_0_25.patch vega_datasets-0.7.0.tar.gz New: vega_datasets-0.8.0.tar.gz Other differences: -- ++ python-vega_datasets.spec ++ --- /var/tmp/diff_new_pack.0yDfOd/_old 2020-01-31 23:58:21.335684702 +0100 +++ /var/tmp/diff_new_pack.0yDfOd/_new 2020-01-31 23:58:21.359684714 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-vega_datasets # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vega_datasets -Version:0.7.0 +Version:0.8.0 Release:0 Summary:A Python package for offline access to Vega datasets License:MIT Group: Development/Languages/Python URL:http://github.com/altair-viz/vega_datasets Source: https://files.pythonhosted.org/packages/source/v/vega_datasets/vega_datasets-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix_pandas_0_25.patch - gh#altair-viz/vega_datasets#25 gh#altair-viz/vega_datasets#24 -Patch0: fix_pandas_0_25.patch BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -44,7 +42,6 @@ %prep %setup -q -n vega_datasets-%{version} -%autopatch -p1 %build %python_build ++ vega_datasets-0.7.0.tar.gz -> vega_datasets-0.8.0.tar.gz ++ 1696 lines of diff (skipped)
commit python-vega_datasets for openSUSE:Factory
Hello community, here is the log from the commit of package python-vega_datasets for openSUSE:Factory checked in at 2019-08-05 10:36:05 Comparing /work/SRC/openSUSE:Factory/python-vega_datasets (Old) and /work/SRC/openSUSE:Factory/.python-vega_datasets.new.4126 (New) Package is "python-vega_datasets" Mon Aug 5 10:36:05 2019 rev:3 rq:720124 version:0.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-vega_datasets/python-vega_datasets.changes 2018-12-24 11:48:01.517100466 +0100 +++ /work/SRC/openSUSE:Factory/.python-vega_datasets.new.4126/python-vega_datasets.changes 2019-08-05 10:36:20.095334863 +0200 @@ -1,0 +2,8 @@ +Wed Jul 31 21:04:47 UTC 2019 - Todd R + +- Add fix_pandas_0_25.patch + Fix for building with pandas 0.25.0 + See: gh#altair-viz/vega_datasets#24 + From: gh#altair-viz/vega_datasets#25 + +--- New: fix_pandas_0_25.patch Other differences: -- ++ python-vega_datasets.spec ++ --- /var/tmp/diff_new_pack.xvqTbr/_old 2019-08-05 10:36:21.143334744 +0200 +++ /var/tmp/diff_new_pack.xvqTbr/_new 2019-08-05 10:36:21.175334740 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-vega_datasets # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Group: Development/Languages/Python URL:http://github.com/altair-viz/vega_datasets Source: https://files.pythonhosted.org/packages/source/v/vega_datasets/vega_datasets-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix_pandas_0_25.patch - gh#altair-viz/vega_datasets#25 gh#altair-viz/vega_datasets#24 +Patch0: fix_pandas_0_25.patch BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -42,6 +44,7 @@ %prep %setup -q -n vega_datasets-%{version} +%autopatch -p1 %build %python_build ++ fix_pandas_0_25.patch ++ >From d14727405485588c4bf22032cfd6d79211dfe35b Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Wed, 31 Jul 2019 13:53:01 -0700 Subject: [PATCH] TST: fix tests for pandas 0.25 --- vega_datasets/tests/test_download.py | 6 +++--- vega_datasets/tests/test_local_datasets.py | 10 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/vega_datasets/tests/test_download.py b/vega_datasets/tests/test_download.py index acdcf07..810c269 100644 --- a/vega_datasets/tests/test_download.py +++ b/vega_datasets/tests/test_download.py @@ -14,8 +14,8 @@ def test_download_iris(): iris = data.iris(use_local=False) assert type(iris) is pd.DataFrame -assert tuple(iris.columns) == ('petalLength', 'petalWidth', 'sepalLength', - 'sepalWidth', 'species') +assert sorted(iris.columns) == ['petalLength', 'petalWidth', 'sepalLength', +'sepalWidth', 'species'] iris = data.iris.raw(use_local=False) assert type(iris) is bytes @@ -29,7 +29,7 @@ def test_stock_date_parsing(): def test_stock_pivoted(): stocks = data.stocks(pivoted=True) assert stocks.index.name == 'date' -assert all(stocks.columns == ['AAPL', 'AMZN', 'GOOG', 'IBM', 'MSFT']) +assert sorted(stocks.columns) == ['AAPL', 'AMZN', 'GOOG', 'IBM', 'MSFT'] @skip_if_no_internet diff --git a/vega_datasets/tests/test_local_datasets.py b/vega_datasets/tests/test_local_datasets.py index d458f3b..094664a 100644 --- a/vega_datasets/tests/test_local_datasets.py +++ b/vega_datasets/tests/test_local_datasets.py @@ -29,8 +29,8 @@ def test_load_local_dataset(name): def test_iris_column_names(): iris = data.iris() assert type(iris) is pd.DataFrame -assert tuple(iris.columns) == ('petalLength', 'petalWidth', 'sepalLength', - 'sepalWidth', 'species') +assert sorted(iris.columns) == ['petalLength', 'petalWidth', 'sepalLength', +'sepalWidth', 'species'] iris = data.iris.raw() assert type(iris) is bytes @@ -39,7 +39,7 @@ def test_iris_column_names(): def test_stocks_column_names(): stocks = data.stocks() assert type(stocks) is pd.DataFrame -assert tuple(stocks.columns) == ('symbol', 'date', 'price') +assert sorted(stocks.columns) == ['date', 'price', 'symbol'] stocks = data.stocks.raw() assert type(stocks) is bytes @@ -48,9 +48,9 @@ def test_stocks_column_names(): def test_cars_column_names(): cars = data.cars() assert type(cars) is pd.DataFrame -
commit python-vega_datasets for openSUSE:Factory
Hello community, here is the log from the commit of package python-vega_datasets for openSUSE:Factory checked in at 2018-12-24 11:48:01 Comparing /work/SRC/openSUSE:Factory/python-vega_datasets (Old) and /work/SRC/openSUSE:Factory/.python-vega_datasets.new.28833 (New) Package is "python-vega_datasets" Mon Dec 24 11:48:01 2018 rev:2 rq:660759 version:0.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-vega_datasets/python-vega_datasets.changes 2018-05-17 19:33:29.178895733 +0200 +++ /work/SRC/openSUSE:Factory/.python-vega_datasets.new.28833/python-vega_datasets.changes 2018-12-24 11:48:01.517100466 +0100 @@ -1,0 +2,8 @@ +Sat Dec 22 02:25:08 UTC 2018 - Todd R + +- Update to 0.7.0 + * Add wheat to local datasets +- Update to 0.6.0 + * Add us-unemployment local dataset + +--- Old: vega_datasets-0.5.0.tar.gz New: vega_datasets-0.7.0.tar.gz Other differences: -- ++ python-vega_datasets.spec ++ --- /var/tmp/diff_new_pack.Tjcebf/_old 2018-12-24 11:48:02.077099975 +0100 +++ /var/tmp/diff_new_pack.Tjcebf/_new 2018-12-24 11:48:02.077099975 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vega_datasets -Version:0.5.0 +Version:0.7.0 Release:0 Summary:A Python package for offline access to Vega datasets License:MIT ++ vega_datasets-0.5.0.tar.gz -> vega_datasets-0.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vega_datasets-0.5.0/CHANGES.md new/vega_datasets-0.7.0/CHANGES.md --- old/vega_datasets-0.5.0/CHANGES.md 2018-05-15 19:20:02.0 +0200 +++ new/vega_datasets-0.7.0/CHANGES.md 2018-12-07 17:26:34.0 +0100 @@ -1,6 +1,14 @@ Change Log == +Release v0.7 (Dec 7, 2018) +- +- Add wheat to local datasets + +Release v0.6 (November 20, 2018) +- +- Add us-unemployment local dataset + Release v0.5 (May 15, 2018) --- - Add iowa-electricity local dataset @@ -33,4 +41,4 @@ --- - Initial release with simple API -- bundled datasets: iris \ No newline at end of file +- bundled datasets: iris diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vega_datasets-0.5.0/PKG-INFO new/vega_datasets-0.7.0/PKG-INFO --- old/vega_datasets-0.5.0/PKG-INFO2018-05-15 19:21:32.0 +0200 +++ new/vega_datasets-0.7.0/PKG-INFO2018-12-07 17:29:01.0 +0100 @@ -1,15 +1,16 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: vega_datasets -Version: 0.5.0 +Version: 0.7.0 Summary: A Python package for offline access to Vega datasets Home-page: http://github.com/altair-viz/vega_datasets Author: Jake VanderPlas Author-email: jake...@gmail.com +Maintainer: Jake VanderPlas +Maintainer-email: jake...@gmail.com License: MIT Download-URL: http://github.com/altair-viz/vega_datasets Project-URL: Bug Reports, https://github.com/altair-viz/vega_datasets/issues Project-URL: Source, https://github.com/altair-viz/vega_datasets -Description-Content-Type: text/markdown Description: # vega_datasets [![build status](http://img.shields.io/travis/altair-viz/vega_datasets/master.svg?style=flat)](https://travis-ci.org/altair-viz/vega_datasets) @@ -68,11 +69,11 @@ ## Available Datasets -To list all the available datsets, use ``list_datsets``: +To list all the available datsets, use ``list_datasets``: ```python >>> data.list_datasets() -['7zip', 'airports', 'anscombe', 'barley', 'birdstrikes', 'budget', 'budgets', 'burtin', 'cars', 'climate', 'co2-concentration', 'countries', 'crimea', 'disasters', 'driving', 'earthquakes', 'ffox', 'flare', 'flare-dependencies', 'flights-10k', 'flights-200k', 'flights-20k', 'flights-2k', 'flights-3m', 'flights-5k', 'flights-airport', 'gapminder', 'gapminder-health-income', 'gimp', 'github', 'graticule', 'income', 'iris', 'jobs', 'londonBoroughs', 'londonCentroids', 'londonTubeLines', 'lookup_groups', 'lookup_people', 'miserables', 'monarchs', 'movies', 'normal-2d', 'obesity', 'points', 'population', 'population_engineers_hurricanes', 'seattle-temps', 'seattle-weather', 'sf-temps', 'sp500', 'stocks', 'udistrict', 'unemployment', 'unemployment-across-industries', 'us-10m', 'us-state-capitals', 'weather', 'weball26', 'wheat', 'world-110m', 'zipcodes'] +['7zip', 'airports', 'anscombe', 'barley', 'birdstrikes', 'budget', 'budgets', 'burtin', 'cars', 'climate', 'co2-concentration', 'countries