René's URL Explorer Experiment


Title: Some Tests fails with

Open Graph Title: Some Tests fails with

X Title: Some Tests fails with

Description: PyShp Version 3.1.4 Python Version tested with Python 3.12, Python 3.13 and Python 3.14 Your code Running pytest fails if Python 3.12 or Python 3.13 is used as interpreter: The failing tests are: tests/hypothesis_tests.py::test_dbf_reade...

Open Graph Description: PyShp Version 3.1.4 Python Version tested with Python 3.12, Python 3.13 and Python 3.14 Your code Running pytest fails if Python 3.12 or Python 3.13 is used as interpreter: The failing tests are: t...

X Description: PyShp Version 3.1.4 Python Version tested with Python 3.12, Python 3.13 and Python 3.14 Your code Running pytest fails if Python 3.12 or Python 3.13 is used as interpreter: The failing tests are: t...

Opengraph URL: https://github.com/GeospatialPython/pyshp/issues/435

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some Tests fails with \u003cPython3.14","articleBody":"### PyShp Version\n\n3.1.4\n\n### Python Version\n\ntested with Python 3.12, Python 3.13 and Python 3.14\n\n### Your code\n\n```shell\nRunning pytest fails if Python 3.12 or Python 3.13 is used as interpreter: The failing tests are:\n\n  tests/hypothesis_tests.py::test_dbf_reader_writer_roundtrip\n  tests/hypothesis_tests.py::test_shapefile_reader_writer_roundtrip\n \nUsing Python 3.14 all tests pass.\n```\n\n### Full stacktrace\n\n```shell\n____________________________________________________ test_dbf_reader_writer_roundtrip _____________________________________________________\n  + Exception Group Traceback (most recent call last):\n  |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 818, in test_dbf_reader_writer_roundtrip\n  |     @pytest.mark.hypothesis_dbf\n  |                    ^^^\n  |   File \"/usr/lib/python3.12/site-packages/hypothesis/core.py\", line 2281, in wrapped_test\n  |     raise the_error_hypothesis_found\n  | ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions)\n  +-+---------------- 1 ----------------\n    | Traceback (most recent call last):\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 829, in test_dbf_reader_writer_roundtrip\n    |     written_fields, written_records = _write_fields_and_records_to_strict(w, fields, records)\n    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 806, in _write_fields_and_records_to_strict\n    |     w.record(*rec_list)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4381, in record\n    |     self._record(record)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4441, in _record\n    |     raise ShapefileException(\n    | shapefile.ShapefileException: Could not read as date: 9990101. Date values must be either a datetime.date object, a list, a YYYYMMDD string, or a missing value.\n    | Falsifying example: test_dbf_reader_writer_roundtrip(\n    |     codec_fields_and_records=('shift_jis_2004',\n    |      [{'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'D', 'size': 8, 'decimal': 0}],\n    |      [('', '9990101')]),\n    | )\n    | Explanation:\n    |     These lines were always and only run by failing examples:\n    |         /var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py:4441\n    +---------------- 2 ----------------\n    | Traceback (most recent call last):\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 829, in test_dbf_reader_writer_roundtrip\n    |     written_fields, written_records = _write_fields_and_records_to_strict(w, fields, records)\n    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 806, in _write_fields_and_records_to_strict\n    |     w.record(*rec_list)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4381, in record\n    |     self._record(record)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4537, in _record\n    |     raise ShapefileException(\n    | shapefile.ShapefileException: Shapefile Writer unable to pack incorrect sized value=datetime.date(999, 1, 1) (encoded as 7B) into field '0' (8B).\n    | Falsifying example: test_dbf_reader_writer_roundtrip(\n    |     codec_fields_and_records=('shift_jis_2004',\n    |      [{'name': '0', 'field_type': 'D', 'size': 8, 'decimal': 0}],\n    |      [(datetime.date(999, 1, 1),)]),\n    | )\n    | Explanation:\n    |     These lines were always and only run by failing examples:\n    |         /var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py:4537\n    +------------------------------------\n_________________________________________________ test_shapefile_reader_writer_roundtrip __________________________________________________\n  + Exception Group Traceback (most recent call last):\n  |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 853, in test_shapefile_reader_writer_roundtrip\n  |     @pytest.mark.hypothesis_dbf\n  |                    ^^^\n  |   File \"/usr/lib/python3.12/site-packages/hypothesis/core.py\", line 2281, in wrapped_test\n  |     raise the_error_hypothesis_found\n  | ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions)\n  +-+---------------- 1 ----------------\n    | Traceback (most recent call last):\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 864, in test_shapefile_reader_writer_roundtrip\n    |     written_fields, written_records = _write_fields_and_records_to_strict(w, fields, records)\n    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 806, in _write_fields_and_records_to_strict\n    |     w.record(*rec_list)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4987, in record\n    |     self.dbf_writer.record(*recordList, **recordDict)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4381, in record\n    |     self._record(record)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4441, in _record\n    |     raise ShapefileException(\n    | shapefile.ShapefileException: Could not read as date: 9990101. Date values must be either a datetime.date object, a list, a YYYYMMDD string, or a missing value.\n    | Falsifying example: test_shapefile_reader_writer_roundtrip(\n    |     codes_codecs_fields_shapes_and_records=(28,\n    |      'shift_jis_2004',\n    |      [{'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'D', 'size': 8, 'decimal': 0}],\n    |      [NullShape #-1],\n    |      [('', '', '', '', '9990101')]),\n    | )\n    | Explanation:\n    |     These lines were always and only run by failing examples:\n    |         /var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py:4441\n    +---------------- 2 ----------------\n    | Traceback (most recent call last):\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 864, in test_shapefile_reader_writer_roundtrip\n    |     written_fields, written_records = _write_fields_and_records_to_strict(w, fields, records)\n    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4/tests/hypothesis_tests.py\", line 806, in _write_fields_and_records_to_strict\n    |     w.record(*rec_list)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4987, in record\n    |     self.dbf_writer.record(*recordList, **recordDict)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4381, in record\n    |     self._record(record)\n    |   File \"/var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py\", line 4537, in _record\n    |     raise ShapefileException(\n    | shapefile.ShapefileException: Shapefile Writer unable to pack incorrect sized value=datetime.date(999, 1, 1) (encoded as 7B) into field '0' (8B).\n    | Falsifying example: test_shapefile_reader_writer_roundtrip(\n    |     codes_codecs_fields_shapes_and_records=(28,\n    |      'shift_jis_2004',\n    |      [{'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'C', 'size': 1, 'decimal': 0},\n    |       {'name': '0', 'field_type': 'D', 'size': 8, 'decimal': 0}],\n    |      [NullShape #-1],\n    |      [('', '', '', datetime.date(999, 1, 1))]),\n    | )\n    | Explanation:\n    |     These lines were always and only run by failing examples:\n    |         /var/tmp/portage/sci-libs/pyshp-3.1.4/work/pyshp-3.1.4-python3_12/install/usr/lib/python3.12/site-packages/shapefile.py:4537\n    +------------------------------------\n```\n\n### Other notes\n\n_No response_","author":{"url":"https://github.com/dl1jbe","@type":"Person","name":"dl1jbe"},"datePublished":"2026-07-21T19:51:23Z","url":"https://github.com/GeospatialPython/pyshp/issues/435"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:25ef38c5-71be-0600-1140-f8cebb655909
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8EF4:185321:1B278A:25D0C6:6B006681
html-safe-noncec74f3786e3d77bbefbca292f3dc9b4b89ce23cad396157fdd620dcce94ba277d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUY0OjE4NTMyMToxQjI3OEE6MjVEMEM2OjZCMDA2NjgxIiwidmlzaXRvcl9pZCI6IjQyNzg3NTEwNzMyNDM1MjI2ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc8263d95c1abed6d22b0c0e0654a59ae728fff2e6cb0fb0ef511dd075065eabd
hovercard-subject-tagissue:4942567899
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GeospatialPython/pyshp/435/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f4e6fbb58311aa40b38771a84d72f90a87df5f35bfb1ad9857bb43d8e5abf9d/GeospatialPython/pyshp/issues/435
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f4e6fbb58311aa40b38771a84d72f90a87df5f35bfb1ad9857bb43d8e5abf9d/GeospatialPython/pyshp/issues/435
og:image:altPyShp Version 3.1.4 Python Version tested with Python 3.12, Python 3.13 and Python 3.14 Your code Running pytest fails if Python 3.12 or Python 3.13 is used as interpreter: The failing tests are: t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedl1jbe
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-preview
go-importgithub.com/GeospatialPython/pyshp git https://github.com/GeospatialPython/pyshp.git
octolytics-dimension-user_id5385450
octolytics-dimension-user_loginGeospatialPython
octolytics-dimension-repository_id17410607
octolytics-dimension-repository_nwoGeospatialPython/pyshp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17410607
octolytics-dimension-repository_network_root_nwoGeospatialPython/pyshp
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/GeospatialPython/pyshp/issues/435#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGeospatialPython%2Fpyshp%2Fissues%2F435
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGeospatialPython%2Fpyshp%2Fissues%2F435
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=GeospatialPython%2Fpyshp
Reloadhttps://github.com/GeospatialPython/pyshp/issues/435
Reloadhttps://github.com/GeospatialPython/pyshp/issues/435
Reloadhttps://github.com/GeospatialPython/pyshp/issues/435
GeospatialPythonhttps://github.com/GeospatialPython
pyshphttps://github.com/GeospatialPython/pyshp
Codehttps://github.com/GeospatialPython/pyshp
Issues8 (8)https://github.com/GeospatialPython/pyshp/issues
Pull requestshttps://github.com/GeospatialPython/pyshp/pulls
Discussionshttps://github.com/GeospatialPython/pyshp/discussions
Actionshttps://github.com/GeospatialPython/pyshp/actions
Projectshttps://github.com/GeospatialPython/pyshp/projects
Wikihttps://github.com/GeospatialPython/pyshp/wiki
Security and qualityhttps://github.com/GeospatialPython/pyshp/security
Insightshttps://github.com/GeospatialPython/pyshp/pulse
https://github.com/GeospatialPython/pyshp
New issuehttps://github.com/login?return_to=https://github.com/GeospatialPython/pyshp/issues/435
New issuehttps://github.com/login?return_to=https://github.com/GeospatialPython/pyshp/issues/435
#437https://github.com/GeospatialPython/pyshp/pull/437
Some Tests fails with https://github.com/GeospatialPython/pyshp/issues/435#top
#437https://github.com/GeospatialPython/pyshp/pull/437
bughttps://github.com/GeospatialPython/pyshp/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/dl1jbe
dl1jbehttps://github.com/dl1jbe
on Jul 21, 2026https://github.com/GeospatialPython/pyshp/issues/435#issue-4942567899
dl1jbehttps://github.com/dl1jbe
bughttps://github.com/GeospatialPython/pyshp/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 21, 2026https://github.com/GeospatialPython/pyshp/issues/435#event-28289747863
gentoo-bothttps://github.com/gentoo-bot
on Jul 21, 2026https://github.com/GeospatialPython/pyshp/issues/435#event-28290147999
sci-libs/pyshp: Exclude failing testshttps://github.com/gentoo/gentoo/commit/3b28300f02207e9362b15c33d646b2fb347f33ca
3b28300https://github.com/gentoo/gentoo/commit/3b28300f02207e9362b15c33d646b2fb347f33ca
https://github.com/JamesParrott
JamesParrotthttps://github.com/JamesParrott
on Jul 22, 2026https://github.com/GeospatialPython/pyshp/issues/435#issuecomment-5043065649
JamesParrotthttps://github.com/JamesParrott
completedhttps://github.com/GeospatialPython/pyshp/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#437https://github.com/GeospatialPython/pyshp/pull/437
on Jul 22, 2026https://github.com/GeospatialPython/pyshp/issues/435#event-28327257957
https://github.com/JamesParrott
JamesParrotthttps://github.com/JamesParrott
on Jul 22, 2026https://github.com/GeospatialPython/pyshp/issues/435#issuecomment-5046325408
Sign up for freehttps://github.com/signup?return_to=https://github.com/GeospatialPython/pyshp/issues/435
Sign in to commenthttps://github.com/login?return_to=https://github.com/GeospatialPython/pyshp/issues/435
bughttps://github.com/GeospatialPython/pyshp/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.