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

Remove tracking url callback hack #1722

Merged
merged 2 commits into from
Jun 20, 2016
Merged

Remove tracking url callback hack #1722

merged 2 commits into from
Jun 20, 2016

Conversation

nilgoyette
Copy link
Contributor

I removed the deprecated tracking_url_callback hack in worker.py and its associated test.

As explained in #1707, the if 'unexpected keyword argument' not in str(ex): doesn't play well with cython, so we agreed that it should be removed.

I ran the fast tests, namely flake8, py27-nonhdfs and visualiser. I also cythonized my application and made sure I can call luigi without problem. I don't know much about luigi, but afaik it's pretty safe.

As requested, I'll add a branch on my github account with my cython test, in case somebody wants to play with it.

tracking_url_callback was deprecated and didn't work with cythonized
projects because cython modify some exception messages.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @daveFNbuck, @riga and @Tarrasch to be potential reviewers

@codecov-io
Copy link

codecov-io commented Jun 16, 2016

Current coverage is 76.14%

Merging #1722 into master will decrease coverage by 2.70%

@@             master      #1722   diff @@
==========================================
  Files            95         95          
  Lines         10358      10346    -12   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           8167       7878   -289   
- Misses         2191       2468   +277   
  Partials          0          0          

Powered by Codecov. Last updated by c049cfa...9cc0a5f

@Tarrasch
Copy link
Contributor

Sounds good to me, @daveFNbuck and @riga, any thoughts?

@daveFNbuck
Copy link
Contributor

It'll break my code, but I guess I've had 2 months to stop using the deprecated run function so I can't complain too much.

@riga
Copy link
Contributor

riga commented Jun 17, 2016

Looks good to me.

@Tarrasch Tarrasch merged commit b8f2e86 into spotify:master Jun 20, 2016
@Tarrasch
Copy link
Contributor

Thanks everyone

p7k pushed a commit to Celmatix/luigi that referenced this pull request Jul 11, 2016
* spotify/master: (25 commits)
  Version 2.2.0
  Add tests for hashing parameters (spotify#1719)
  Update call to iteritems in luigi/tools/deps: deprecated in Python 3 (spotify#1749)
  Reset terminal colors in external_program (spotify#1742)
  Caches get_autoconfig_client on a per-thread basis
  Fix bug with GCSFlagTarget
  Add additional event handlers to tasks (spotify#1698)
  Reduce number of get_params calls in common_params.
  Removes redundant function definitions from rpc and server (spotify#1734)
  Fix salesforce default content type (spotify#1724)
  Rename MockTarget class variable _fn to path
  Remove MockTarget path property
  Deprecated LocalTarget fn propery
  Add note about underscore in parameter names (spotify#1729)
  Remove tracking url callback hack (spotify#1722)
  Consistent Luigi spelling in docs (spotify#1723)
  Update example_top_artists.rst (spotify#1662)
  Add combiner to docstrings in mrrunner
  Add luigi-deps-tree visualising tool (spotify#1680)
  Adding release step for Debian packages. (spotify#1718)
  ...
This was referenced Jun 29, 2022
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.

6 participants