Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 37a415d

Browse files
authored
chore: setup release 1.0.0 (#165)
Release-As: 1.0.0
1 parent fec1974 commit 37a415d

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
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/).
44

5-
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).
6-
7-
**NOTE: This project may still make breaking changes without prior notice and should not yet be used for production purposes.**
5+
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).
86

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

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

292290
## Contributing
293291

294-
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
292+
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
295293
started.
296294

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

299297
Please note that this project is released with a Contributor Code of Conduct.
300298
By participating in this project you agree to abide by its terms. See the [Code
301-
of Conduct](https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/blob/main/code-of-conduct.md) for more information.
299+
of Conduct](https://github.com/googleapis/python-spanner-sqlalchemy/blob/main/code-of-conduct.md) for more information.

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
[egg_info]
18-
tag_build = dev
19-
2017
[tool:pytest]
2118
addopts= --tb native -v -r fxX --maxfail=25 -p no:warnings
2219
python_files=test/*test_*.py

setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import os
1516
import setuptools
1617

1718

@@ -32,6 +33,13 @@
3233
]
3334
}
3435

36+
BASE_DIR = os.path.dirname(__file__)
37+
VERSION_FILENAME = os.path.join(BASE_DIR, "version.py")
38+
PACKAGE_INFO = {}
39+
with open(VERSION_FILENAME) as f:
40+
exec(f.read(), PACKAGE_INFO)
41+
version = PACKAGE_INFO["__version__"]
42+
3543
# Only include packages under the 'google' namespace. Do not include tests,
3644
# benchmarks, etc.
3745
packages = [
@@ -61,7 +69,7 @@
6169
namespace_packages=namespaces,
6270
packages=packages,
6371
url="https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy",
64-
version="0.1",
72+
version=version,
6573
include_package_data=True,
6674
zip_safe=False,
6775
)

version.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Use of this source code is governed by a BSD-style
4+
# license that can be found in the LICENSE file or at
5+
# https://developers.google.com/open-source/licenses/bsd
6+
7+
__version__ = "1.0.0"

0 commit comments

Comments
 (0)