Permalink
Commits on Sep 14, 2018
  1. Update unittest

    jssuzanne committed Sep 14, 2018
Commits on Sep 13, 2018
  1. Update unittest

    jssuzanne committed Sep 13, 2018
Commits on Sep 11, 2018
  1. Improve some unit test

    jssuzanne committed Sep 11, 2018
Commits on Sep 10, 2018
  1. Release 0.20.0

    jssuzanne committed Sep 10, 2018
  2. Fix 55 (#57)

    jssuzanne committed Sep 10, 2018
    issue #55: Now, the **auto migration engine** of the Blok is entirely executed between
      ``pre_migration()`` and ``post_migration()``.
  3. Merge pull request #50 from gracinet/SharedDataTestCase

    jssuzanne committed Sep 10, 2018
    SharedDataTestCase
  4. Introducing SharedDataTestCase

    gracinet committed Sep 10, 2018
    This new base class is intended for cases where setting up testing
    data is long and therefore interesting to be shared among test
    cases of a given class.
    
    In principle, this could be merged in BlokTestCase itself: it wouldn't
    harm for the shared data to be actually empty.
    In practice, we've decided with jssuzanne that we wouldn't like to
    impact all existing BlokTestCases right now with potentially subtle
    transactional bugs. Hence, we have a new class for now.
  5. Fix bad import

    jssuzanne committed Sep 10, 2018
  6. Use packaging

    jssuzanne committed Sep 10, 2018
Commits on Sep 7, 2018
  1. Merge branch 'master' of https://github.com/AnyBlok/AnyBlok

    jssuzanne committed Sep 7, 2018
  2. Replace parse_version of setuptools

    jssuzanne committed Sep 7, 2018
    OverWrite the parse_versio to include comparator with string, the goal
    is to do not break the compatibility
  3. Merge pull request #58 from gracinet/warnings

    jssuzanne committed Sep 7, 2018
    Nose tests: display Python warnings
  4. Nose tests: display Python warnings

    gracinet committed Sep 7, 2018
    Most importantly, DeprecationWarnings should be seen during test
    runs. Quoting Python documentation (version 3.5, section 29.5.5):
    
      To programmatically do the same as -Wd, use:
    
      warnings.simplefilter('default')
    
      (...)
    
      Having certain warnings ignored by default is done to prevent a user
      from seeing warnings that are only of interest to the developer.
      (...)
    
      The unittest module has been also updated to use the 'default' filter
      while running tests.
    
    Certainly they had done so in the unittest runner. I couldn't find an
    option for that within Nose.
  5. Revert "Centralised version string in one place"

    gracinet committed Sep 7, 2018
    This reverts commit 24098fc.
    
    In the case of AnyBlok (as compared with anyblok_wms_base) the top level
    import of the anyblok package (i.e., anyblok/__init__.py)
    needs some dependencies to be already there, and therefore does not work on a bare environment
    (detected by Travis CI). It should still be possible to centralize, but that would require
    some non trivial reorganization
  6. Centralised version string in one place

    gracinet committed Sep 7, 2018
    Nowadays, importing it directly from setup seems to work
Commits on Sep 6, 2018
  1. changelog reformulations

    gracinet committed Sep 6, 2018
  2. Added setuptools requirement

    gracinet committed Sep 6, 2018
    While most of the times, AnyBlok will be installed through setuptools,
    that is not guaranteed, yet recent usage of pkg_resources.parse_version()
    now make it necessary.
  3. Update version

    jssuzanne committed Sep 6, 2018
  4. Update travis config

    jssuzanne committed Sep 6, 2018
  5. Improve unit test for config

    jssuzanne committed Sep 6, 2018
  6. Clean

    jssuzanne committed Sep 6, 2018
  7. Update coverage

    jssuzanne committed Sep 6, 2018
  8. Fix #54

    jssuzanne committed Sep 6, 2018
    On the Blok classes the attribute latest_version of the methods
    pre_migration, post_migration and update is now
    pkg_resources.parse_version or None
    
    This commit break the compatiility
Commits on Sep 5, 2018
  1. Fix issue #53

    jssuzanne committed Sep 5, 2018
    The view does not declare foreign keys, during the mapping relationship
    have to declare explicitly primaryjoin. This action is now automatly
    done by the ViewFactory
  2. Update coveragerc

    jssuzanne committed Sep 5, 2018
  3. Add .coveragerc

    jssuzanne committed Sep 5, 2018
  4. Refactor Model type

    jssuzanne committed Sep 5, 2018
    The notion of Model Type by plugins is:
    
    * Hard to understand and implement a new version
    * Complexify the plugin
    * bad naming
    
    This functionnality is replaced by factory class. By default the factory
    used is the anyblok.model.factory.ModelFactory. To define a View the dev must use
    the anyblok.model.factory.ViewFactory
    
    Define a new Factory and share it become more readable and understanding
Commits on Sep 4, 2018
  1. Update travis configuration

    jssuzanne committed Sep 4, 2018
  2. Just test pip install python editor before wheel

    jssuzanne committed Sep 4, 2018