Closed lefcha closed 5 years ago
Is this reproducible? I can't get it to fail for me... I always get 47 passed in 21.45 seconds
however times I run it...
If you delete ~/.todoist-sync/
and run again like pytest tests
does it happen?
We should not release a new version without writing a migration guide for the library as well. At least considering the major changes that will break existing code.
OK, so we'll release that when we have the migration guide.
@lefcha just to be clear: there are two migration guides.
One of them is the official documentation guide for the API.
The second one is the migration guide for the Python library. A review/rewrite of the readme + a new section of migration from the new version
would be enough. :+1:
Hm, I didn't think of a Python migration guide, as I don't remember doing one that between 6->7
.
Basically I thought that the API doc is enough as it describes all the changes in the API, and those changes are then reflected on the way you call our API using curl or through the Python lib. The examples are also updated to reflect the changed python functions (or the new ones).
BTW, who is supposed to write the API doc changes between v7/v8 section? Roman, or was it handed over to someone (maybe even me and I don't remember)?
Hm, I didn't think of a Python migration guide, as I don't remember doing one that between 6->7.
Well, it will help everyone that has a working code with the current version. Writing a migration guide will point to the changes the developer has to look into and he can refer to the documentation for that. If we don't write one, it will be trial and error for the developer.
BTW, who is supposed to write the API doc changes between v7/v8 section? Roman, or was it handed over to someone (maybe even me and I don't remember)?
If I remember correctly, it was part of this task. Migrate the code for v8 and document it.
If I remember correctly, it was part of this task. Migrate the code for v8 and document it.
I see, I'll fill in the missing changelog and also mention in somewhere in this lib what changed in the python code.
@PotHix
OK, just added a new kinda changelog file, that documents all the changes between v7 and v8 specifically for the python module.
I also found a few stuff missing or not migrated, so I fixed those too.
Here's the changelog: https://github.com/Doist/todoist-python/blob/v8/CHANGES.md
OK, the last 3 commits should:
@lefcha The content of the CHANGELOG is still the same, it still mention "Changes". Not sure if something was left behind.
Other than that, we should merge this. :)
@lefcha The content of the CHANGELOG is still the same, it still mention "Changes". Not sure if something was left behind.
Other than that, we should merge this. :)
Yes, you're right the changes were there in my local repo; for some reason I missed including them.
I still have this error sometimes:
I had three of them when running on Python 2.7 but none when running on Python 3.
The
test_share_accept
is also failing for me:Other than that, the code changes look good. I still want to check if all the changes in
v8
are covered but it's hard since we don't have a migration guide yet.We should not release a new version without writing a migration guide for the library as well. At least considering the major changes that will break existing code.