Results 763 comments of James Addison

Hi @fortysixandtwo! I attempted something similar recently (except without figure-dash support) in #12450 -- although discarded that after learning that some projects are intentonally using non-hyphen dashes for a workaround...

> * Opening initially in 'draft' status because I'd like feedback on it - I'll likely also reference the suggested logic here in an upcoming Reproducible Builds mailing list thread....

> > * Opening initially in 'draft' status because I'd like feedback on it - I'll likely also reference the suggested logic here in an upcoming Reproducible Builds mailing list...

@AA-Turner Ok, this is ready from my perspective. Thanks for adding some momentum to it.

I don't have any further changes planned here, but I'm not 100% confident about the changeset either. This code handles detection of simple constant assignments, but the functionality as-is can...

Tangential idea, available from Py3.11 onwards: perhaps we could add a type-hint in the templated `conf.py.jinja` file for `copyright` of [`typing.LiteralString`](https://docs.python.org/3.11/library/typing.html#typing.LiteralString). Sites could still remove or adjust that, but it...

Since there is some careful logic required to handle `epub_copyright`, it would make sense to add test coverage for that too before merge. Even so: I think this is ready...

> I know that @AA-Turner wasn't in favor of having an additional configuration variable but to tackle the reproducbility issue, I think it's needed. However, what I can suggest is...

> 2. Add some format specifier ({yy} or {yyyy} or %y or %Y or YY or etc) that we support and always replace with either the current year or the...