Skip to content

Deprecation notice for recent source distribution upload to 'qiskit-experiments' #1527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1ucian0 opened this issue Mar 5, 2025 · 0 comments · Fixed by #1530
Closed

Deprecation notice for recent source distribution upload to 'qiskit-experiments' #1527

1ucian0 opened this issue Mar 5, 2025 · 0 comments · Fixed by #1530

Comments

@1ucian0
Copy link
Contributor

1ucian0 commented Mar 5, 2025

From the PyPI administrators:

This email is notifying you of an upcoming deprecation that we have determined may affect you as a result of your recent upload to 'qiskit-experiments'.
In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated.
Specifically, your recent upload of 'qiskit-experiments-0.8.2.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'qiskit_experiments'.
In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames. You do not need to remove the file.

wshanks added a commit to wshanks/qiskit-experiments that referenced this issue Mar 7, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Closes qiskit-community#1527
wshanks added a commit to wshanks/qiskit-experiments that referenced this issue Mar 10, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Setting up the .pkg environment led to tox errors when `package` was set
to different values in different environments so they were all set to
editable by default but they can be overridden with `--override
testenv.package=wheel`.

Additionally, the shared `.tox/lint` `envdir` in `tox.ini` was dropped
because with `tox` version 4 it resulted in the environment being
rebuilt every time a different command sharing that environment
directory was run (with `tox` 3 the environment was reused). Instead, a
recommendation to use `tox-uv` was added to the documentation. `uv` is
quick at creating similar virtual environments so it allows using many
`tox` environments without worrying about speed or disk space (because
it uses hard links).

Explicit installation of `pyarrow` was removed from `tox.ini` because
Pandas no longer issues a deprecation warning when `pyarrow` is not
installed.

Along with suggesting using `tox-uv` in the documentation, the GitHub
workflows were updated to use `uv` and `tox-uv`.

Closes qiskit-community#1527
wshanks added a commit to wshanks/qiskit-experiments that referenced this issue Mar 10, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Setting up the .pkg environment led to tox errors when `package` was set
to different values in different environments so they were all set to
editable by default but they can be overridden with `--override
testenv.package=wheel`.

Additionally, the shared `.tox/lint` `envdir` in `tox.ini` was dropped
because with `tox` version 4 it resulted in the environment being
rebuilt every time a different command sharing that environment
directory was run (with `tox` 3 the environment was reused). Instead, a
recommendation to use `tox-uv` was added to the documentation. `uv` is
quick at creating similar virtual environments so it allows using many
`tox` environments without worrying about speed or disk space (because
it uses hard links).

Explicit installation of `pyarrow` was removed from `tox.ini` because
Pandas no longer issues a deprecation warning when `pyarrow` is not
installed.

Along with suggesting using `tox-uv` in the documentation, the GitHub
workflows were updated to use `uv` and `tox-uv`.

Also, the version of Python used for running linting and building the
release artifacts was updated from 3.9 to 3.12

Closes qiskit-community#1527
wshanks added a commit to wshanks/qiskit-experiments that referenced this issue Mar 10, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Setting up the .pkg environment led to tox errors when `package` was set
to different values in different environments so they were all set to
editable by default but they can be overridden with `--override
testenv.package=wheel`.

Additionally, the shared `.tox/lint` `envdir` in `tox.ini` was dropped
because with `tox` version 4 it resulted in the environment being
rebuilt every time a different command sharing that environment
directory was run (with `tox` 3 the environment was reused). Instead, a
recommendation to use `tox-uv` was added to the documentation. `uv` is
quick at creating similar virtual environments so it allows using many
`tox` environments without worrying about speed or disk space (because
it uses hard links).

Explicit installation of `pyarrow` was removed from `tox.ini` because
Pandas no longer issues a deprecation warning when `pyarrow` is not
installed.

Along with suggesting using `tox-uv` in the documentation, the GitHub
workflows were updated to use `uv` and `tox-uv`.

Also, the version of Python used for running linting and building the
release artifacts was updated from 3.9 to 3.12

Closes qiskit-community#1527
wshanks added a commit to wshanks/qiskit-experiments that referenced this issue Mar 12, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Setting up the .pkg environment led to tox errors when `package` was set
to different values in different environments so they were all set to
editable by default but they can be overridden with `--override
testenv.package=wheel`.

Additionally, the shared `.tox/lint` `envdir` in `tox.ini` was dropped
because with `tox` version 4 it resulted in the environment being
rebuilt every time a different command sharing that environment
directory was run (with `tox` 3 the environment was reused). Instead, a
recommendation to use `tox-uv` was added to the documentation. `uv` is
quick at creating similar virtual environments so it allows using many
`tox` environments without worrying about speed or disk space (because
it uses hard links).

Explicit installation of `pyarrow` was removed from `tox.ini` because
Pandas no longer issues a deprecation warning when `pyarrow` is not
installed.

Along with suggesting using `tox-uv` in the documentation, the GitHub
workflows were updated to use `uv` and `tox-uv`.

Also, the version of Python used for running linting and building the
release artifacts was updated from 3.9 to 3.12

Closes qiskit-community#1527
github-merge-queue bot pushed a commit that referenced this issue Mar 14, 2025
pypa/build builds an sdist and then a wheel from the sdist which helps
avoid leaving files out of the sdist. Additionally, pypa/build formats
the package file names in the way that PyPI will soon require while
`python setup.py` does not.

Setting up the .pkg environment led to tox errors when `package` was set
to different values in different environments so they were all set to
editable by default but they can be overridden with `--override
testenv.package=wheel`.

Additionally, the shared `.tox/lint` `envdir` in `tox.ini` was dropped
because with `tox` version 4 it resulted in the environment being
rebuilt every time a different command sharing that environment
directory was run (with `tox` 3 the environment was reused). Instead, a
recommendation to use `tox-uv` was added to the documentation. `uv` is
quick at creating similar virtual environments so it allows using many
`tox` environments without worrying about speed or disk space (because
it uses hard links).

Explicit installation of `pyarrow` was removed from `tox.ini` because
Pandas no longer issues a deprecation warning when `pyarrow` is not
installed.

Along with suggesting using `tox-uv` in the documentation, the GitHub
workflows were updated to use `uv` and `tox-uv`.

Also, the version of Python used for running linting and building the
release artifacts was updated from 3.9 to 3.12

Closes
#1527
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 a pull request may close this issue.

1 participant