Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-swifter for openSUSE:Factory checked in at 2022-03-31 17:18:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-swifter (Old) and /work/SRC/openSUSE:Factory/.python-swifter.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-swifter" Thu Mar 31 17:18:35 2022 rev:8 rq:965629 version:1.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-swifter/python-swifter.changes 2022-02-09 20:39:54.918478623 +0100 +++ /work/SRC/openSUSE:Factory/.python-swifter.new.1900/python-swifter.changes 2022-03-31 17:19:06.116992395 +0200 @@ -1,0 +2,7 @@ +Sun Mar 27 19:09:15 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 1.1.2 + * Resolve installation issue by removing import from setup.py +- Reenable python310 build, now that dask is available + +------------------------------------------------------------------- Old: ---- swifter-1.1.1.tar.gz New: ---- swifter-1.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-swifter.spec ++++++ --- /var/tmp/diff_new_pack.yPejzx/_old 2022-03-31 17:19:06.620986709 +0200 +++ /var/tmp/diff_new_pack.yPejzx/_new 2022-03-31 17:19:06.624986664 +0200 @@ -16,12 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -# no dask for python310 yet -%define skip_python310 1 Name: python-swifter -Version: 1.1.1 +Version: 1.1.2 Release: 0 Summary: Tool to speed up pandas calculations License: MIT @@ -59,6 +57,8 @@ %prep %setup -q -n swifter-%{version} +# https://github.com/jmcarpenter2/swifter/commit/bc754088feb97f883794585a7eeb8cb5914e1d4b +sed -i 's/{VERSION}/%{version}/' setup.py %build %python_build ++++++ swifter-1.1.1.tar.gz -> swifter-1.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swifter-1.1.1/Makefile new/swifter-1.1.2/Makefile --- old/swifter-1.1.1/Makefile 2022-02-05 05:14:50.000000000 +0100 +++ new/swifter-1.1.2/Makefile 2022-02-07 18:27:56.000000000 +0100 @@ -1,9 +1,9 @@ .PHONY: help, build, ci-black, ci-flake8, ci-unittest, ci, black, sphinx, git-tag, release-tag, release-production, dev-start, dev-stop -IMAGE=swifter -VERSION_FILE:=swifter/__init__.py +PROJECT=swifter +IMAGE=${PROJECT} +VERSION_FILE:=${PROJECT}/__init__.py VERSION_TAG:=$(shell cat ${VERSION_FILE} | grep -oEi [0-9]+.[0-9]+.[0-9]+) -TAG?=test help: ## Display help @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' @@ -11,36 +11,38 @@ build: ## Build docker image with tag "latest" for unit testing cd docker && DOCKER_BUILDKIT=1 docker build --build-arg GRANT_SUDO="yes" -t $(IMAGE) . -f Dockerfile-dev && cd .. -release-tag: ## TOODO - echo ${TAG} - -release-production: #TODO - echo ${VERSION_TAG} - git-tag: ## Tag in git from VERSION file then push tag up to origin git tag $(VERSION_TAG) - git push origin $(VERSION_TAG) + git push --tag + +release-production-pypi: ## Builds and publishes the version to PyPi + rm -r dist && rm -r build + python3 setup.py build sdist + twine upload dist/swifter-${VERSION_TAG}.tar.gz + rm -r dist && rm -r build + +release-production: git-tag release-production-pypi ci-black: build ## Test for black requirements - docker run --rm -t -v ${PWD}:/mnt $(IMAGE) black --diff --color --check swifter + docker run --rm -t -v ${PWD}:/mnt $(IMAGE) black --diff --color --check ${PROJECT} ci-flake8: build ## Test for flake8 requirements - docker run --rm -v ${PWD}:/mnt -t $(IMAGE) flake8 swifter + docker run --rm -v ${PWD}:/mnt -t $(IMAGE) flake8 ${PROJECT} ci-unittest: build ## Test pytest unittests - docker run --rm -v ${PWD}:/mnt -t $(IMAGE) python -m unittest swifter/swifter_tests.py + docker run --rm -v ${PWD}:/mnt -t $(IMAGE) python -m unittest ${PROJECT}/swifter_tests.py ci: ci-black ci-flake8 ci-unittest ## Check black, flake8, and unittests @echo "CI successful" black: build ## Run black, which formats code - docker run --rm -v ${PWD}:/mnt -t $(IMAGE) black swifter + docker run --rm -v ${PWD}:/mnt -t $(IMAGE) black ${PROJECT} dev-start: ## Primary make command for dev, spins up containers - docker-compose -f docker/docker-compose.yml --project-name swifter up -d --build + docker-compose -f docker/docker-compose.yml --project-name ${PROJECT} up -d --build dev-stop: dev-start ## Spins down active containers - docker-compose -f docker/docker-compose.yml --project-name swifter down + docker-compose -f docker/docker-compose.yml --project-name ${PROJECT} down sphinx: ## Creates docs using sphinx echo "Not implemented" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swifter-1.1.1/docs/changelog.md new/swifter-1.1.2/docs/changelog.md --- old/swifter-1.1.1/docs/changelog.md 2022-02-05 05:14:50.000000000 +0100 +++ new/swifter-1.1.2/docs/changelog.md 2022-02-07 18:27:56.000000000 +0100 @@ -1,5 +1,8 @@ # Changelog +## Version 1.1.2 -- 2022-02-07 +* Resolve installation issue by removing import from setup.py + ## Version 1.1.1 -- 2022-02-04 * Resolve installation issues by removing modin dependency, and modin apply route for axis=1 string applies * apply_dask_on_strings returns to original functionality, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swifter-1.1.1/setup.py new/swifter-1.1.2/setup.py --- old/swifter-1.1.1/setup.py 2022-02-05 05:14:50.000000000 +0100 +++ new/swifter-1.1.2/setup.py 2022-02-07 18:27:56.000000000 +0100 @@ -1,10 +1,9 @@ from setuptools import setup -from swifter import __version__ as VERSION setup( name="swifter", packages=["swifter"], # this must be the same as the name above - version=VERSION, + version="1.1.2", description="A package which efficiently applies any function to a pandas dataframe or series in the fastest available manner", author="Jason Carpenter", author_email="jcarpen...@manifold.ai", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/swifter-1.1.1/swifter/__init__.py new/swifter-1.1.2/swifter/__init__.py --- old/swifter-1.1.1/swifter/__init__.py 2022-02-05 05:14:50.000000000 +0100 +++ new/swifter-1.1.2/swifter/__init__.py 2022-02-07 18:27:56.000000000 +0100 @@ -21,4 +21,4 @@ "register_parallel_series_accessor", "register_modin", ] -__version__ = "1.1.1" +__version__ = "1.1.2"