Hi Dave!

I wish we could use "-" instead of "_"". Unfortunately, Python release
names must be normalized. As part of this normalization, "-" symbols are
automatically replaced with "_".
Case in point - I did use "apache-otava" [1]  and poetry automatically
replaced it with "apache_otava".

As for the "+", it is used in Python releases for "local version labels"
[2]. This label will be present in the source release and absent in PyPI,
which is AFAIU what we want [3].

Taking into account the feedback discussed in [4], I propose the following
structure for https://dist.apache.org/repos/dist/dev/incubator/otava/:
<version>-incubating-rc<n>/ (folder containing each release)

   - apache-otava-<version>-incubating-sources.tar.gz (the source release)
   - pypi/ (pypi-specific artifacts)
      - apache-otava-<version>+incubating-py3-none-any.whl
      - apache_otava-<version>+incubating.tar.gz
      - (sha and asc files are omitted for brevity)

WDYT?

1.
https://github.com/apache/otava/blob/f1d21a84b79a4bb411b404437b163250d30edecb/pyproject.toml#L19
2.
https://packaging.python.org/en/latest/specifications/version-specifiers/#local-version-identifiers
3.
https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist,
point 2.
4. https://lists.apache.org/thread/hbrgs803r8pn0z2kjlqsr4mcsx36gfqp

Best,
Alex

On Sat, May 10, 2025 at 11:34 AM Dave Fisher <w...@apache.org> wrote:

> FYI - the usual practice is to use “-“ and not “_” or “+” in these
> filenames.
>
> I recommend: apache-otava-0.6.0-incubating-py3-none-any.whl
> apache-otava-0.6.0-incubating.tar.gz
>
> Best,
> Dave
>
> > On May 9, 2025, at 7:09 PM, Gerrrr (via GitHub) <g...@apache.org> wrote:
> >
> >
> > Gerrrr commented on PR #58:
> > URL: https://github.com/apache/otava/pull/58#issuecomment-2868224768
> >
> >   Yes!
> >
> >   ```
> >   $ ls dist
> >   apache_otava-0.6.0+incubating-py3-none-any.whl
> apache_otava-0.6.0+incubating.tar.gz
> >   ```
> >
> >
> > --
> > This is an automated message from the Apache Git Service.
> > To respond to the message, please log on to GitHub and use the
> > URL above to go to the specific comment.
> >
> > To unsubscribe, e-mail: commits-unsubscr...@otava.apache.org
> >
> > For queries about this service, please contact Infrastructure at:
> > us...@infra.apache.org
> >
>
>

Reply via email to