Comments (6)
Saúl Ibarra Corretgé, 2016-09-07 02:21-0700:
Those files were generated so long ago I don't even remember :-S I took them from what Node uses, in order to avoid having to use subprocesses and autotools to build pycares. I wouldn't mind adding them to pycares, but I have no way to test those platforms (nor much time at the moment, TBH). If you have working versions for those feel free to send a PR and I'll include it!
I think I will do that: prepare a change that adds generated versions
for these platforms, plus the files to generate them manually for new
platforms if needed, since it is always better to have all the source.
Out of curiosity: how did you get away with packaging it for Debian given I include a bundled and modified c-ares (for good reasons!) ? I thought this was against the policy.
Bundling an existing library goes against the policy indeed, but you are
not: your c-ares is a fork! Still, you have to take care of updating it
if security flaws are discovered in the original…
Librement,
Tanguy
from pycares.
Hi there! Thanks a lot for packaging pycares for Debian!
If you generated config.h with an unmodified config.h.in and configure script from c-ares, or if you modified it but still have it, I could add it to the Debian package and use it to generate config.h (with some kind of Debian-specific patch). Ideally, that should rather be shipped with pycares itself, but I think you had a reason to pre-generate these ares_config.h. Perhaps you could ship it but leave it to the user or distro maintainer to re-generate them it they want to?
Those files were generated so long ago I don't even remember :-S I took them from what Node uses, in order to avoid having to use subprocesses and autotools to build pycares. I wouldn't mind adding them to pycares, but I have no way to test those platforms (nor much time at the moment, TBH). If you have working versions for those feel free to send a PR and I'll include it!
Out of curiosity: how did you get away with packaging it for Debian given I include a bundled and modified c-ares (for good reasons!) ? I thought this was against the policy.
from pycares.
Hello,
I have prepared a new version that can compile on OSes for which the
ares_config.h was not pre-generated, and I will soon upload to Debian.
What is does is that it runs the original c-ares configure script, which
I have added as debian add-on, along with all the other files it needs.
This generates ares_config.h, and also other files like a Makefile,
which I just discard.
Since you refresh files from c-ares from time to time anyway, do you
think you could grab the following ones as well (ares_build.h.in
ares_config.h.in config.guess config.sub configure install-sh
libcares.pc.in Makefile.in), and store them in a directory such as
deps/ares/src/config_source? Even if they are not used normally, this
way they would be there for people that want to regenerate
ares_config.h, for instance to add a new OS or to reflect changes to an
existing one.
Regards,
Tanguy
from pycares.
Hi!
The things the configure script figures out are not something that can change with time IIRC, so I'd rather sip the generated files instead, as we do now. On what platforms did you have to regerate the files? Wouldn't it be easier for Debian (or anyone else, for that matter) to not need any extra patches?
from pycares.
from pycares.
Closing since there is nothing actionable and a long time has passed. If you still want to ship the config files, please send a PR and I'll take a look!
from pycares.
Related Issues (20)
- Solution to Some Failures of [email protected] Self-Test Cases
- Compile errors when installing on Python 3.9.1 on macOS HOT 11
- Missing user data in callbacks HOT 1
- [GRAMMAR] pb in REAMDE.rst HOT 1
- HELP: looking for new maintainers HOT 8
- Add aarch64 wheel HOT 1
- Pycares requires gcc 4.2? HOT 1
- python tests/tests.py fail when test [email protected] HOT 5
- 4.0.0 Q: how to build pycares against system installed c-ares ? HOT 2
- deps/c-ares/src/lib/ares__close_sockets.c: No such file or directory HOT 3
- gethostbyname() does not appear to work with lookups="f"
- python3 setup.py build failed in [email protected] on centos8_aarch64 HOT 2
- CNAME answers to A request HOT 6
- pytest failed in [email protected] on centos8_aarch64 HOT 1
- Error FileNotFound when installing pycares==4.1.1 HOT 8
- 4.1.2: pytest is failing HOT 5
- `pycares.reverse_address` Import Error HOT 2
- Security vulnerability HOT 2
- 4.2.0: sphinx warnings `reference target not found` HOT 2
- 3.11 wheels HOT 2
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 pycares.