Skip to content

Minor documentation tweaks for broken links - #4770

Merged
thedrow merged 2 commits into
celery:masterfrom
juannyG:master
Jun 3, 2018
Merged

thedrow merged 2 commits into
celery:masterfrom
juannyG:master

Conversation

@juannyG

@juannyG juannyG commented May 27, 2018 •

Copy link
Copy Markdown
Contributor

Some documentation hyperlinks are not generating correctly.

Here's what I was able to find and update:

juannyG added 2 commits May 27, 2018 13:59
Some internal documentation link references were broken. For example,
the `app` parameter in [celery.schedules documentation](http://docs.celeryproject.org/en/master/reference/celery.schedules.html#celery-schedules) links to ~@celery,
which in the browser attempts to open an email client. Alternatively,
the [tasks userguide](http://docs.celeryproject.org/en/master/userguide/tasks.html#automatic-retry-for-known-exceptions) was also suffering from a similar reference error,
but in this case, produces no hyperlink.
* Internal `AsyncResult` argument parameter
* `datetime` reference in celery.schedules nowfun
  paramater description
@juannyG

juannyG commented May 27, 2018 •

Copy link
Copy Markdown
Contributor Author

Any guidance regarding these automated check failures would be greatly appreciated. Although, they're very surprising, given that my updates are all comment/doc related 🤔

@georgepsarakis

Copy link
Copy Markdown
Contributor

@juannyG thanks for your contribution. The build errors are unrelated to the PR, we need to look more to find what is causing them.

@juannyG

juannyG commented May 28, 2018

Copy link
Copy Markdown
Contributor Author

@georgepsarakis - after doing some digging, I believe the 2.7 integration tests are failing due to the recent release of pyamqp==2.3.0 - more specifically the change of unicode to string_t @ https://github.com/celery/py-amqp/pull/182/files#diff-e78ab3d38dc527a2efca0e44ffe7c2f9L88 . Seems like this may not be isolated to the Celery test suite: celery/py-amqp#191

I went into the tox 2.7-integration-rabbitmq path, forced a pip install of pyamqp==2.2.2 in that environment and the tests started running and also passing. The str_to_bytes method used to transform the args of the frame being written in pyamqp originally did a unicode type check for python2. The change to do a type check of string_t seems to be the source of errors. Seems like the path of least resistance would be to pin the pyamqp dependency to 2.2.2 (for the time being at least...)?

Should I open an issue here with these details? Or pyamqp? Both? :-)

That's as far as I got today...I'll try to look more into this tomorrow.

@georgepsarakis

Copy link
Copy Markdown
Contributor

@juannyG thanks a lot for troubleshooting this. @thedrow I think the pyamqp 2.3.0 release was yesterday indeed?

@hsiaoyi0504

hsiaoyi0504 commented May 28, 2018 •

Copy link
Copy Markdown

@georgepsarakis I can confirm that pyamqp was updated yesterday.
See following two links:

@juannyG

juannyG commented May 28, 2018

Copy link
Copy Markdown
Contributor Author

👍 Looks like pyamqp 2.3.1 is out

Y'all beat me too it - I was about to put up a PR in pyamqp and saw @thedrow had already merged one! <3

@thedrow

thedrow commented Jun 3, 2018

Copy link
Copy Markdown
Contributor

The build passes. Thank you very much.

dfresh613 pushed a commit to dfresh613/celery that referenced this pull request Jul 21, 2018
* Minor doc tweaks to broken links

Some internal documentation link references were broken. For example,
the `app` parameter in [celery.schedules documentation](http://docs.celeryproject.org/en/master/reference/celery.schedules.html#celery-schedules) links to ~@celery,
which in the browser attempts to open an email client. Alternatively,
the [tasks userguide](http://docs.celeryproject.org/en/master/userguide/tasks.html#automatic-retry-for-known-exceptions) was also suffering from a similar reference error,
but in this case, produces no hyperlink.

* Update two more broken hyperlink instances

* Internal `AsyncResult` argument parameter
* `datetime` reference in celery.schedules nowfun
  paramater description
dfresh613 pushed a commit to dfresh613/celery that referenced this pull request Jul 21, 2018
* Minor doc tweaks to broken links

Some internal documentation link references were broken. For example,
the `app` parameter in [celery.schedules documentation](http://docs.celeryproject.org/en/master/reference/celery.schedules.html#celery-schedules) links to ~@celery,
which in the browser attempts to open an email client. Alternatively,
the [tasks userguide](http://docs.celeryproject.org/en/master/userguide/tasks.html#automatic-retry-for-known-exceptions) was also suffering from a similar reference error,
but in this case, produces no hyperlink.

* Update two more broken hyperlink instances

* Internal `AsyncResult` argument parameter
* `datetime` reference in celery.schedules nowfun
  paramater description
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