darcs

Issue 1296 2.1.2.2 outdated dependencies

Title 2.1.2.2 outdated dependencies
Priority urgent Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, omega, thorkilnaur, twb
Assigned To
Topics Devel

Created on 2009-01-02.10:10:25 by omega, last changed 2009-10-24.09:09:33 by admin.

Files
File name Uploaded Type Edit Remove
/home/jovdmeer/darcs/darcs-2.1.2.2/darcs.cabal omega, 2009-01-02.10:11:48 text/plain
Messages
msg6952 (view) Author: omega Date: 2009-01-02.10:10:22
Html and Parsec have newer versions, but the dependencies for darcs are listed as "html == 1.0.*" and "parsec == 2.1.*"
Attachments
msg6954 (view) Author: kowey Date: 2009-01-02.16:26:23
Hi Joris,

On Fri, Jan 02, 2009 at 10:10:27 -0000, Joris Vandermeersch wrote:
> Html and Parsec have newer versions, but the dependencies for darcs
> are listed as "html == 1.0.*" and "parsec == 2.1.*"

Thanks for pointing that out!

We're leaving parsec at 2.1 for fear of accidentally changing the way
date parsing (in the Darcs.OldDate module) works, and subtly breaking
darcs for older patches.  The risk is likely very small, on the other
hand.  If people push me hard enough, I might resurrect one of David's
patches which allows building with parsec 3 (after the 2009-01-15
release!).

On the other hand, maybe it would be good to investigate the situation
with the html package
msg7038 (view) Author: twb Date: 2009-01-11.13:47:49
We can quickly get a negative result by loosening the dependency and attempting to
compile and test darcs.  If that doesn't work, code definitely has to be edited.

The process is basically:

	editor darcs.cabal	# loosen dependency
	cabal install 'html >1'	# ...or whatever
	cabal build
	cabal test		# runs the unit tests

Note to use "cabal test" rather than "make test", as make will not use the binary
built by cabal.
msg7047 (view) Author: omega Date: 2009-01-12.08:46:13
I just did that, two tests failed:

> Running binary.sh ...                            failed.
> Probable reason :binary=example_binary.png
> function checkbinary(){
> 	  cmp $binary ../temp1/$binary
> }
> rm -rf temp1 temp2
> mkdir temp1 temp2
> cd temp1
> darcs init
> cp ../$binary .
> cp: cannot stat `../example_binary.png': No such file or directory
> 
> ...
> 
> Running issue709_pending_look-for-adds.sh ...    failed.
> Probable reason :
> . lib
> issue709_pending_look-for-adds.sh: line 4: lib: No such file or directory

I'm not too familiar with the darcs code or the tests, but i presume those
aren't related to parsec or html :)

-joris

On 11/01/09 13:47 -0000, Trent Buck wrote:
> 
> Trent Buck <trentbuck@gmail.com> added the comment:
> 
> We can quickly get a negative result by loosening the dependency and attempting to
> compile and test darcs.  If that doesn't work, code definitely has to be edited.
> 
> The process is basically:
> 
> 	editor darcs.cabal	# loosen dependency
> 	cabal install 'html >1'	# ...or whatever
> 	cabal build
> 	cabal test		# runs the unit tests
> 
> Note to use "cabal test" rather than "make test", as make will not use the binary
> built by cabal.
> 
> ----------
> nosy: +twb
> status: chatting -> need-volunteer
> 
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1296>
> __________________________________
msg7058 (view) Author: twb Date: 2009-01-12.11:01:32
On Mon, Jan 12, 2009 at 08:46:16AM -0000, Joris Vandermeersch wrote:
> I just did that, two tests failed: [...]  I'm not too familiar with
> the darcs code or the tests, but i presume those aren't related to
> parsec or html :)

I agree with that analysis.  Would you care to submit a patch
loosening the dependency in the way you tested?
msg8453 (view) Author: kowey Date: 2009-08-24.12:16:35
Html dependency now at: 1.0.*
Parsec dependency now at: parsec       >= 2.0 && < 3.1
History
Date User Action Args
2009-01-02 10:10:25omegacreate
2009-01-02 10:10:56omegasetfiles: - /home/jovdmeer/darcs/darcs-2.1.2.2/*cabal
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, omega
2009-01-02 10:11:53omegasetfiles: + /home/jovdmeer/darcs/darcs-2.1.2.2/darcs.cabal
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, omega
2009-01-02 16:26:28koweysetstatus: unread -> unknown
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, omega
messages: + msg6954
2009-01-11 13:47:52twbsetstatus: unknown -> needs-reproduction
nosy: + twb
messages: + msg7038
2009-01-12 08:46:16jovdmeersetnosy: + jovdmeer
messages: + msg7047
2009-01-12 11:01:35twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, omega, jovdmeer
messages: + msg7058
2009-08-24 12:16:39koweysetstatus: needs-reproduction -> resolved
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, omega, jovdmeer
topic: + Devel
messages: + msg8453
2009-08-25 17:37:42adminsetnosy: + darcs-devel, - simon
2009-08-27 14:31:46adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, omega, jovdmeer
2009-10-24 09:09:33adminsetnosy: - jovdmeer