Skip to content

CI: Pyarrow Min Version on Travis 3.7 Locale Build #35828

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

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

alimcmaster1
Copy link
Member

@alimcmaster1 alimcmaster1 commented Aug 20, 2020

Conda seems to be installing pyarrow 0.11 for this env.

Note pyarrow tests will now run on Travis 3.7 Locale Build

@alimcmaster1 alimcmaster1 added the CI Continuous Integration label Aug 20, 2020
@alimcmaster1 alimcmaster1 added this to the 1.2 milestone Aug 20, 2020
@alimcmaster1 alimcmaster1 changed the title CI: Pyarrow Min Version on Travis 37 Locale Build CI: Pyarrow Min Version on Travis 3.7 Locale Build Aug 20, 2020
@alimcmaster1
Copy link
Member Author

Failure potentially unrelated?

=================================== FAILURES ===================================
________________________ test_on_offset_implementations ________________________
[gw0] linux -- Python 3.7.7 /home/vsts/miniconda3/envs/pandas-dev/bin/python

    @given(gen_random_datetime, gen_yqm_offset)
>   def test_on_offset_implementations(dt, offset):

pandas/tests/tseries/offsets/test_offsets_properties.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pandas/tests/tseries/offsets/test_offsets_properties.py:93: in test_on_offset_implementations
    compare = (dt + offset) - offset
pandas/_libs/tslibs/offsets.pyx:422: in pandas._libs.tslibs.offsets.BaseOffset.__add__
    return other.__add__(self)
pandas/_libs/tslibs/offsets.pyx:424: in pandas._libs.tslibs.offsets.BaseOffset.__add__
    return self.apply(other)
pandas/_libs/tslibs/offsets.pyx:172: in pandas._libs.tslibs.offsets.apply_wraps.wrapper
    result = result.tz_localize(tz)
pandas/_libs/tslibs/timestamps.pyx:1317: in pandas._libs.tslibs.timestamps.Timestamp.tz_localize
    value = tz_localize_to_utc_single(self.value, tz,
pandas/_libs/tslibs/tzconversion.pyx:63: in pandas._libs.tslibs.tzconversion.tz_localize_to_utc_single
    return tz_localize_to_utc(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   raise pytz.AmbiguousTimeError(
E   pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from 1905-01-01 00:00:00, try using the 'ambiguous' argument

pandas/_libs/tslibs/tzconversion.pyx:275: AmbiguousTimeError
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_on_offset_implementations(
    dt=datetime.datetime(1900, 1, 1, 0, 0, tzinfo=<DstTzInfo 'America/Detroit' LMT-1 day, 18:28:00 STD>),
    offset=<5 * YearBegins: month=1>,
)

@alimcmaster1
Copy link
Member Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@jreback jreback modified the milestones: 1.2, 1.1.2 Aug 20, 2020
@jreback jreback merged commit a67e988 into pandas-dev:master Aug 20, 2020
@jreback
Copy link
Contributor

jreback commented Aug 20, 2020

thanks @alimcmaster1

@simonjayhawkins
Copy link
Member

@meeseeksdev backport 1.1.x

@lumberbot-app
Copy link

lumberbot-app bot commented Aug 20, 2020

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
$ git checkout 1.1.x
$ git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
$ git cherry-pick -m1 a67e988afac9927e89645059eae3ddcca64df87b
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
$ git commit -am 'Backport PR #35828: CI: Pyarrow Min Version on Travis 3.7 Locale Build'
  1. Push to a named branch :
git push YOURFORK 1.1.x:auto-backport-of-pr-35828-on-1.1.x
  1. Create a PR against branch 1.1.x, I would have named this PR:

"Backport PR #35828 on branch 1.1.x"

And apply the correct labels and milestones.

Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon!

If these instruction are inaccurate, feel free to suggest an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: Failures due to pyarrow 0.11 in Travis 37 Locale Build
3 participants