Comments (6)
Hi,
I guess this issue could be closed, yes. I would prefer if it wasn't though, as I don't think the current fix is what I intended :)
@SnoopJ is right in correcting me by saying setup.py
isn't deprecated itself (only running it as CLI argument to build is). They're also right when they say you can now build this project using python3.11 -m build
(I've just tested this while updating the Debian package to 0.8.0).
Most of the logic stays in the setup.py
file though, and is in-house code. I think the best practice would be to migrate most (if not all) of that logic in the pyproject.toml
file :)
I had a look and it doesn't seem like it would be a lot of work?
from clevercsv.
Point of clarification: setup.py
is not itself deprecated (unless I am misinformed, in which case I would appreciate a pointer to the deprecation notice), but running setup.py
directly is deprecated. I'm not familiar enough with this project to know if the executable portions of setup.py
could be subsumed into an entirely-declarative way (setup.cfg
or pyproject.toml
) but it would be a good improvement to remove the direct execution of the file from the build tooling. I was able to successfully build this project with build
as well as pip wheel
, so it is probably compatible with any PEP 517 build front-end.
from clevercsv.
@baldurmen It seems to have been fixed. Can this be closed?
from clevercsv.
Yes you're right, the pyproject.toml
is there but the setup.py
lingers.
from clevercsv.
Thanks both for the discussion! I looked into this a bit but haven't fully completed the transition. I believe from what I've seen so far that the setup.py
file is still needed for some build functionality (such as the C extensions), so my thinking is that in order to resolve this ticket it would be best to have that be the only things that are defined in the setup.py
file. Until then I'll leave this ticket open.
from clevercsv.
You can use PDM: https://pdm-backend.fming.dev/build_config/#run-setuptools
from clevercsv.
Related Issues (20)
- Allow avoidance of Pandas dependency HOT 1
- header detect error
- Header Detection Error HOT 1
- Code generation UnicodeDecodeError HOT 4
- Built-in support for cChardet HOT 2
- Please consider signing new tags HOT 1
- Date delimiter prevales on column delimiter HOT 7
- allowed delimiters? HOT 1
- can this detect the datatype (ie timestamp, int, double, string) of each column in csv? HOT 1
- delimiter detection error HOT 4
- precedence for delimiter characters? HOT 1
- Invalid abstract representation of the file with repeating newline HOT 1
- Testsuite failure with Python 3.11 HOT 9
- 0.7.4: pep517 build fails HOT 5
- cchardet is no longer maintained HOT 1
- 0.7.5: pytest is failing in `tests/test_unit/test_encoding.py::EncodingTestCase::test_encoding_cchardet` unit HOT 4
- A Possible Typo in the Readthedocs docs of Clevercsv package. HOT 2
- allow more rows to be checked
- Detection breaks on good file
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 clevercsv.