commit python-flatdict for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package python-flatdict for openSUSE:Factory 
checked in at 2020-08-18 15:10:26

Comparing /work/SRC/openSUSE:Factory/python-flatdict (Old)
 and  /work/SRC/openSUSE:Factory/.python-flatdict.new.3399 (New)


Package is "python-flatdict"

Tue Aug 18 15:10:26 2020 rev:3 rq:827081 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-flatdict/python-flatdict.changes  
2020-02-28 15:21:33.629919899 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flatdict.new.3399/python-flatdict.changes
2020-08-18 15:10:29.948026957 +0200
@@ -1,0 +2,5 @@
+Sun Aug 16 13:18:49 UTC 2020 - John Vandenberg 
+
+- Replace nose with pytest
+
+---



Other differences:
--
++ python-flatdict.spec ++
--- /var/tmp/diff_new_pack.5TuBw4/_old  2020-08-18 15:10:31.360027542 +0200
+++ /var/tmp/diff_new_pack.5TuBw4/_new  2020-08-18 15:10:31.364027543 +0200
@@ -26,7 +26,8 @@
 URL:https://github.com/gmr/flatdict
 Source: 
https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module nose2}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -47,7 +48,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m nose
+%pytest tests.py
 
 %files %{python_files}
 %doc CHANGELOG.md README.rst




commit python-flatdict for openSUSE:Factory

2020-02-28 Thread root
Hello community,

here is the log from the commit of package python-flatdict for openSUSE:Factory 
checked in at 2020-02-28 15:21:31

Comparing /work/SRC/openSUSE:Factory/python-flatdict (Old)
 and  /work/SRC/openSUSE:Factory/.python-flatdict.new.26092 (New)


Package is "python-flatdict"

Fri Feb 28 15:21:31 2020 rev:2 rq:780088 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-flatdict/python-flatdict.changes  
2019-11-27 13:50:36.752506022 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flatdict.new.26092/python-flatdict.changes   
2020-02-28 15:21:33.629919899 +0100
@@ -1,0 +2,9 @@
+Fri Feb 28 05:33:22 UTC 2020 - Steve Kowalik 
+
+- Update to version 4.0.1:
+  * Gracefully fail to install if setuptools is too old
+  * FIXED deprecation warning from Python 3.9
+  * FIXED keep order of received dict and it's nested objects
+  * Drops Python 2 support and Python 3.4
+
+---

Old:

  flatdict-3.4.0.tar.gz

New:

  flatdict-4.0.1.tar.gz



Other differences:
--
++ python-flatdict.spec ++
--- /var/tmp/diff_new_pack.hvqZ7t/_old  2020-02-28 15:21:34.041920738 +0100
+++ /var/tmp/diff_new_pack.hvqZ7t/_new  2020-02-28 15:21:34.045920746 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flatdict
 #
-# 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
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-flatdict
-Version:3.4.0
+Version:4.0.1
 Release:0
 Summary:Python module for interacting with nested dicts
 License:BSD-3-Clause

++ flatdict-3.4.0.tar.gz -> flatdict-4.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flatdict-3.4.0/.github/workflows/deploy.yaml 
new/flatdict-4.0.1/.github/workflows/deploy.yaml
--- old/flatdict-3.4.0/.github/workflows/deploy.yaml1970-01-01 
01:00:00.0 +0100
+++ new/flatdict-4.0.1/.github/workflows/deploy.yaml2020-02-13 
20:15:00.0 +0100
@@ -0,0 +1,20 @@
+name: Deployment
+on:
+  push:
+branches-ignore: ["*"]
+tags: ["*"]
+jobs:
+  deploy:
+runs-on: ubuntu-latest
+if: github.event_name == 'push' && startsWith(github.event.ref, 
'refs/tags')
+container: python:3.8-alpine
+steps:
+  - name: Checkout repository
+uses: actions/checkout@v1
+  - name: Build package
+run: python3 setup.py sdist
+  - name: Publish package
+uses: pypa/gh-action-pypi-publish@master
+with:
+  user: __token__
+  password: ${{ secrets.PYPI_PASSWORD }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flatdict-3.4.0/.github/workflows/testing.yaml 
new/flatdict-4.0.1/.github/workflows/testing.yaml
--- old/flatdict-3.4.0/.github/workflows/testing.yaml   1970-01-01 
01:00:00.0 +0100
+++ new/flatdict-4.0.1/.github/workflows/testing.yaml   2020-02-13 
20:15:00.0 +0100
@@ -0,0 +1,36 @@
+name: Testing
+on:
+  push:
+branches: ["*"]
+paths-ignore:
+  - 'docs/**'
+  - 'setup.*'
+  - '*.md'
+  - '*.rst'
+tags-ignore: ["*"]
+jobs:
+  test:
+runs-on: ubuntu-latest
+strategy:
+  matrix:
+python: [3.5, 3.6, 3.7, 3.8, 3.9-rc]
+container:
+  image: python:${{ matrix.python }}-alpine
+steps:
+  - name: Checkout repository
+uses: actions/checkout@v1
+
+  - name: Bootstrap the test environment
+run: pip install -r requires/testing.txt && mkdir -p build
+
+  - name: Run flake8 tests
+run: flake8
+
+  - name: Run unittests
+run: coverage run && coverage report && coverage xml
+
+  - name: Upload Coverage
+uses: codecov/codecov-action@v1.0.2
+with:
+  token: ${{secrets.CODECOV_TOKEN}}
+  file: build/coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flatdict-3.4.0/.travis.yml 
new/flatdict-4.0.1/.travis.yml
--- old/flatdict-3.4.0/.travis.yml  2019-07-24 08:41:21.0 +0200
+++ new/flatdict-4.0.1/.travis.yml  1970-01-01 01:00:00.0 +0100
@@ -1,53 +0,0 @@
-language: python
-dist: xenial
-env:
-  global:
-   - PATH=$HOME/.local/bin:$PATH
-   - AWS_DEFAULT_REGION=us-east-1
-   - secure: 
"sitNFpdiQMbxHJIXkxcUfpSbAIdl9+bFYZcP2nQgwA3CShwRp1bAq2kWUsrzFjPhs+yxX5O+VVokRR0qsLJwmoH0AggWdYKhpTu7iGLoypCggnHh6I0Kt6Vepn6EjjkgkCzg/N+9gmZ1ZgtZ1NRDN