Skip to content

Conversation

vvzen
Copy link
Contributor

@vvzen vvzen commented May 9, 2021

I haven't made an issue since this is just fixing a typo, but I'm happy to open one if needed.
There's also a quick conversation on the Slack regarding this quirk, titled conda & OTIO.

Basically, in setup.py, there's a tiny comma that needs to be moved downwards, otherwise it makes the otioautogen_serialized_schema_docs.. entry a tuple made of one element, instead of a multiline string enclosed by parenthesis (which I suppose it was the original intent).

Pinging @ssteinbach since I'm not a setup.py expert and he originally authored that commit.

The main reason why I discovered that is that it breaks conda skeleton, which parses the pkginfo.yaml generated from the setup.py and doesn't expect a tuple/list there. See conda/conda-build#4227

Thanks!

Valerio

* Just one tiny comma that needs to be moved downwards!
* This breaks conda skeleton, which parses the pkginfo.yaml
and doesn't expect a tuple/list there, see
conda/conda-build#4227
@codecov-commenter
Copy link

Codecov Report

Merging #962 (4e01daa) into master (a02381c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #962   +/-   ##
=======================================
  Coverage   85.61%   85.61%           
=======================================
  Files         191      191           
  Lines       18212    18212           
  Branches     2071     2071           
=======================================
  Hits        15593    15593           
  Misses       2088     2088           
  Partials      531      531           
Flag Coverage Δ
unittests 85.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a02381c...4e01daa. Read the comment docs.

Copy link
Collaborator

@ssteinbach ssteinbach left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks.

@meshula
Copy link
Collaborator

meshula commented May 9, 2021

If this is a result of thwarting the line length linter, can we turn off line length linting for the whole block to ease readability/maintainability? I feel like tricking a linter is an anti-pattern, and suppression is better. The proof, to my mind, is that it took some investigation to discover the typo.

@meshula meshula merged commit 76368b5 into AcademySoftwareFoundation:master May 10, 2021
@ssteinbach ssteinbach changed the title Fix typo that makes a string a tuple :D Fix typo in setup.py that prevents conda skeleton from parsing setup.py May 10, 2021
@ssteinbach ssteinbach added this to the Public Beta 14 milestone Jun 7, 2021
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