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

Draft: testing how long prophet test take without pytest-xdist #4438

Closed
wants to merge 15 commits into from

Conversation

MichaelFu512
Copy link
Contributor

Pull Request Description

read title


After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@machineFL
Copy link
Collaborator

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.7%. Comparing base (07ff9e7) to head (6d61306).

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #4438     +/-   ##
=======================================
+ Coverage   99.7%   99.7%   +0.1%     
=======================================
  Files        352     352             
  Lines      39804   40035    +231     
=======================================
+ Hits       39683   39914    +231     
  Misses       121     121             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

command: 'git-test-other'
- python_version: "3.9"
command: 'git-test-parallel'
python_version: ['3.9']
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also be running tests with 3.10 and 3.11 here?

Copy link
Contributor Author

@MichaelFu512 MichaelFu512 Jun 3, 2024

Choose a reason for hiding this comment

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

Looks like adding 3.11 test fails unit git-test-automl tests (pull_request).

I'm tempted to just add 3.10 for now, and file a ticket to add 3.11, but I'll look to see if it's a quick fix.

automl.results = 2.0

assert "set attribute" in str(atr_error.value) or "has no setter" in str(
atr_error.value,
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

So the python3.11 test errors without this change. I can't find why, but it changes the text of the AttributeError raises here to property 'results' of 'AutoMLSearch' object has no setter rather than before, which was can't set attribute.

Also codecov said that this line isn't covered, but in the full report it says it's fine.

@MichaelFu512
Copy link
Contributor Author

Pushed this branch into #4436. Closing this one.

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

Successfully merging this pull request may close these issues.

4 participants