Skip to content

Commit

Permalink
[fc] Repository: plone.app.referenceablebehavior
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2021-10-05T20:56:04+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.referenceablebehavior@4117763

Prevent installation on Python 3, where we know Archetypes does not work.

Files changed:
A news/3330.bugfix
M setup.py
Repository: plone.app.referenceablebehavior

Branch: refs/heads/master
Date: 2021-10-07T12:27:55+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.referenceablebehavior@935d249

Merge pull request #14 from plone/prevent-installation-on-py3

Prevent installation on Python 3, where we know Archetypes does not work

Files changed:
A news/3330.bugfix
M setup.py
  • Loading branch information
jensens committed Oct 7, 2021
1 parent 101de75 commit 4dd2555
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions last_commit.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
Repository: archetypes.multilingual
Repository: plone.app.referenceablebehavior


Branch: refs/heads/master
Date: 2021-10-05T20:58:26+02:00
Date: 2021-10-05T20:56:04+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: https://github.com/plone/archetypes.multilingual/commit/433ca08e3fd85b80f5c1a182196ac5d0f7d2504b
Commit: https://github.com/plone/plone.app.referenceablebehavior/commit/41177637ce00cebb5404080094676cdd59591b09

Prevent installation on Py 3, where Archetypes does not work.

See https://github.com/plone/Products.CMFPlone/issues/3330
Prevent installation on Python 3, where we know Archetypes does not work.

Files changed:
A news/3330.bugfix
M setup.cfg
M setup.py

b'diff --git a/news/3330.bugfix b/news/3330.bugfix\nnew file mode 100644\nindex 0000000..a23a636\n--- /dev/null\n+++ b/news/3330.bugfix\n@@ -0,0 +1,2 @@\n+Prevent installation on Python 3, as we know Archetypes does not work there.\n+[maurits]\ndiff --git a/setup.cfg b/setup.cfg\nindex 2a9acf1..809b563 100644\n--- a/setup.cfg\n+++ b/setup.cfg\n@@ -1,2 +1,3 @@\n [bdist_wheel]\n-universal = 1\n+# Py2 only\n+universal = 0\ndiff --git a/setup.py b/setup.py\nindex 24bdc90..4293842 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -2,6 +2,13 @@\n from setuptools import find_packages\n from setuptools import setup\n \n+import sys\n+\n+\n+if sys.version_info[0] != 2:\n+ # Prevent creating or installing a distribution with Python 3.\n+ raise ValueError("archetypes.multilingual is based on Archetypes, which is Python 2 only.")\n+\n version = \'3.0.9.dev0\'\n \n setup(\n@@ -34,6 +41,7 @@\n namespace_packages=[\'archetypes\'],\n include_package_data=True,\n zip_safe=False,\n+ python_requires=\'==2.7.*\',\n install_requires=[\n \'setuptools\',\n \'Products.ATContentTypes\',\n'
b'diff --git a/news/3330.bugfix b/news/3330.bugfix\nnew file mode 100644\nindex 0000000..a23a636\n--- /dev/null\n+++ b/news/3330.bugfix\n@@ -0,0 +1,2 @@\n+Prevent installation on Python 3, as we know Archetypes does not work there.\n+[maurits]\ndiff --git a/setup.py b/setup.py\nindex 4d350bb..7ff7cad 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -1,6 +1,13 @@\n # -*- coding: utf-8 -*-\n from setuptools import setup, find_packages\n \n+import sys\n+\n+\n+if sys.version_info[0] != 2:\n+ # Prevent creating or installing a distribution with Python 3.\n+ raise ValueError("plone.app.referenceablebehavior is based on Archetypes, which is Python 2 only.")\n+\n version = \'0.7.9.dev0\'\n \n setup(\n@@ -34,6 +41,7 @@\n namespace_packages=[\'plone\', \'plone.app\'],\n include_package_data=True,\n zip_safe=False,\n+ python_requires=\'==2.7.*\',\n install_requires=[\n \'setuptools\',\n \'plone.app.locales >= 4.3.9\',\n'

Repository: archetypes.multilingual
Repository: plone.app.referenceablebehavior


Branch: refs/heads/master
Date: 2021-10-07T12:27:36+02:00
Date: 2021-10-07T12:27:55+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: https://github.com/plone/archetypes.multilingual/commit/06991e4a8ec80bc50698a2ccc6a70975abb1aea9
Commit: https://github.com/plone/plone.app.referenceablebehavior/commit/935d249a9a69ee09811765587919986733909cc1

Merge pull request #33 from plone/prevent-installation-on-py3
Merge pull request #14 from plone/prevent-installation-on-py3

Prevent installation on Py 3, where Archetypes does not work.
Prevent installation on Python 3, where we know Archetypes does not work

Files changed:
A news/3330.bugfix
M setup.cfg
M setup.py

b'diff --git a/news/3330.bugfix b/news/3330.bugfix\nnew file mode 100644\nindex 0000000..a23a636\n--- /dev/null\n+++ b/news/3330.bugfix\n@@ -0,0 +1,2 @@\n+Prevent installation on Python 3, as we know Archetypes does not work there.\n+[maurits]\ndiff --git a/setup.cfg b/setup.cfg\nindex 2a9acf1..809b563 100644\n--- a/setup.cfg\n+++ b/setup.cfg\n@@ -1,2 +1,3 @@\n [bdist_wheel]\n-universal = 1\n+# Py2 only\n+universal = 0\ndiff --git a/setup.py b/setup.py\nindex 24bdc90..4293842 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -2,6 +2,13 @@\n from setuptools import find_packages\n from setuptools import setup\n \n+import sys\n+\n+\n+if sys.version_info[0] != 2:\n+ # Prevent creating or installing a distribution with Python 3.\n+ raise ValueError("archetypes.multilingual is based on Archetypes, which is Python 2 only.")\n+\n version = \'3.0.9.dev0\'\n \n setup(\n@@ -34,6 +41,7 @@\n namespace_packages=[\'archetypes\'],\n include_package_data=True,\n zip_safe=False,\n+ python_requires=\'==2.7.*\',\n install_requires=[\n \'setuptools\',\n \'Products.ATContentTypes\',\n'
b'diff --git a/news/3330.bugfix b/news/3330.bugfix\nnew file mode 100644\nindex 0000000..a23a636\n--- /dev/null\n+++ b/news/3330.bugfix\n@@ -0,0 +1,2 @@\n+Prevent installation on Python 3, as we know Archetypes does not work there.\n+[maurits]\ndiff --git a/setup.py b/setup.py\nindex 4d350bb..7ff7cad 100644\n--- a/setup.py\n+++ b/setup.py\n@@ -1,6 +1,13 @@\n # -*- coding: utf-8 -*-\n from setuptools import setup, find_packages\n \n+import sys\n+\n+\n+if sys.version_info[0] != 2:\n+ # Prevent creating or installing a distribution with Python 3.\n+ raise ValueError("plone.app.referenceablebehavior is based on Archetypes, which is Python 2 only.")\n+\n version = \'0.7.9.dev0\'\n \n setup(\n@@ -34,6 +41,7 @@\n namespace_packages=[\'plone\', \'plone.app\'],\n include_package_data=True,\n zip_safe=False,\n+ python_requires=\'==2.7.*\',\n install_requires=[\n \'setuptools\',\n \'plone.app.locales >= 4.3.9\',\n'

0 comments on commit 4dd2555

Please sign in to comment.