-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update to use Python 3.5 #48
Comments
|
In addition there are references to 2.7 in
|
Pull request that includes code changes and Travis update. |
Have another pull request out that takes care of the documentation updates and removes an unused method. Only work after that will be any updates needed on the docker front. |
@will2041 is this complete now? I'm using Python 3.5 and everything seems to be fine. |
Basically. The Docker file still uses 2.7 and has some references, but that's it I think. I did run into some weird behavior with the export command using bin/baleen, but I'm not sure it's a 3.5 problem. This could probably be closed. I think there's a separate item for Docker updates. |
@will2041 -- ok this can be closed; I'm just hesitant to actually push to production, especially since things have been running so well! We may have to find a time where we're both available to try to do the release together and push to production - any thoughts when? |
I suppose a weekend is easiest to coordinate schedules. I'm free Saturday, but after that I've got visitors/am travellng until after Labor Day. |
So uh, I guess you meant this Saturday? I guess it'll have to keep until after labor day then! Sorry about that. Want to get something on the calendar? |
Yeah, let's schedule something. I sent you an invite for the 10th. Maybe if Labor Day weekend ends up being free we could move it up, but I probably won't know that until the last minute. |
So the 10th I'm teaching -- though I could do it later in the evening; and Ben On Mon, Aug 15, 2016 at 10:56 PM, will2041 [email protected] wrote:
|
Ha! Oh man, now we're just pushing it out crazy far. Sundays work? 11th? My parents are in town that weekend of the 24th... How about some evening during the week? I could maybe swing that. |
This is my life - scheduling months in advance; seriously ... Sundays do work but in the evenings for me, not the morning. Want to do the 11th anytime after 2pm EST? |
Sundays are wonderful. I updated the invite to 3PM EST on the 11th. |
Perfect, we figured it out! |
Updates before push: Master branch change - https://github.com/bbengfort/baleen/blob/master/baleen/exceptions.py#L69 TimeoutError is already a built in OS error |
Example of current error when running ingestion locally:
|
Well, I got it mostly working. Only weird thing is that the output has some errors: Processed 35 (1 unchanged) feeds (5 minutes 25 seconds): 659 posts with 62 errors 52 errors are:
But then there are 10 like this:
The logging is new. We were failing on saving to Mongo because the content field was None and we couldn't encode that to get a unique hash. Now we don't fail, but these contentless posts just disappear (using what I have in my workspace). |
Updating status months later:
Next steps:
|
Tried everything out with Python 3.6 locally and it all seems to work. I'm going to switch gears and look into deployment to see if I can get all this running (and repeatable/documented). |
Update the project to be compatible with Python 3.5 so we have the option to use asyncio.
The text was updated successfully, but these errors were encountered: