Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Fix GBQ Tests #30478

Merged
merged 8 commits into from
Dec 27, 2019
Merged

CI: Fix GBQ Tests #30478

merged 8 commits into from
Dec 27, 2019

Conversation

alimcmaster1
Copy link
Member

@alimcmaster1 alimcmaster1 commented Dec 26, 2019

Believe these test only run on master on travis? So will keep xfail for now

Fixturize as per @jreback comment here.

closes #30470

@alimcmaster1 alimcmaster1 added CI Continuous Integration Testing pandas testing functions or related to the test suite labels Dec 26, 2019
@jreback jreback added this to the 1.0 milestone Dec 26, 2019
pandas/tests/io/test_gbq.py Show resolved Hide resolved
project_id=_get_project_id(),
credentials=_get_credentials(),
dialect="standard",
)
assert result["num_rows"][0] == test_size

@pytest.mark.xfail(reason="Test breaking master")
@pytest.mark.xfail(reason="Test breaking master", strict=False)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to remove this xfail now

@alimcmaster1
Copy link
Member Author

alimcmaster1 commented Dec 26, 2019

I've configured travis to run against my fork with the relevant setup for gbq. (As per the instruction here https://github.com/pandas-dev/pandas/pull/15879/files). GBQ Tests are now running against these changes here:

https://travis-ci.org/alimcmaster1/pandas/jobs/629696201?utm_medium=notification&utm_source=email

_skip_if_no_project_id()
_skip_if_no_private_key_path()

cls.client = _get_client()
cls.dataset = cls.client.dataset(DATASET_ID + "1")
dataset_id = "pydata_pandas_bq_testing_py31"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this is different than the previous, is that right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alimcmaster1
Copy link
Member Author

These tests are running against my fork here - all green and they don't appear in the skipped test section in logs

@jreback jreback merged commit f973460 into pandas-dev:master Dec 27, 2019
@jreback
Copy link
Contributor

jreback commented Dec 27, 2019

thanks @alimcmaster1
cross fingers

@alimcmaster1
Copy link
Member Author

thanks @alimcmaster1
cross fingers

Thanks @jreback I will keep an eye on travis..

@alimcmaster1 alimcmaster1 deleted the mcmali-fixture-gbq branch December 27, 2019 16:51
@alimcmaster1
Copy link
Member Author

@jreback
Copy link
Contributor

jreback commented Dec 27, 2019

yes thanks @alimcmaster1

AlexKirko pushed a commit to AlexKirko/pandas that referenced this pull request Dec 29, 2019
keechongtan added a commit to keechongtan/pandas that referenced this pull request Dec 29, 2019
…ndexing-1row-df

* upstream/master: (333 commits)
  CI: troubleshoot Web_and_Docs failing (pandas-dev#30534)
  WARN: Ignore NumbaPerformanceWarning in test suite (pandas-dev#30525)
  DEPR: camelCase in offsets, get_offset (pandas-dev#30340)
  PERF: implement scalar ops blockwise (pandas-dev#29853)
  DEPR: Remove Series.compress (pandas-dev#30514)
  ENH: Add numba engine for rolling apply (pandas-dev#30151)
  [ENH] Add to_markdown method (pandas-dev#30350)
  DEPR: Deprecate pandas.np module (pandas-dev#30386)
  ENH: Add ignore_index for df.drop_duplicates (pandas-dev#30405)
  BUG: The setting xrot=0 in DataFrame.hist() doesn't work with by and subplots pandas-dev#30288 (pandas-dev#30491)
  CI: Fix GBQ Tests (pandas-dev#30478)
  Bug groupby quantile listlike q and int columns (pandas-dev#30485)
  ENH: Add ignore_index for df.sort_values and series.sort_values (pandas-dev#30402)
  TYP: Typing hints in pandas/io/formats/{css,csvs}.py (pandas-dev#30398)
  BUG: raise on non-hashable Index name, closes pandas-dev#29069 (pandas-dev#30335)
  Replace "foo!r" to "repr(foo)" syntax pandas-dev#29886 (pandas-dev#30502)
  BUG: preserve EA dtype in transpose (pandas-dev#30091)
  BLD: add check to prevent tempita name error, clsoes pandas-dev#28836 (pandas-dev#30498)
  REF/TST: method-specific files for test_append (pandas-dev#30503)
  marked unused parameters (pandas-dev#30504)
  ...
@jreback
Copy link
Contributor

jreback commented Jan 1, 2020

cc @alimcmaster1 see for example https://travis-ci.org/pandas-dev/pandas/jobs/631599036

we need a try/except around the close part i think and/or a unique dataset name for each test as we are confliciting

@alimcmaster1
Copy link
Member Author

cc @alimcmaster1 see for example https://travis-ci.org/pandas-dev/pandas/jobs/631599036

we need a try/except around the close part i think and/or a unique dataset name for each test as we are confliciting

Aaah. I’ll be able to take a look at this tomorrow eve will revert back on here

@jreback
Copy link
Contributor

jreback commented Jan 1, 2020

thanks @alimcmaster1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: Travis failure in master because of GBQ table
2 participants