An error occurred fetching the project authors.
  1. 11 Feb, 2022 1 commit
  2. 03 Feb, 2022 1 commit
  3. 14 Jan, 2022 1 commit
  4. 12 Jan, 2022 1 commit
  5. 30 Dec, 2021 1 commit
  6. 20 Dec, 2021 1 commit
    • Kirill Smelkov's avatar
      Move mock pinning into stack/slapos.cfg · a1d30c26
      Kirill Smelkov authored
      Several places pin mock egg individually. There are pins to `mock = 3.0.5`
      and pins to `mock = 2.0.0:whl`. Mock 3.0.5 is the last version that
      supports Python2 and can be considered as "current" in our context today.
      
      For nxdtest we are going to add pytest-mock, which depends on the mock,
      which, if not consolidated, will need to add another `mock = 3.0.5`
      somewhere.
      
      -> Stop doing that and move mock pinning into stack/slapos.cfg.
      This way it will be even easier for upcoming Python3 support, because in
      stack/slapos.cfg we can add per-Python3 [versions] with pins adjusted as
      needed for py3, but all still in one single place.
      
      Leave `mock = 2.0.0:whl` pins intact to be updated when needed by
      maintainers of corresponding software releases:
      
          software/slapos-sr-testing/software.cfg:mock = 2.0.0:whl
          software/slapos-testing/software.cfg:mock = 2.0.0:whl
          software/wendelin/software-kerastensorflow.cfg:mock = 2.0.0:whl
      a1d30c26
  7. 15 Dec, 2021 1 commit
  8. 14 Dec, 2021 1 commit
  9. 12 Dec, 2021 2 commits
  10. 10 Dec, 2021 1 commit
  11. 09 Dec, 2021 1 commit
  12. 08 Dec, 2021 1 commit
  13. 03 Dec, 2021 1 commit
  14. 30 Nov, 2021 1 commit
  15. 11 Nov, 2021 1 commit
  16. 11 Oct, 2021 1 commit
  17. 08 Oct, 2021 1 commit
  18. 04 Oct, 2021 4 commits
  19. 01 Oct, 2021 1 commit
  20. 25 Sep, 2021 1 commit
  21. 15 Sep, 2021 1 commit
  22. 08 Sep, 2021 1 commit
  23. 06 Sep, 2021 1 commit
  24. 23 Aug, 2021 1 commit
  25. 20 Aug, 2021 1 commit
  26. 14 Aug, 2021 1 commit
  27. 13 Aug, 2021 1 commit
  28. 12 Aug, 2021 2 commits
  29. 02 Aug, 2021 1 commit
  30. 29 Jul, 2021 2 commits
    • Łukasz Nowak's avatar
      41af80a5
    • Kirill Smelkov's avatar
      Fix build for zodbtools/pygolang/nxdtest/... tests · 3d6db516
      Kirill Smelkov authored
      Commit 7d1ea024 (version up: zc.buildout 2.7.1+slapos013) switched buildout to
      not use egg wheels, even for wheels that are source-only without any binaries.
      As the result some eggs stopped to install because they setup_require other
      eggs and neither buildout handles setup_requires automatically, nor there is
      explicit setup_require declaration in corresponding components.
      
      An example of such egg is python-dateutil: it setup_requires setuptools-scm,
      and without switching python-dateutil to zc.recipe.egg:custom with
      setup_requires the build fails.
      
      The way 7d1ea024 used to workaround this is to mark all such eggs with :whl
      suffix marking them that "it is ok to use wheel for this particular egg". The
      complete list of eggs for which such markings was done in 7d1ea024 is:
      
          ipykernel
          plantuml
          mock
          PasteScript
          backports.functools-lru-cache
          cliff
          stevedore
          CacheControl
          pytest-runner
          jsonschema
          lockfile
          python-dateutil
      
      However this list is not really complete because after 7d1ea024 the build
      started to fail for e.g. zodbtools test:
      
              Traceback (most recent call last):
                File "<string>", line 10, in <module>
                File "/srv/slapgrid/slappart16/srv/testnode/dfp/soft/c670f74c8de08964f63c4b9f7d48c3d1/eggs/setuptools-44.1.1-py2.7.egg/setuptools/command/easy_install.py", line 2321, in main
                ...
                File "/srv/slapgrid/slappart16/srv/testnode/dfp/soft/c670f74c8de08964f63c4b9f7d48c3d1/eggs/setuptools-44.1.1-py2.7.egg/pkg_resources/__init__.py", line 786, in resolve
                  raise DistributionNotFound(req, requirers)
              pkg_resources.DistributionNotFound: The 'setuptools-scm' distribution was not found and is required by the application
              An error occurred when trying to install pytest 4.6.11. Look above this message for any errors that were output by easy_install.
              While:
                Installing zodbtools-python.
                Base installation request: 'zodbtools[test]'
                  Requirement of zodbtools[test]: mock
                  Requirement of zodbtools[test]: pytz
                  Requirement of zodbtools[test]: freezegun
                  Requirement of zodbtools[test]: pytest
                  Requirement of zodbtools[test]: dateparser
                  Requirement of zodbtools[test]: six
                  Requirement of zodbtools[test]: pygolang>=0.0.0.dev6
                  Requirement of zodbtools[test]: zope.interface
                  Requirement of zodbtools[test]: zodburi
                  Requirement of zodbtools[test]: ZODB
                  Requirement of mock: funcsigs>=1
                  Requirement of mock: six
                  Requirement of freezegun: python-dateutil>=2.7
                Getting distribution for 'pytest==4.6.11'.
              Error: Couldn't install: pytest 4.6.11
      
      and similarly for pygolang and nxdtest tests.
      
      I would be more comfortable if the fix would be to teach buildout to either
      handle setup_requires automatically, or to automatically install wheels if the
      wheel is source-only. However, given the way - that 7d1ea024 started to use
      to handle such situations - let's fix this via explicitly marking pytest, and
      other related eggs that setup_require something and are source-only, as :whl.
      
      NOTE we did not notice the problem earlier because on testnodes, after the
      switch to new buildout, pytest egg was already installed and incremental
      rebuild did not need to reinstall pytest egg. So most of pygolang and zodbtools
      test results remained in "ok" state, and only zodbtools-kirr, that was recently
      reconfigured or changed testnode, indicated this issue. That's why the problem
      remained unnoticed for a long time.
      
      /reviewed-by @jerome
      /reviewed-on nexedi/slapos!1026
      3d6db516
  31. 27 Jul, 2021 1 commit
    • Eric Zheng's avatar
      upgrade to slapos.toolbox version 0.123 · b049c057
      Eric Zheng authored
      This introduces some breaking changes to the check_url_available
      promise:
      
      - http_code has been renamed to http-code
      - check-secure = 1 has been deprecated; http-code = 401 should be used
        instead
      b049c057
  32. 26 Jul, 2021 1 commit
  33. 29 Jun, 2021 1 commit
  34. 21 Jun, 2021 1 commit