Comments (6)
Hey @leeqvip
semantic-release-pypi
needs a project
or a tool.poetry
section to set the version.
If you have neither in your pyproject.toml
file, this is the expected error.
Your PR #32 would get rid of the error, but the version would no longer be updated.
Please explain to me why you need this?
from semantic-release-pypi.
Hi @abichinger
In my project, pyproject.toml
is only used for lint
checking, and the version is still configured in setup.cfg
from semantic-release-pypi.
I see. I can think of two solutions
- add a new option, which allows the user to force set the build interface (
pyproject.toml
orsetup.py
) - use
[email protected]
- this version will always set the version insetup.cfg
from semantic-release-pypi.
I'm happy to make a PR on pycasbin to fix the release workflow if you'd like.
from semantic-release-pypi.
- Migrate metadata to
pyproject.toml
from semantic-release-pypi.
I'm happy to make a PR on pycasbin to fix the release workflow if you'd like.
Thanks !
from semantic-release-pypi.
Related Issues (20)
- Error: socket hang up HOT 2
- feat: redirect stdout and stderr of child processes
- feat: add option to avoid publishing, only update version in setup.cfg
- bug: lint fails in setup.cfg after version bump HOT 2
- bug: version check too broad HOT 1
- workflow: How to get release tag on same commit as updating setup.cfg version HOT 4
- Reading package version from metadata HOT 1
- pyproject.toml HOT 2
- Error: version in ./setup.py HOT 8
- `Error: invalid command name 'setup.py'` HOT 2
- Feature Request: support `pyproject.toml` instead of legacy `setup.py` HOT 8
- Create `pyproject.toml` template HOT 1
- feat: support poetry projects HOT 1
- python3.10-venv is missing in version 3.0.0
- Error: python3 set_version.py -v 2.0.2 ., exit code: 1, expected: 0 HOT 4
- feat: create virtual python environment to install dependencies
- python3: can't find '__main__' module in set_version.py HOT 2
- Need help to get a poetry project published correctly HOT 2
- Prepare-Step fails with setuptools 70 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semantic-release-pypi.