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

Commit b8daace

Browse files
authored
chore: sync main with changes from v1 branch (#102)
* chore: release v1.0.0 with latest fixes (#100) * chore: release v1.0.0 with latest fixes * update changelog * update pyarrow dependency * chore: add author * chore: fix classifier * chore: test only against v2 * chore: fix setup.py * test: fix whitespace
1 parent 780d071 commit b8daace

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,11 @@ jobs:
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
python_version: ["3.7", "3.10"]
57-
ibis_version: ["github"]
56+
python_version: ["3.7", "3.8", "3.9", "3.10"]
57+
ibis_version: ["2.0.0"]
5858
include:
59-
- python_version: "3.7"
60-
"ibis_version": "1.2.0"
61-
- python_version: "3.8"
62-
"ibis_version": "1.3.0"
63-
- python_version: "3.9"
64-
"ibis_version": "1.4.0"
6559
- python_version: "3.10"
66-
"ibis_version": "2.0.0"
60+
"ibis_version": "github"
6761

6862
steps:
6963

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
### [0.1.1](https://www.github.com/ibis-project/ibis-bigquery/compare/v0.1.0...v0.1.1) (2021-04-28)
3+
## [1.0.0](https://www.github.com/ibis-project/ibis-bigquery/compare/v0.1.1...v1.0.0) (2021-12-02)
4+
5+
### Bug Fixes
6+
7+
* substr fails to compile ([#95](https://github.com/ibis-project/ibis-bigquery/pull/95)))
8+
9+
## [0.1.1](https://www.github.com/ibis-project/ibis-bigquery/compare/v0.1.0...v0.1.1) (2021-04-28)
410

511

612
### Dependencies

ibis_bigquery/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.1"
1+
__version__ = "1.0.0"

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# 'Development Status :: 3 - Alpha'
2020
# 'Development Status :: 4 - Beta'
2121
# 'Development Status :: 5 - Production/Stable'
22-
release_status = "Development Status :: 4 - Beta"
22+
release_status = "Development Status :: 5 - Production/Stable"
2323

2424
package_root = pathlib.Path(__file__).parent
2525

@@ -37,14 +37,17 @@
3737
version=version,
3838
description=description,
3939
long_description=readme,
40+
author="Ibis Contributors",
41+
maintainer="Tim Swast",
42+
maintainer_email="swast@google.com",
4043
url="https://github.com/ibis-project/ibis-bigquery",
4144
packages=setuptools.find_packages(),
4245
python_requires=">=3.7",
4346
install_requires=[
4447
"ibis-framework >=1.2.0,<3.0.0dev",
4548
"google-cloud-bigquery >=1.12.0,<3.0.0dev",
4649
"google-cloud-bigquery-storage >=1.0.0,<3.0.0dev",
47-
"pyarrow >=1.0.0,<5.0.0dev",
50+
"pyarrow >=1.0.0,<7.0.0dev",
4851
"pydata-google-auth",
4952
],
5053
classifiers=[

tests/system/test_compiler.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ def test_identical_to(alltypes, project_id, dataset_id):
5454
SELECT *
5555
FROM `{project_id}.{dataset_id}.functional_alltypes`
5656
WHERE (((`string_col` IS NULL) AND ('a' IS NULL)) OR (`string_col` = 'a')) AND (((`date_string_col` IS NULL) AND ('b' IS NULL)) OR (`date_string_col` = 'b'))""" # noqa: E501
57-
assert result == expected
57+
expected_2 = f"""\
58+
SELECT *
59+
FROM `{project_id}.{dataset_id}.functional_alltypes`
60+
WHERE (((`string_col` IS NULL) AND ('a' IS NULL)) OR (`string_col` = 'a')) AND
61+
(((`date_string_col` IS NULL) AND ('b' IS NULL)) OR (`date_string_col` = 'b'))""" # noqa: E501
62+
assert result == expected or result == expected_2
5863

5964

6065
@pytest.mark.parametrize("timezone", [None, "America/New_York"])

0 commit comments

Comments
 (0)