professormanhattan / semantic-release-python Goto Github PK
View Code? Open in Web Editor NEWA semantic-release plugin for PyPi.org that supports both regular and Poetry projects
Home Page: https://megabyte.space
License: MIT License
A semantic-release plugin for PyPi.org that supports both regular and Poetry projects
Home Page: https://megabyte.space
License: MIT License
Essentially the plugin fails to after the verification step with Object.hasOwn is not a function.
Error Log
[8:09:06 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "semantic-release-python"
[8:09:06 PM] [semantic-release] › ✖ Failed step "verifyConditions" of plugin "semantic-release-python"
[8:09:06 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/exec"
[8:09:06 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/exec"
[8:09:06 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/changelog"
[8:09:06 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/changelog"
[8:09:06 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/git"
[8:09:06 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/git"
[8:09:06 PM] [semantic-release] › ℹ Start step "verifyConditions" of plugin "@semantic-release/gitlab"
[8:09:06 PM] [semantic-release] [@semantic-release/gitlab] › ℹ Verify GitLab authentication (https://gitlab.com/api/v4)
[8:09:06 PM] [semantic-release] › ✔ Completed step "verifyConditions" of plugin "@semantic-release/gitlab"
[8:09:06 PM] [semantic-release] › ✖ An error occurred while running semantic-release: TypeError: Object.hasOwn is not a function
at getOption (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/util.js:10:17)
at verifyPoetry (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/verify.js:123:23)
at verify (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/verify.js:149:11)
at validator (/opt/node_modules/semantic-release/lib/plugins/normalize.js:34:30)
at /opt/node_modules/semantic-release/lib/plugins/pipeline.js:37:40
at next (/opt/node_modules/p-reduce/index.js:17:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
pluginName: 'semantic-release-python'
}
AggregateError:
TypeError: Object.hasOwn is not a function
at getOption (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/util.js:10:17)
at verifyPoetry (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/verify.js:123:23)
at verify (/builds/lmco/hoppr/hoppr/node_modules/semantic-release-python/lib/verify.js:149:11)
at validator (/opt/node_modules/semantic-release/lib/plugins/normalize.js:34:30)
at /opt/node_modules/semantic-release/lib/plugins/pipeline.js:37:40
at next (/opt/node_modules/p-reduce/index.js:17:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at /opt/node_modules/semantic-release/lib/plugins/pipeline.js:54:11
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.pluginsConf.<computed> [as verifyConditions] (/opt/node_modules/semantic-release/lib/plugins/index.js:80:11)
at async run (/opt/node_modules/semantic-release/index.js:95:3)
at async module.exports (/opt/node_modules/semantic-release/index.js:260:22)
at async module.exports (/opt/node_modules/semantic-release/cli.js:55:5)
Latest Release
v2.5.30
The poetry publish
catch block in publishPoetry throws the same error message as the poetry config
:
throw new Error(`Failed to run "poetry config repositories.repo ${repoUrl}"`)
This makes it harder to figure out which of the two commands failed. Could the second error thrown be something like:
throw new Error(Failed to run "poetry publish --build --repository --repo")
Set PYPI_TOKEN
to an invalid token. Run the publish step and observe the error message.
No response
throw new Error(Failed to run "poetry publish --build --repository --repo")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.