Skip to content

Commit

Permalink
chore: setup release 1.0.0 (#165)
Browse files Browse the repository at this point in the history
Release-As: 1.0.0
  • Loading branch information
skuruppu committed Dec 8, 2021
1 parent fec1974 commit 37a415d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -2,9 +2,7 @@

Spanner dialect for SQLAlchemy represents an interface API designed to make it possible to control Cloud Spanner databases with SQLAlchemy API. The dialect is built on top of [the Spanner DB API](https://github.com/googleapis/python-spanner/tree/master/google/cloud/spanner_dbapi), which is designed in accordance with [PEP-249](https://www.python.org/dev/peps/pep-0249/).

This project has **Preview** release status. Known limitations are listed [here](#features-and-limitations). All supported features have been tested and verified to work with the test configurations. There may be configurations and/or data model variations that have not yet been covered by the tests and that show unexpected behavior. Please report any problems that you might encounter by [creating a new issue](https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/issues/new).

**NOTE: This project may still make breaking changes without prior notice and should not yet be used for production purposes.**
Known limitations are listed [here](#features-and-limitations). All supported features have been tested and verified to work with the test configurations. There may be configurations and/or data model variations that have not yet been covered by the tests and that show unexpected behavior. Please report any problems that you might encounter by [creating a new issue](https://github.com/googleapis/python-spanner-sqlalchemy/issues/new).

- [Cloud Spanner product documentation](https://cloud.google.com/spanner/docs)
- [SQLAlchemy product documentation](https://www.sqlalchemy.org/)
Expand All @@ -22,7 +20,7 @@ In order to use this package, you first need to go through the following steps:

To install an in-development version of the package, clone its Git-repository:
```
git clone https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy.git
git clone https://github.com/googleapis/python-spanner-sqlalchemy.git
```
Next install the package from the package `setup.py` file:
```
Expand Down Expand Up @@ -291,11 +289,11 @@ The dialect test suite can be runned on [Spanner emulator](https://cloud.google.

## Contributing

Contributions to this library are welcome and encouraged. Please report issues, file feature requests, and send pull requests. See [CONTRIBUTING](https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/blob/main/contributing.md) for more information on how to get
Contributions to this library are welcome and encouraged. Please report issues, file feature requests, and send pull requests. See [CONTRIBUTING](https://github.com/googleapis/python-spanner-sqlalchemy/blob/main/contributing.md) for more information on how to get
started.

**Note that this project is not officially supported by Google as part of the Cloud Spanner product.**

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See the [Code
of Conduct](https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/blob/main/code-of-conduct.md) for more information.
of Conduct](https://github.com/googleapis/python-spanner-sqlalchemy/blob/main/code-of-conduct.md) for more information.
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

[egg_info]
tag_build = dev

[tool:pytest]
addopts= --tb native -v -r fxX --maxfail=25 -p no:warnings
python_files=test/*test_*.py
Expand Down
10 changes: 9 additions & 1 deletion setup.py
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import setuptools


Expand All @@ -32,6 +33,13 @@
]
}

BASE_DIR = os.path.dirname(__file__)
VERSION_FILENAME = os.path.join(BASE_DIR, "version.py")
PACKAGE_INFO = {}
with open(VERSION_FILENAME) as f:
exec(f.read(), PACKAGE_INFO)
version = PACKAGE_INFO["__version__"]

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
Expand Down Expand Up @@ -61,7 +69,7 @@
namespace_packages=namespaces,
packages=packages,
url="https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy",
version="0.1",
version=version,
include_package_data=True,
zip_safe=False,
)
7 changes: 7 additions & 0 deletions version.py
@@ -0,0 +1,7 @@
# Copyright 2021 Google LLC
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd

__version__ = "1.0.0"

0 comments on commit 37a415d

Please sign in to comment.