Package Details: python-pyramid 2.0.2-1

Git Clone URL: https://aur.archlinux.org/python-pyramid.git (read-only, click to copy)
Package Base: python-pyramid
Description: Open source Python web framework
Upstream URL: https://github.com/Pylons/pyramid
Licenses: custom:RPL
Submitter: ntkoopman
Maintainer: piernov
Last Packager: piernov
Votes: 6
Popularity: 0.000000
First Submitted: 2012-11-19 18:44 (UTC)
Last Updated: 2023-09-22 11:21 (UTC)

Latest Comments

1 2 Next › Last »

carsme commented on 2024-02-16 18:27 (UTC)

I believe PyPI stopped supporting PGP-signatures a while ago and that's why the signature file is missing.

carsme commented on 2024-02-16 18:26 (UTC)

Source URL returns 404:

==> Retrieving sources...
  -> Found python-pyramid-2.0.2.tar.gz
  -> Downloading python-pyramid-2.0.2.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://files.pythonhosted.org/packages/source/p/pyramid/pyramid-2.0.2.tar.gz.asc
    Aborting...

dreieck commented on 2023-05-05 10:20 (UTC)

check() fails for me in tests/test_i18n.py:426 with AttributeError: 'Translations' object has no attribute 'lgettext':

==> Starting check()...
==================================================================== test session starts =====================================================================
platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0
rootdir: /tmp/makepkg/build/python-pyramid/src/pyramid-2.0
configfile: setup.cfg
testpaths: tests
plugins: anyio-3.6.2, libtmux-0.21.1, typeguard-3.0.2, cov-4.0.0, mock-3.10.0, hypothesis-6.72.0
collected 2633 items                                                                                                                                         

tests/test_asset.py ...........                                                                                                                        [  0%]
tests/test_authentication.py ......................................................................................................................... [  5%]
..........................................                                                                                                             [  6%]
tests/test_authorization.py ........................                                                                                                   [  7%]
tests/test_csrf.py ........................................                                                                                            [  9%]
tests/test_decorator.py ....                                                                                                                           [  9%]
tests/test_encode.py ...............                                                                                                                   [  9%]
tests/test_events.py .......................................                                                                                           [ 11%]
tests/test_exceptions.py ...........                                                                                                                   [ 11%]
tests/test_httpexceptions.py ...........................................................                                                               [ 13%]
tests/test_i18n.py ................................F

========================================================================== FAILURES ==========================================================================
______________________________________________________________ TestTranslations.test_ldgettext _______________________________________________________________

self = <tests.test_i18n.TestTranslations testMethod=test_ldgettext>

    def test_ldgettext(self):
        t = self._makeOne()
>       self.assertEqual(t.ldgettext('messages', 'foo'), b'Voh')

tests/test_i18n.py:426: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Translations: "None">, domain = 'messages', message = 'foo'

    def ldgettext(self, domain, message):
        """Like ``lgettext()``, but look the message up in the specified
        domain.
        """
>       return self._domains.get(domain, self).lgettext(message)
E       AttributeError: 'Translations' object has no attribute 'lgettext'

src/pyramid/i18n.py:342: AttributeError
================================================================== short test summary info ===================================================================
FAILED tests/test_i18n.py::TestTranslations::test_ldgettext - AttributeError: 'Translations' object has no attribute 'lgettext'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================== 1 failed, 398 passed, 22 warnings in 12.35s =========================================================
==> ERROR: A failure occurred in check().

Regards!

lmartinez-mirror commented on 2021-07-15 08:14 (UTC)

Updated to 2.0, please let me know if this package works for you.

The-Compiler commented on 2020-12-04 20:49 (UTC)

Disowning as I packaged this for devpi-server which I don't use anymore.

The-Compiler commented on 2017-09-09 22:19 (UTC)

Here are PKGBUILDs for plaster and plaster-pastedeploy: http://paste.the-compiler.org/view/4431b696 http://paste.the-compiler.org/view/6e457066 Feel free to adopt them, I currently avoid to maintain more packages ;-)

The-Compiler commented on 2017-09-09 22:09 (UTC)

1.9 added plaster_pastedeploy as a dependency: https://github.com/Pylons/pyramid/commit/db8aeae4c79b0bec3b8c28f5b060a75e453e1f98 And yet again, things break ;-) Traceback (most recent call last): File "/usr/bin/devpi-server", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3049, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3033, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3062, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 658, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 972, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 858, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'plaster_pastedeploy' distribution was not found and is required by pyramid

masser commented on 2017-03-17 13:28 (UTC)

2The-Compiler, fixed, thanks. Add in AUR python-hupper.

The-Compiler commented on 2017-03-16 06:45 (UTC)

1.8 added hupper as new dependency, so anything requiring pyramid fails: Traceback (most recent call last): File "/usr/bin/devpi-server", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3036, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3020, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3049, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 654, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 854, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'hupper' distribution was not found and is required by pyramid

masser commented on 2014-02-17 05:02 (UTC)

2jlanzobr, fixed, thanks.