Skip to content

Commit

Permalink
Release v0.9.0
Browse files Browse the repository at this point in the history
Per README.md, this project was GPLv2+ up until 0.3.0.  Apparently we
forgot to change the license in the Fedora specfile those days.  Doing
now upstream to be in sync (and using the SPDX format directly).
  • Loading branch information
praiskup committed Apr 17, 2023
1 parent f9235fc commit 8ab1067
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .packit.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---
specfile_path: fedora/python-flask-whooshee.spec

srpm_build_deps:
- python3-whoosh
- python3-flask-sqlalchemy
- python3-setuptools

actions:
create-archive:
- python3 setup.py sdist --dist-dir ./fedora/
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
get-current-version: "sed -n \"s|.*version='\\(.*\\)'.*|\\1|p\" setup.py"
get-current-version: "sed -n \"s|__version__ = '\\(.*\\)'.*|\\1|p\" flask_whooshee.py"

jobs:
- &copr
Expand Down
9 changes: 9 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,15 @@ API
Changelog
---------

0.9.0
#####

* Development switched from `master` to `main` branch.
* Fixed compatiblity with flask-sqlalchemy v3+
* Fixed compatibility with SQLAlchemy 2+
* 285ae36576abc2ca26b74c490fbb3b954062f5c1
* Switched to SPDX license ID format BSD-3-Clause

0.8.2
#####

Expand Down
2 changes: 1 addition & 1 deletion fedora/python-flask-whooshee.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Version: 0
Release: 1%{?dist}
Summary: Whoosh integration

License: GPLv2+
License: BSD-3-Clause
URL: https://github.com/bkabrda/flask-whooshee
Source0: https://pypi.python.org/packages/source/f/%{mod_name}/%{mod_name}-%{version}.tar.gz
# https://github.com/bkabrda/flask-whooshee/pull/19
Expand Down
2 changes: 1 addition & 1 deletion flask_whooshee.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
DELETE_KWD = 'delete'


__version__ = '0.7.0'
__version__ = '0.9.0'


def _get_app(obj):
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["flask-sqlalchemy", "setuptools", "whoosh"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
sphinx
pytest
flexmock
flask-sqlalchemy
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ class Entry(db.Model):
* `Issues <https://github.com/bkabrda/flask-whooshee/issues>`_
"""
from setuptools import setup
from flask_whooshee import __version__


setup(
name='flask-whooshee',
version='0.8.2',
version=__version__,
description='Flask-SQLAlchemy - Whoosh Integration',
long_description=__doc__,
keywords='flask, sqlalchemy, whoosh',
Expand Down

0 comments on commit 8ab1067

Please sign in to comment.