Skip to content
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

bpo-32593: Drop FreeBSD 9 and older support #5232

Merged
merged 4 commits into from
Jan 22, 2018
Merged

bpo-32593: Drop FreeBSD 9 and older support #5232

merged 4 commits into from
Jan 22, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 18, 2018

Drop support of FreeBSD 9 and older.

https://bugs.python.org/issue32593

Drop support of FreeBSD 9 and older.
@vstinner
Copy link
Member Author

Hum, the change should be mentionned in Doc/whatsnew/3.7.rst.

@@ -227,7 +227,7 @@ def runtime_library_dir_option(self, dir):
if sys.platform[:6] == "darwin":
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir
elif sys.platform[:7] == "freebsd":
elif sys.platform.startswith("freebsd"):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not see why FreeBSD has a special treatment it should work the same as linux here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, I don't know this code and I never understood what is rpath. If you consider that the code is outdated/can be simplified, would you mind to open a new issue? Maybe even write a PR to implement your proposed change?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is simple the only thing needed it dropping the block and let it fall into the else like linux

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created #5233 : would you mind to review it and test it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted this change and wrote PR #5233 instead.

@bapt
Copy link

bapt commented Jan 18, 2018

as a principle it is fine to drop support to non supported version of FreeBSD in your next major version

@vstinner
Copy link
Member Author

Hum, the change should be mentionned in Doc/whatsnew/3.7.rst.

Done.

@vstinner vstinner merged commit 13ff245 into python:master Jan 22, 2018
@vstinner vstinner deleted the drop_old_freebsd branch January 22, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants