Title: Missing `conftest.py` in 3.0.3 source distribution · Issue #456 · python-semver/python-semver · GitHub
Open Graph Title: Missing `conftest.py` in 3.0.3 source distribution · Issue #456 · python-semver/python-semver
X Title: Missing `conftest.py` in 3.0.3 source distribution · Issue #456 · python-semver/python-semver
Description: Which version of Python is the problem with? 3.14, 3.13, 3.12, 3.11, 3.10 What semver version are you using? 3.0.3 What OS are you using? (Add more in the Environment section) Linux Situation As a side effect of removing setuptools_scm, ...
Open Graph Description: Which version of Python is the problem with? 3.14, 3.13, 3.12, 3.11, 3.10 What semver version are you using? 3.0.3 What OS are you using? (Add more in the Environment section) Linux Situation As a ...
X Description: Which version of Python is the problem with? 3.14, 3.13, 3.12, 3.11, 3.10 What semver version are you using? 3.0.3 What OS are you using? (Add more in the Environment section) Linux Situation As a ...
Opengraph URL: https://github.com/python-semver/python-semver/issues/456
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing `conftest.py` in 3.0.3 source distribution","articleBody":"### Which version of Python is the problem with?\n\n3.14, 3.13, 3.12, 3.11, 3.10\n\n### What semver version are you using?\n\n3.0.3\n\n### What OS are you using? (Add more in the Environment section)\n\nLinux\n\n### Situation\n\nAs a side effect of removing `setuptools_scm`, the 3.0.3 source distribution has lots a lot files:\n\n```diff\n-.coveragerc\n-.editorconfig\n-.gitignore\n-.readthedocs.yaml\n CHANGELOG.rst\n-CITATION.cff\n CONTRIBUTING.rst\n-CONTRIBUTORS\n LICENSE.txt\n MANIFEST.in\n-Makefile\n PKG-INFO\n README.rst\n-SUPPORT.md\n-changelog.d/\n-changelog.d/.gitignore\n-changelog.d/README.rst\n-changelog.d/_template.rst\n-docs/\n[…]\n pyproject.toml\n-release-procedure.md\n setup.cfg\n src/\n src/semver/\n@@ -101,9 +24,6 @@ src/semver.egg-info/dependency_links.txt\n src/semver.egg-info/entry_points.txt\n src/semver.egg-info/top_level.txt\n tests/\n-tests/coerce.py\n-tests/conftest.py\n-tests/semverwithvprefix.py\n tests/test_bump.py\n tests/test_compare.py\n tests/test_deprecated_functions.py\n@@ -119,4 +39,3 @@ tests/test_replace.py\n tests/test_semver.py\n tests/test_subclass.py\n tests/test_typeerror-274.py\n-tox.ini\n```\n\nSince `tests/conftest.py` is missing, running test suite now fails due to missing fixtures, e.g.:\n\n```pytb\n_______________________________________ ERROR at setup of test_version_info_should_be_iterable ________________________________________\nfile /tmp/portage/dev-python/semver-3.0.3/work/semver-3.0.3/tests/test_semver.py, line 39 \n def test_version_info_should_be_iterable(version): \nE fixture 'version' not found\n```\n\nI don't know whether the other `.py` files are actually needed for tests as well.\n\n### How to reproduce\n\n```\nwget https://files.pythonhosted.org/packages/13/f8/071c42ed3e9678f66a6d624c8df4cdd1490de2504dde6a1d47b61a8195e2/semver-3.0.3.tar.gz\ntar -xf semver-3.0.3.tar.gz\ncd semver-3.0.3\npip install -e . pytest\npytest\n```\n\n### Expected behavior\n\nAll tests passing.\n\n### Environment\n\n_No response_","author":{"url":"https://github.com/mgorny","@type":"Person","name":"mgorny"},"datePublished":"2025-01-19T03:23:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/456/python-semver/issues/456"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f284f98-3386-b41c-17e4-208de1da02e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4C2:D9BB8:2704280:33F61E8:6992E0CB |
| html-safe-nonce | 4764d839eee6f74d203c2d84a5352ca80a4fa2c58070daaa74ca57eb5f3c53c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEMyOkQ5QkI4OjI3MDQyODA6MzNGNjFFODo2OTkyRTBDQiIsInZpc2l0b3JfaWQiOiI4NjUyMzU3MTk3NDc5NzMxNDAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5d24154a4e0f4bfeb7bedb5b610b3b4682d7d47cab6241f12bc1ab5dbe097f1c |
| hovercard-subject-tag | issue:2797394052 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-semver/python-semver/456/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d24e75054f3a57e341e865807f664dcd570a2426509ed547310c8778fa04aeef/python-semver/python-semver/issues/456 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d24e75054f3a57e341e865807f664dcd570a2426509ed547310c8778fa04aeef/python-semver/python-semver/issues/456 |
| og:image:alt | Which version of Python is the problem with? 3.14, 3.13, 3.12, 3.11, 3.10 What semver version are you using? 3.0.3 What OS are you using? (Add more in the Environment section) Linux Situation As a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mgorny |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semver/python-semver git https://github.com/python-semver/python-semver.git |
| octolytics-dimension-user_id | 57228994 |
| octolytics-dimension-user_login | python-semver |
| octolytics-dimension-repository_id | 3375726 |
| octolytics-dimension-repository_nwo | python-semver/python-semver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3375726 |
| octolytics-dimension-repository_network_root_nwo | python-semver/python-semver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width