-
-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove regex
package from standard library
#3218
Conversation
@kulibali Can you verify I did the correct changes with the Windows build script? I assume that CI passing is "good enough" but I'm not really sure about that. |
We need to update a lot of CI docker images (and other docker images) once this is merged. I can handle that. |
I think what I will do is open a PR to remove |
The `regex` package is being removed from the standard library and moved to a new home at https://github.com/ponylang/regex/ where it will live on as an independent library. It is being removed because it has a dependency on an external library libpcre and that dependency makes creating release artifacts more difficult. At the moment we have to deal with packaging up pcre for each Linux distro etc and they all have their own methods to do so. This lead us to do a lot of work on supporting distro specific packaging. That has turned out to be too much work. We are moving to having a single glibc Linux friendly .tar.gz that can be done to install Pony. To faciliate this move, we decided that we want to remove items from the standard library that depend on external libraries like pcre. Full conversation about the decision is available in the audio of the Pony development sync July 9, 2019 audio that you can download from: https://sync-recordings.ponylang.io/r/2019_07_09.m4a
638f17a
to
f0ae3b7
Compare
We can do this once PCRE AND LIBRESSL aren't needed
Ive reverted the wscript changes as I see those can't be done until both PRCE and LIBRESSL are removed. |
It seems that removing the pcre2 install loses zlib and ncurses support for some reason. Trying a couple additions to add those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The
regex
package is being removed from the standard library andmoved to a new home at https://github.com/ponylang/regex/ where it
will live on as an independent library.
It is being removed because it has a dependency on an external
library libpcre and that dependency makes creating release artifacts
more difficult.
At the moment we have to deal with packaging up pcre for each Linux
distro etc and they all have their own methods to do so. This
lead us to do a lot of work on supporting distro specific packaging.
That has turned out to be too much work. We are moving to having
a single glibc Linux friendly .tar.gz that can be done to install
Pony.
To faciliate this move, we decided that we want to remove items from
the standard library that depend on external libraries like pcre.
Full conversation about the decision is available in the audio of
the Pony development sync July 9, 2019 audio that you can download
from: https://sync-recordings.ponylang.io/r/2019_07_09.m4a